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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00415ce1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00415ce1
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4c2959
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0x10
call fcn.00415ce1
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x14], 0
push 8
call fcn.00415ce1
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x4c2959
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esp
push 0
mov eax, 2
call fcn.00415cf9
cmp dword [ebp - 0x1c], esp
je 0x403605
push 6
call fcn.00415cf3
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x419130
call fcn.00415ce7
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40364a
mov eax, 0x4c2959
jmp 0x4042a7
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40365f
mov eax, 0x4c2961
push eax
push 1
mov ebx, 0x416630
call fcn.00415ce7
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40368b
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4c2961
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004033f0
add esp, 8
cmp eax, 0
jne 0x4036ca
mov eax, 0x4c2b59
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4036c4
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x40375b
cmp dword [ebp + 0x44], 1
jge 0x4036ea
mov dword [ebp + 0x44], 0x3a98
jmp 0x403707
fild dword [ebp + 0x44]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x4c2b5d]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.004010c4
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c2b65
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x4c
push 0x4c2961
push dword [0x4efad4]
call fcn.004033f0
add esp, 8
cmp eax, 0
je 0x40381f
push 0xa0000004
push 0
push 0x4efad4
push 0x80000301
push 0
push 2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x34
push 0x4c2961
push dword [0x4efad8]
call fcn.004033f0
add esp, 8
cmp eax, 0
je 0x40381f
push 0xa0000301
push 0
push 0x4efae0
push 0xa0000004
push 0
push 0x4efadc
push 0xa0000004
push 0
push 0x4efad8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4038b1
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x418f60
call fcn.00415ce7
add esp, 0x34
push 0x4c2961
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004033f0
add esp, 8
cmp eax, 0
jne 0x403907
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.00401684
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403901
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4c2961
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004033f0
add esp, 8
cmp eax, 0
je 0x403960
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c2c60
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403993
mov eax, 0x4c2961
push eax
push 4
mov ebx, 0x4164a0
call fcn.00415ce7
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x403a3e
push dword [ebp + 0x2c]
call fcn.0040438f
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x2c]
call fcn.004044a7
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4039dc
mov eax, 0x4c2961
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4039f0
mov eax, 0x4c2961
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403a29
push ebx
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403a39
push ebx
call fcn.00415ced
add esp, 4
jmp 0x403c3b
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c2c60
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403a65
mov eax, 0x4c2961
push eax
push 3
mov ebx, 0x416d00
call fcn.00415ce7
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403a9d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403a99
imul eax, dword [ebx]
jmp 0x403a8e
mov ecx, eax
test ecx, ecx
je 0x403abc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ab5
push ebx
push eax
call fcn.00415ced
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403aa3
call fcn.00415ced
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004015e0
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x403c38
mov ebx, dword [ebp - 8]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403b04
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b17
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x4c2961
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.004033f0
add esp, 8
cmp eax, 0
je 0x403c30
mov ebx, dword [ebp - 8]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403b57
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b6a
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
call fcn.0040438f
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 8]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403b9a
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403bad
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.004044a7
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x403bd3
mov eax, 0x4c2961
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403be7
mov eax, 0x4c2961
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403c20
push ebx
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403c30
push ebx
call fcn.00415ced
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x403ad9
add esp, 0xc
mov eax, 0x4c2959
xor ecx, ecx
test eax, eax
je 0x403c49
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x403c5c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403c73
dec eax
test ecx, ecx
je 0x403c73
call fcn.0040348d
add esp, 0xc
test eax, eax
jne 0x403cb5
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x28
jmp 0x403d20
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x403cd0
mov eax, 0x4c2959
push eax
push 0x10031
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x418a60
call fcn.00415ce7
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x417eb0
call fcn.00415ce7
add esp, 0x28
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x417e80
call fcn.00415ce7
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x418020
call fcn.00415ce7
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x417fa0
call fcn.00415ce7
add esp, 0x10
call fcn.00415ced
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403dad
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x417dc0
call fcn.00415ce7
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403df8
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c2c60
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x403e25
mov eax, 0x4c2961
push eax
push 3
mov ebx, 0x416d00
call fcn.00415ce7
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403e5d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403e59
imul eax, dword [ebx]
jmp 0x403e4e
mov ecx, eax
test ecx, ecx
je 0x403e7c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403e75
push ebx
push eax
call fcn.00415ced
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403e63
call fcn.00415ced
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x4c2961
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403ea0
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004015e0
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4041de
mov ebx, dword [ebp - 0x18]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403ee2
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403ef5
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x403f30
mov eax, 0x4c2961
push eax
push 4
mov ebx, 0x4164a0
call fcn.00415ce7
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404036
mov ebx, dword [ebp - 0x18]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403f6d
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403f80
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00403539
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x403fcb
mov eax, 0x4c2961
push eax
push 6
mov ebx, 0x416b10
call fcn.00415ce7
add esp, 0x4c
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403ff4
mov eax, 0x4c2961
push eax
push 1
mov ebx, 0x416ad0
call fcn.00415ce7
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40401a
push ebx
call fcn.00415ced
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404030
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x404053
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404066
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Set_Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4040a1
mov eax, 0x4c2961
push eax
push 4
mov ebx, 0x4164a0
call fcn.00415ce7
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4041d6
mov ebx, dword [ebp - 0x18]
call fcn.004015f9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4040de
push 4
call fcn.00415cf3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4040f1
push 1
call fcn.00415cf3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4c2ca0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
call fcn.004045ed
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404144
push ebx
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404154
push ebx
call fcn.00415ced
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404167
mov eax, 0x4c2961
push eax
push 1
mov ebx, 0x416ad0
call fcn.00415ce7
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40418d
push ebx
call fcn.00415ced
add esp, 4
push 0x4c2cae
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401684
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4041ba
push ebx
call fcn.00415ced
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4041d0
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403eb7
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004049db
mov ebx, eax
test ebx, ebx
je 0x4041fb
push ebx
call fcn.00415ced
add esp, 4
push 0x4c2961
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004033f0
add esp, 8
cmp eax, 0
jne 0x40424d
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x404234
push eax
mov ebx, eax
call fcn.00401619
inc eax
push eax
call fcn.00415ce1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404247
push ebx
call fcn.00415ced
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x419030
call fcn.00415ce7
add esp, 0x10
mov dword [ebp - 0x1c], esp
mov eax, 3
call fcn.00415cf9
cmp dword [ebp - 0x1c], esp
je 0x404288
push 6
call fcn.00415cf3
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4042a2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00415ce1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4042a7
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x419030
call fcn.00415ce7
add esp, 0x10
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4042e9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4042e5
imul eax, dword [ebx]
jmp 0x4042da
mov ecx, eax
test ecx, ecx
je 0x404308
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404301
push ebx
push eax
call fcn.00415ced
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4042ef
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x417fa0
call fcn.00415ce7
add esp, 0x10
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404343
push ebx
call fcn.00415ced
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404361
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40435d
imul eax, dword [ebx]
jmp 0x404352
mov ecx, eax
test ecx, ecx
je 0x404380
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404379
push ebx
push eax
call fcn.00415ced
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404367
call fcn.00415ced
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54