Function at 0x407513
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push str.g_f0cmd3eatwash1feed0page1storage0
push dword [0x4c5574]
push str.petid
push dword [0x4c5568]
push 0x49a8e1
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__iPhone__U__CPU_OS_4_2_1_like_Mac_OS_X__AppleWebKit_532.9__KHTML__like_Gecko__Version_5.0.3_Mobile_8B5097d_Safari_6531.22.7
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401a5b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4075c1
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4075d1
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4075e1
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4075f1
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407601
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407611
push ebx
call fcn.0040b6d2
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00402f38
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40762d
push ebx
call fcn.0040b6d2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407641
push ebx
call fcn.0040b6d2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x49abda
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.goodid
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004037fb
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407679
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407689
push ebx
call fcn.0040b6d2
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40769d
push ebx
call fcn.0040b6d2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.g_f0cmd3eatwash0feed3goodid
push dword [0x4c5574]
push str.petid
push dword [0x4c5568]
push 0x49a8e1
mov ecx, 6
call fcn.0040106f
add esp, 0x18
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__iPhone__U__CPU_OS_4_2_1_like_Mac_OS_X__AppleWebKit_532.9__KHTML__like_Gecko__Version_5.0.3_Mobile_8B5097d_Safari_6531.22.7
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401a5b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40772d
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40773d
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40774d
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40775d
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40776d
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40777d
push ebx
call fcn.0040b6d2
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00402f38
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407799
push ebx
call fcn.0040b6d2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4077ad
push ebx
call fcn.0040b6d2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x49ac0b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4077e2
mov eax, 0x49a557
push eax
push 4
mov ebx, 0x40bcd0
call fcn.0040b6e4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x407807
jmp 0x407837
push 0
push 0
push 0
push 0x80000301
push 0
push 0x40
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x49ac14
push 3
mov ebx, 0x40cab0
call fcn.0040b6e4
add esp, 0x28
call fcn.00403a4d
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40784c
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40785c
push ebx
call fcn.0040b6d2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40786c
push ebx
call fcn.0040b6d2
add esp, 4
mov esp, ebp
pop ebp
ret