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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.00459c01
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x56f78e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x40dd7e
mov eax, 0x57e49e
jmp 0x40dd83
mov eax, 0x57e4a3
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dd9a
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x57e4a7
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40ddd1
mov eax, 0x56f78d
push eax
push 4
mov ebx, 0x45a410
call fcn.00459c13
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40dede
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x57c23c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x57e4a7
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x2c]
call fcn.0040a6fb
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40de3c
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40de4c
push ebx
call fcn.00459bfb
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40de5f
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45aa60
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40de85
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40de99
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x56f78d
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40ded9
push dword [ebp + 0x2c]
call fcn.0040ed44
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ded5
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40def8
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40def4
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40dfa4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 1
push dword [ebp - 8]
mov eax, 5
call fcn.00459c0d
cmp dword [ebp - 0x34], esp
je 0x40df76
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40df89
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40df99
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x40e044
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push 0x57e4f3
mov ecx, 2
call fcn.00401e5e
add esp, 8
mov dword [ebp - 0x2c], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40dfd1
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45b390
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40dff7
push ebx
call fcn.00459bfb
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x56f78d
push dword [ebp - 0x30]
push 3
push dword [ebp - 8]
mov eax, 5
call fcn.00459c0d
cmp dword [ebp - 0x34], esp
je 0x40e02b
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e03e
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e07a
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e070
push 6
call fcn.00459c07
add esp, 4
mov eax, 0x56f78e
jmp 0x40ecb7
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
call fcn.0040ee8a
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.0040f433
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0
push 3
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0xc]
mov eax, 7
call fcn.00459c0d
cmp dword [ebp - 0x44], esp
je 0x40e127
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e13a
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e14a
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e15a
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e1b8
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e18c
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e1ae
push 6
call fcn.00459c07
add esp, 4
mov eax, 0x56f78e
jmp 0x40ecb7
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0x459f40
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x459f40
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40e245
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x459f40
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40e266
mov eax, 0x56f78d
push eax
push 2
mov ebx, 0x45a120
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40e28f
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45a5c0
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e2b5
push ebx
call fcn.00459bfb
add esp, 4
push 0x57e4f9
push dword [ebp - 0x30]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e2e3
push ebx
call fcn.00459bfb
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x40e31d
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x459f40
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x40e348
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x459f40
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.0040f667
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x45a210
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0x57e4ff
push dword [ebp - 0x2c]
push dword [ebp - 4]
push dword [ebp - 0x10]
mov eax, 8
call fcn.00459c0d
cmp dword [ebp - 0x38], esp
je 0x40e3d0
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e3e3
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e3f3
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e403
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40e483
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e435
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e457
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e479
push 6
call fcn.00459c07
add esp, 4
mov eax, 0x56f78e
jmp 0x40ecb7
push 0x56f78d
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40e4d9
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 0x57e5ac
mov ecx, 3
call fcn.00401e5e
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e4d3
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x56f78d
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40e52f
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x57e5b6
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.00401e5e
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e529
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x40e59d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e54e
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45a000
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x56f78d
push dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
mov eax, 9
call fcn.00459c0d
cmp dword [ebp - 0x30], esp
je 0x40e598
push 6
call fcn.00459c07
add esp, 4
jmp 0x40e6b7
mov eax, 0x56f78e
xor ecx, ecx
test eax, eax
je 0x40e5ab
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40e5be
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40e5d5
dec eax
test ecx, ecx
je 0x40e5d5
call fcn.00401807
add esp, 0xc
test eax, eax
jne 0x40e627
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x40e5f5
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45ae20
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e621
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e63c
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45a000
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40e667
mov eax, 0x56f78e
push eax
push 1
mov ebx, 0x45a020
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x40e68f
add eax, 8
push eax
push dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
mov eax, 0xa
call fcn.00459c0d
cmp dword [ebp - 0x34], esp
je 0x40e6b7
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x45b290
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e6f3
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
push 0x400
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e70d
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, 0xb
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e72d
push 6
call fcn.00459c07
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x40e741
jmp 0x40e7b7
push 0x80000301
push 0
push dword [ebp - 0x1c]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40e75e
mov eax, 0x56f78e
push eax
push 2
mov ebx, 0x45b0a0
call fcn.00459c13
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.0040dca6
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e79a
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e7ae
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40e6be
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x45aed0
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e7ee
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push 0x16
push dword [ebp - 0x18]
mov eax, 0xc
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e831
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e853
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e875
push 6
call fcn.00459c07
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
mov eax, 6
call fcn.00459c0d
cmp dword [ebp - 0x2c], esp
je 0x40e897
push 6
call fcn.00459c07
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x57c23c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40e8be
mov eax, 0x56f78d
push eax
push 3
mov ebx, 0x45ac90
call fcn.00459c13
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e8f6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e8f2
imul eax, dword [ebx]
jmp 0x40e8e7
mov ecx, eax
test ecx, ecx
je 0x40e915
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e90e
push ebx
push eax
call fcn.00459bfb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e8fc
call fcn.00459bfb
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x56f78d
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e939
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004074b7
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40ec29
mov ebx, dword [ebp - 0x28]
call fcn.00407497
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40e97b
push 4
call fcn.00459c07
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e98e
push 1
call fcn.00459c07
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], 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 - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e9c9
mov eax, 0x56f78d
push eax
push 4
mov ebx, 0x45a410
call fcn.00459c13
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40ea81
mov ebx, dword [ebp - 0x28]
call fcn.00407497
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ea06
push 4
call fcn.00459c07
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ea19
push 1
call fcn.00459c07
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.0040ed44
mov dword [ebp - 0x30], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ea3f
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45aa60
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ea65
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ea7b
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00407497
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ea9e
push 4
call fcn.00459c07
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eab1
push 1
call fcn.00459c07
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x57e5cb
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40eaec
mov eax, 0x56f78d
push eax
push 4
mov ebx, 0x45a410
call fcn.00459c13
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40ec21
mov ebx, dword [ebp - 0x28]
call fcn.00407497
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40eb29
push 4
call fcn.00459c07
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eb3c
push 1
call fcn.00459c07
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x57e5d6
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x57e5d8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.0040a6fb
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40eb8f
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40eb9f
push ebx
call fcn.00459bfb
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40ebb2
mov eax, 0x56f78d
push eax
push 1
mov ebx, 0x45aa60
call fcn.00459c13
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ebd8
push ebx
call fcn.00459bfb
add esp, 4
push 0x57e5e4
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401e5e
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ec05
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ec1b
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40e950
add esp, 0xc
push 0x56f78d
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40ec7e
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40ec65
push eax
mov ebx, eax
call fcn.00401df3
inc eax
push eax
call fcn.00459c01
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 0x40ec78
push ebx
call fcn.00459bfb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040f856
mov ebx, eax
test ebx, ebx
je 0x40ec98
push ebx
call fcn.00459bfb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40ecb2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00459c01
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40ecb7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ecc8
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ecd8
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ece8
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ecf8
push ebx
call fcn.00459bfb
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ed16
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ed12
imul eax, dword [ebx]
jmp 0x40ed07
mov ecx, eax
test ecx, ecx
je 0x40ed35
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ed2e
push ebx
push eax
call fcn.00459bfb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ed1c
call fcn.00459bfb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54