Function at 0x405fc0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push ecx
xor edi, edi
add esi, 0xfffffff0
mov dword [esp + 0x68], esp
push esi
mov ebx, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x9c], esi
call fcn.00401910
mov ecx, dword [esp + 0x6c]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebx + 0x108]
add esp, 4
mov dword [esp + 0x3c], ecx
call fcn.00412c60
cmp eax, edi
jne 0x406093
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x406040
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x54]
push ecx
push edx
push eax
call fcn.00403690
mov eax, dword [esp + 0x64]
push eax
call fcn.0041382c
add esp, 0x14
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40606b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fbd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x38]
push 0x425a34
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.00412630
mov edx, dword [0x42dbf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov esi, eax
add esi, 0x10
lea ecx, [esp + 0x80]
mov dword [esp + 0x8c], esi
call fcn.004125d0
push edi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x88]
call fcn.00412790
test eax, eax
je 0x4063b7
lea ecx, [ecx]
push 0x425a28
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a20
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a18
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a10
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a08
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a00
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x48]
call fcn.00412ba0
push 0x4259fc
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.00403410
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.00402f70
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40627a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x42dbf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
lea ecx, [esp + 0x60]
add eax, 0x10
push ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 0xf8], eax
call fcn.00403550
mov edx, dword [esp + 0x78]
push edx
call fcn.00414d10
fstp qword [esp + 0xd4]
mov eax, dword [esp + 0x74]
push eax
call fcn.00414d10
fstp qword [esp + 0xe8]
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00414d10
fstp qword [esp + 0xe4]
mov edx, dword [esp + 0x78]
push edx
call fcn.00414d10
fstp qword [esp + 0xf8]
add esp, 0x10
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xf8]
call fcn.00403550
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00414c81
add esp, 4
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xfc], eax
call fcn.00405f20
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x406350
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406373
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xf0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x88]
call fcn.00412790
test eax, eax
jne 0x4061b0
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
cmp eax, edi
je 0x4063d1
mov dword [esp + 0x80], edi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
mov dword [esp + 0x6c], eax
call fcn.00401910
mov ecx, dword [esp + 0x40]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00412c60
cmp eax, 1
jne 0x406638
push 0x425a34
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00412630
lea ecx, [esp + 0x80]
call fcn.004125d0
push edi
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x88]
call fcn.00412790
test eax, eax
je 0x40661e
lea ebx, [ebx]
push 0x425a28
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a20
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a18
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a10
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a08
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
push 0x425a00
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00412aa0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
call fcn.00412ba0
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x4064e8
cmp dword [esi - 0xc], edi
jl 0x4064e8
push eax
push esi
call fcn.00413f0f
add esp, 8
cmp eax, edi
je 0x4064e8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4065f0
mov edx, dword [0x42dbf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
mov edx, dword [0x42dbf8]
add eax, 0x10
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x42dbf8
call eax
lea ecx, [esp + 0x60]
add eax, 0x10
push ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 0xf8], eax
call fcn.00403550
mov edx, dword [esp + 0x78]
push edx
call fcn.00414d10
fstp qword [esp + 0xd4]
mov eax, dword [esp + 0x74]
push eax
call fcn.00414d10
fstp qword [esp + 0xe8]
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00414d10
fstp qword [esp + 0xe4]
mov edx, dword [esp + 0x78]
push edx
call fcn.00414d10
fstp qword [esp + 0xf8]
add esp, 0x10
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xf8]
call fcn.00403550
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00414c81
add esp, 4
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xfc], eax
call fcn.00405f20
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xf0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x406604
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x88]
call fcn.00412790
test eax, eax
jne 0x406440
mov eax, dword [esp + 0x80]
cmp eax, edi
je 0x406638
mov dword [esp + 0x80], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x42dbf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x42dbf8
call edx
push 0x41
add eax, 0x10
push 0x425978
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
call fcn.00402e30
mov eax, dword [0x42dbf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x42dbf8
call edx
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
add eax, 0x10
cmp ecx, edi
mov dword [esp + 0x3c], eax
jne 0x406684
xor eax, eax
jmp 0x406699
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
mov dword [esp + 0x98], eax
jle 0x406b4e
xor ebx, ebx
jmp 0x4066b8
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4066d3
sub esi, ecx
mov eax, 0x2aaaaaab
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4066dc
call fcn.00413eff
mov ecx, dword [esp + 0x54]
add edi, 1
push edi
lea eax, [esp + 0x40]
push 0x42596c
push eax
lea esi, [ecx + ebx]
call fcn.004035d0
add esp, 0xc
push 0x425964
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xb0]
push 0x425940
push edx
call fcn.004034a0
add esp, 0xc
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00403410
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40677b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x425964
lea ecx, [esi + 0x20]
push ecx
lea edx, [esp + 0xc0]
push 0x425930
push edx
call fcn.004034a0
add esp, 0xc
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00403410
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4067dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esi]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x44]
push 0x425928
push ecx
call fcn.004035d0
add esp, 0x10
push 0x425964
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xd0]
push 0x42591c
push eax
call fcn.004034a0
add esp, 0xc
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.00403410
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40687d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4068a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esi + 8]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x44]
push 0x425928
push ecx
call fcn.004035d0
add esp, 0x10
push 0x425964
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xc4]
push 0x425910
push eax
call fcn.004034a0
add esp, 0xc
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.00403410
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40691e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esi + 0x10]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x44]
push 0x425928
push ecx
call fcn.004035d0
add esp, 0x10
push 0x425964
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xd4]
push 0x425904
push eax
call fcn.004034a0
add esp, 0xc
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.00403410
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xcc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esi + 0x18]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x44]
push 0x425928
push ecx
call fcn.004035d0
add esp, 0x10
push 0x4258fc
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xcc]
push 0x4258f0
push eax
call fcn.004034a0
add esp, 0xc
push eax
lea ecx, [esp + 0xbc]
push ecx
call fcn.00403410
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4258d4
push 0x4258cc
add esi, 0x24
push esi
lea ecx, [esp + 0x88]
push 0x4258b8
push ecx
call fcn.004034a0
add esp, 0xc
push eax
lea edx, [esp + 0x9c]
push edx
call fcn.00403410
add esp, 0xc
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00403410
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00402f70
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406afb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x30
cmp edi, dword [esp + 0x98]
jl 0x4066b0
push 0xf
push 0x425898
lea ecx, [esp + 0x40]
call fcn.00402f70
push 9
push 0x425884
lea ecx, [esp + 0x40]
call fcn.00402f70
mov ecx, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x90], eax
je 0x406de4
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x7c], esi
mov esi, dword [ebx - 0xc]
lea esi, [esi + esi + 2]
push esi
call fcn.004134f9
push esi
mov edi, eax
push 0
push edi
call fcn.00414400
mov edx, dword [ebx - 0xc]
add esp, 0x10
push 0
push 0x425880
push esi
push edi
push edx
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea eax, [esp + 0x80]
push eax
push esi
mov esi, dword [esp + 0x9c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00413a65
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c3b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
je 0x406d50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x406d63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x406d8d
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00403690
mov edx, dword [esp + 0x64]
push edx
call fcn.0041382c
add esp, 0x14
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406db6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x94]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x406f37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x406f4a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x406f74
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00403690
mov edx, dword [esp + 0x64]
push edx
call fcn.0041382c
add esp, 0x14
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x94]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8