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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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
push 8
call fcn.0040d754
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4cdf41
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x475270
call fcn.0040d778
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401bca
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4cdb69
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00402d3a
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c0e
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401c22
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4cdb69
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00402efd
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c66
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401c7a
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.004030c9
mov dword [ebp - 0x28], eax
push 2
call fcn.00403411
mov dword [ebp - 0x2c], eax
push str.g_tk1525215620g_tyls
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push str.http:__wq.jd.com_activetmp_fudai_getfudai_callGetFudaiCallbackactivexingnanjie_t
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401cc3
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401cd3
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401ce7
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.0.1_NetType_WIFI
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00403511
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401d7c
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401d8c
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401d9c
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401dac
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401dbc
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401dcc
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401ddc
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401df0
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.You_have_got_a_package
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401e25
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401ec2
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cdcb0
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401ea4
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401ebd
push ebx
call fcn.0040d766
add esp, 4
jmp 0x401fb7
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cdcc8
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401f21
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401f3a
push ebx
call fcn.0040d766
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.___ret
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.id_:_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406310
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401f86
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401f96
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401faa
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004064ac
mov dword [ebp - 0x18], 0
push 0xffffffffffffffff
push 8
push 0x16018c3f
push 0x52010001
call fcn.0040d77e
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cdb54
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401ffc
mov eax, 0x4afb38
push eax
push 3
mov ebx, 0x40e610
call fcn.0040d76c
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402022
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402044
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402040
imul eax, dword [ebx]
jmp 0x402035
mov ecx, eax
test ecx, ecx
je 0x402063
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40205c
push ebx
push eax
call fcn.0040d766
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40204a
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401b02
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.0040144d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x402c75
mov ebx, dword [ebp - 0x1c]
call fcn.00401474
push ebx
push ecx
fild dword [ebp - 0x20]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040144d
dec eax
jns 0x4020f7
push 4
call fcn.0040d75a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40210a
push 1
call fcn.0040d75a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
call fcn.004030c9
mov dword [ebp - 0x4c], eax
push 1
call fcn.00403411
mov dword [ebp - 0x50], eax
push str.g_tyls
push dword [ebp - 8]
push 0x4cdcef
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push str.activexingnanjie_t
mov ebx, dword [ebp - 0x48]
push dword [ebx]
push str.http:__wq.jd.com_activetmp_fudai_queryfudai_callQueryFuDaiCallbackhbid
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402169
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402179
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40218d
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.0.1_NetType_WIFI
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.0040652c
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402222
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x402232
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402242
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402252
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402262
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402272
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402282
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402296
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4cdd57
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.uin_:_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406310
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4022e6
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4022f6
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40230a
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401474
push ebx
push ecx
fild dword [ebp - 0x20]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040144d
dec eax
jns 0x402351
push 4
call fcn.0040d75a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402364
push 1
call fcn.0040d75a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
push str.g_tyls
push dword [ebp - 8]
push str.exthj:w_t0.54581568390131g_tk
push dword [ebp - 0x24]
push str.suin
mov ebx, dword [ebp - 0x48]
push dword [ebx]
push str.http:__wq.jd.com_activetmp_fudai_openfudai_callOpenFudaiCallbackactivexingnanjiehbid
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4023af
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.0.1_NetType_WIFI
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.0040652c
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402444
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x402454
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402464
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402474
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402484
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402494
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4024a4
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4024b8
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cdde6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4024ed
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x402690
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cddef
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40256c
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402585
push ebx
call fcn.0040d766
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.___ret
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.id_:_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406310
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4025d1
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4025e1
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4025f5
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004064ac
lea eax, [ebp - 0x1c]
push eax
push 4
mov eax, 2
call fcn.0040d74e
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
call fcn.00401474
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x2c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402645
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x2c]
call fcn.0040d772
add esp, 8
mov dword [ebp - 0x1c], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x28]
push edi
test eax, eax
je 0x402688
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0040d754
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
jmp 0x402c4f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cddfe
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4026c1
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40289f
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.___awardmsg
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.awardcode_:_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406310
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40272d
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40273d
push ebx
call fcn.0040d766
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402751
push ebx
call fcn.0040d766
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x10]
push 0x4cde1a
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4027b7
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4027d0
push ebx
call fcn.0040d766
add esp, 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x475270
call fcn.0040d778
add esp, 0x28
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
push 0x4cdb69
push dword [ebp - 0x28]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40283a
push ebx
call fcn.0040d766
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40284d
mov eax, 0x4afb38
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x475460
call fcn.0040d778
add esp, 0x34
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40289a
push ebx
call fcn.0040d766
add esp, 4
jmp 0x402c4f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cde1f
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4028d0
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40296d
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cde46
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40294f
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402968
push ebx
call fcn.0040d766
add esp, 4
jmp 0x402c4f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cde73
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40299e
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x402a3b
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cde7e
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402a1d
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402a36
push ebx
call fcn.0040d766
add esp, 4
jmp 0x402c4f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cde8d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402a6c
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x402b09
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cdec4
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402aeb
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402b04
push ebx
call fcn.0040d766
add esp, 4
jmp 0x402c4f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cdeff
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402b3a
mov eax, 0x4afb38
push eax
push 4
mov ebx, 0x40df10
call fcn.0040d76c
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x402bd7
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cdf0c
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402bb9
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402bd2
push ebx
call fcn.0040d766
add esp, 4
jmp 0x402c4f
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdb4c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x40ebc0
call fcn.0040d76c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4cdf1d
push dword [ebp - 0x38]
push 0x4cdcc5
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402c36
push ebx
call fcn.0040d766
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0040170b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402c4f
push ebx
call fcn.0040d766
add esp, 4
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x410000
call fcn.0040d76c
add esp, 0x10
pop eax
pop ebx
pop ecx
jmp 0x4020a6
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
call fcn.00401b02
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2c], eax
jg 0x401fbe
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c9f
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402caf
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402cbf
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402ccf
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402cdf
push ebx
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402cfd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402cf9
imul eax, dword [ebx]
jmp 0x402cee
mov ecx, eax
test ecx, ecx
je 0x402d1c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402d15
push ebx
push eax
call fcn.0040d766
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402d03
call fcn.0040d766
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402d34
push ebx
call fcn.0040d766
add esp, 4
mov esp, ebp
pop ebp
ret 4