Function at 0x64d573
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10059647
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [reloc.MSVCRT.dll___dllonexit]
xor eax, esp
mov dword [esp + reloc.MSVCRT.dll___dllonexit], eax
push ebx
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll___dllonexit]
xor eax, esp
push eax
lea eax, reloc.MSVCRT.dll___dllonexit
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
xor ebx, ebx
push 0x74
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
call fcn.0065723a
add esp, 4
cmp eax, ebx
je 0x64d616
mov dword [eax + 0x10], ebx
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], bl
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ebx
mov byte [eax + 0x1c], bl
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x48], ebx
mov byte [eax + 0x38], bl
mov dword [eax + 0x68], ecx
mov dword [eax + 0x64], ebx
mov byte [eax + 0x54], bl
mov dword [esp + 0x18], eax
jmp 0x64d61a
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
call fcn.006535d3
test eax, eax
jne 0x64df1b
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0066f7e3
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [esp + 0x40], ecx
call fcn.0066b153
mov ecx, dword [ebp + 0x10]
mov eax, esi
mov dword [edi + 0x38], ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x64d673
sub eax, edx
push eax
push esi
lea ecx, [edi + 0x3c]
call fcn.006550e3
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x64d693
mov edx, dword [esp + 0x2c]
sub eax, ecx
push eax
push edx
lea ecx, [edi + 0x58]
call fcn.006550e3
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x84]
mov dword [edi + reloc.MSVCRT.dll___dllonexit], eax
call fcn.0066cf13
sub esp, 0x10
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1006eeb8
call fcn.0066f843
sub esp, 0x10
mov byte [esp + 0x478], 1
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x1006eec4
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
mov edx, dword [edi + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0066f803
sub esp, 0x10
mov byte [esp + 0x478], 2
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eec8
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00670783
sub esp, 0x10
mov byte [esp + 0x478], 3
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eed4
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.0066f843
sub esp, 0x10
mov byte [esp + 0x478], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eee0
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
mov eax, dword [esp + 0x34]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0066f7e3
mov byte [esp + 0x468], 5
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eee8
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
sub esp, 0x10
lea edx, [edi + 0x74]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00670783
sub esp, 0x10
mov byte [esp + 0x478], 6
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eeec
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
call dword [0x1005a050]
test eax, eax
je 0x64d86b
call dword [0x1005a04c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0066f803
mov byte [esp + 0x468], 7
jmp 0x64d882
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.0066f7e3
mov byte [esp + 0x468], 8
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x1006eef0
call fcn.0066f843
lea ecx, [esp + 0xa4]
mov byte [esp + 0x478], bl
call fcn.0066caa3
lea ecx, [esp + 0xac]
call fcn.0066cf13
mov byte [esp + 0x458], 9
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0x64d8cd
mov ecx, dword [eax]
jmp 0x64d8cf
mov ecx, eax
push eax
lea eax, [esp + 0xb0]
mov byte [ecx], bl
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x8c]
call fcn.00653063
test eax, eax
jne 0x64def1
lea ecx, [esp + 0x3c]
push ecx
push 0x1006eef8
lea ecx, [esp + 0xb4]
call fcn.0066aab3
mov ecx, eax
call fcn.006719f3
lea edx, [esp + 0x40]
push edx
lea esi, [edi + 0x94]
mov byte [esp + 0x45c], 0xa
call fcn.006543f3
lea ecx, [edi + 0xa4]
lea eax, [esp + 0x50]
cmp ecx, eax
je 0x64d956
mov eax, dword [ecx + 4]
mov edx, dword [eax]
push eax
push edx
lea edx, [esp + 0x24]
push edx
call fcn.00655c63
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0xa4]
call fcn.00655d23
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xb4], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x458], 9
call fcn.0066ce63
call dword [0x1005a050]
test eax, eax
jne 0x64df9c
push 0x1006eee8
lea ecx, [edi + 0x90]
call fcn.0066aab3
mov edx, dword [eax + 8]
push edx
call fcn.00657909
add esp, 4
push 0x1006ef04
lea ecx, [edi + 0x90]
mov dword [esp + 0x18], eax
call fcn.0066aab3
mov esi, dword [eax + 8]
mov ecx, esi
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xf
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov byte [esp + 0x1d4], bl
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x64d9d3
sub ecx, edx
push ecx
push esi
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006550e3
mov byte [esp + 0x458], 0xb
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
je 0x64df76
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ebx
call dword [0x1005a048]
push eax
call dword [0x1005a1a0]
cmp dword [esp + 0x18], 1
mov esi, eax
jne 0x64dd9b
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x34]
jle 0x64df76
push ebx
call fcn.00657800
add esp, 4
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [esp + 0x24], edx
call fcn.0066f803
lea ecx, reloc.MSVCRT.dll___dllonexit
push ecx
mov ecx, eax
mov byte [esp + 0x45c], 0xc
call fcn.00671693
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x458], 0xe
call fcn.006707d3
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], 0x10
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
jae 0x64da8d
lea eax, reloc.MSVCRT.dll___dllonexit
push 0x1006ef08
push eax
push 0x1006ef18
push 0x1006ef1c
call dword [0x1005a044]
push 0x40
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.0065ef13
add esp, 0xc
push ebx
mov dword [esp + 0x40], 0x44
call fcn.00657800
add esp, 4
push 0x103
mov edi, eax
lea eax, reloc.MSVCRT.dll___dllonexit
push ebx
push eax
mov byte [esp + 0x240], bl
call fcn.0065ef13
add esp, 0xc
push 0x103
lea ecx, reloc.MSVCRT.dll___dllonexit
push ebx
push ecx
mov byte [esp + 0x348], bl
call fcn.0065ef13
add esp, 0xc
lea edx, reloc.MSVCRT.dll___dllonexit
push edx
push 0x104
call dword [0x1005a040]
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], 0x10
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
jae 0x64db2b
lea eax, reloc.MSVCRT.dll___dllonexit
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push edi
push eax
lea edx, reloc.MSVCRT.dll___dllonexit
push edx
lea eax, reloc.MSVCRT.dll___dllonexit
push 0x1006ef24
push eax
call fcn.00657851
add esp, 0x1c
lea ecx, reloc.MSVCRT.dll___dllonexit
push ecx
lea edx, [esp + 0x40]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
push ebx
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
call dword [0x1005a03c]
cmp eax, ebx
jne 0x64dd94
mov dword [esp + 0xd4], reloc.MSVCRT.dll___dllonexit
mov dword [esp + 0xe4], 0x1006f438
mov byte [esp + 0x458], 0xf
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [esp + 0x28], 1
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0x1005cc24
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.0064cf03
lea ecx, [esp + 0xec]
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ecx
push 0x20
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
call fcn.00656593
mov byte [esp + 0x174], al
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
jne 0x64dc2c
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
or eax, 4
push ebx
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.0064cdc3
mov edx, dword [esp + 0xe4]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xe4], 0x1005cc1c
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xd4], 0x1005cc2c
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0x14
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xd4], 0x1005cd4c
lea ecx, [esp + 0xec]
call fcn.006559f3
mov dword [esp + 0xec], 0x1005ccd4
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
lea edx, [esp + 0xe4]
push 0x1006ef44
push edx
mov byte [esp + 0x460], 0x16
call fcn.006569a3
add esp, 8
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
lea ecx, [esp + 0xd8]
call fcn.006546b3
push 0x1006ef68
mov byte [esp + 0x45c], 0x17
call fcn.0065799b
add esp, 4
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e33
push 8
push 0x1006ef70
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x460], 0x18
call fcn.006557a3
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
mov esi, 0x10
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jae 0x64dd25
lea eax, reloc.MSVCRT.dll___dllonexit
push 0x1006ef7c
push eax
call fcn.00657ad1
add esp, 8
mov edi, eax
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jae 0x64dd4c
lea eax, reloc.MSVCRT.dll___dllonexit
mov ecx, dword [esp + reloc.MSVCRT.dll___dllonexit]
push edi
push 1
push ecx
push eax
call fcn.00657c3f
push edi
call fcn.00657d26
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
add esp, 0x14
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jae 0x64dd7d
lea eax, reloc.MSVCRT.dll___dllonexit
push 1
push ebx
push ebx
push eax
push 0x1006ef80
push ebx
call dword [0x1005a19c]
push ebx
call fcn.0065801d
push ebx
call dword [0x1005a038]
push 0x1006ef08
push 0x104
lea edx, reloc.MSVCRT.dll___dllonexit
push edx
push ebx
push 0x1006ef18
push 0x1006ef1c
call dword [0x1005a034]
mov eax, dword [esi + 4]
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00654233
lea ecx, reloc.MSVCRT.dll___dllonexit
push ecx
lea edx, reloc.MSVCRT.dll___dllonexit
push edx
mov byte [esp + 0x460], 0x19
call fcn.00672383
add esp, 8
push 0xffffffffffffffff
mov byte [esp + 0x45c], 0x1a
push ebx
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xf
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov byte [esp + 0x1a8], bl
call fcn.00654ff3
lea eax, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x458], 0x1b
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x64de38
sub eax, edx
push eax
lea ecx, reloc.MSVCRT.dll___dllonexit
push ecx
lea edx, reloc.MSVCRT.dll___dllonexit
push edx
call fcn.0066f583
add esp, 0xc
mov byte [esp + 0x458], 0x1c
mov ecx, dword [esp + reloc.MSVCRT.dll___dllonexit]
mov esi, 0x10
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jae 0x64de7e
lea ecx, reloc.MSVCRT.dll___dllonexit
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jae 0x64de95
lea eax, reloc.MSVCRT.dll___dllonexit
push ecx
push eax
call fcn.006581f6
add esp, 8
test eax, eax
je 0x64df44
mov ecx, dword [esp + 0x28]
push 0x1006ef88
call fcn.00653ea3
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00654283
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, [esp + 0xac]
mov byte [esp + 0x458], bl
call fcn.0066ce63
lea ecx, [esp + 0x84]
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xffffffff
call fcn.0066ce63
or eax, reloc.MSVCRT.dll___dllonexit
mov ecx, dword [esp + reloc.MSVCRT.dll___dllonexit]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll___dllonexit]
xor ecx, esp
call fcn.006571e6
mov esp, ebp
pop ebp
ret 0x20
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00653e73
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00654283
jmp 0x64df7b
mov esi, 0x10
mov byte [esp + 0x458], 9
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], esi
jb 0x64df9c
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
push eax
call fcn.006571f5
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
push 0x1006ef98
lea ecx, [esp + 0xb4]
call fcn.0066aab3
mov ecx, eax
call fcn.006719f3
lea edx, [esp + 0x40]
push edx
lea esi, [edi + 0xbc]
mov byte [esp + 0x45c], 0x1d
call fcn.006543f3
lea esi, [edi + 0xcc]
lea eax, [esp + 0x50]
cmp esi, eax
je 0x64dffe
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00655c63
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00655d23
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x3c]
mov dword [edi + 0xdc], eax
mov byte [esp + 0x458], 9
call fcn.0066ce63
lea ecx, [esp + 0x3c]
push ecx
push 0x1006efa4
lea ecx, [esp + 0xb4]
call fcn.0066aab3
mov ecx, eax
call fcn.006719f3
lea edx, [esp + 0x40]
push edx
lea esi, [edi + 0xe4]
mov byte [esp + 0x45c], 0x1e
call fcn.006543f3
lea esi, [edi + 0xf4]
lea eax, [esp + 0x50]
cmp esi, eax
je 0x64e07b
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00655c63
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00655d23
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x3c]
mov dword [edi + reloc.MSVCRT.dll___dllonexit], eax
mov byte [esp + 0x458], 9
call fcn.0066ce63
lea ecx, [esp + 0x3c]
push ecx
push 0x1006efb0
lea ecx, [esp + 0xb4]
call fcn.0066aab3
mov ecx, eax
call fcn.006719f3
lea edx, [esp + 0x40]
push edx
lea esi, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x45c], 0x1f
call fcn.006543f3
lea esi, reloc.MSVCRT.dll___dllonexit
lea eax, [esp + 0x50]
cmp esi, eax
je 0x64e0f8
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00655c63
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00655d23
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x3c]
mov dword [edi + reloc.MSVCRT.dll___dllonexit], eax
mov byte [esp + 0x458], 9
call fcn.0066ce63
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.00667833
test eax, eax
je 0x64e2b1
lea ecx, reloc.MSVCRT.dll___dllonexit
push ecx
push 0x1006efbc
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.0066aab3
mov ecx, eax
call fcn.006719f3
lea edx, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x458], 0x20
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], 0x1005cde4
call fcn.006542b3
lea eax, reloc.MSVCRT.dll___dllonexit
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x45c], 0x21
call fcn.00655353
mov ecx, dword [esp + reloc.MSVCRT.dll___dllonexit]
mov dword [esp + 0x60], ecx
lea ecx, reloc.MSVCRT.dll___dllonexit
mov byte [esp + 0x458], 0x23
call fcn.0066ce63
push 0x1006efc0
lea ecx, [esp + 0x40]
call fcn.0066aab3
mov esi, dword [eax + 8]
mov ecx, esi
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xf
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov byte [esp + 0x17c], bl
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x64e1d3
sub ecx, edx
push ecx
push esi
lea ecx, reloc.MSVCRT.dll___dllonexit
call fcn.006550e3
push 0x1006efc8
lea ecx, [esp + 0x40]
mov byte [esp + 0x45c], 0x24
call fcn.0066aab3
mov edx, dword [eax + 8]
push edx
call fcn.00657909
add esp, 4
push 0x74
mov edi, eax
call fcn.0065723a
add esp, 4
cmp eax, ebx
je 0x64e225
call fcn.00652be3
mov esi, eax
jmp 0x64e227
xor esi, esi
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], 0x10
mov eax, dword [esp + reloc.MSVCRT.dll___dllonexit]
jae 0x64e23f
lea eax, reloc.MSVCRT.dll___dllonexit
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push eax
mov edx, esi
call fcn.006535d3
test eax, eax
jne 0x64e26d
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.0066f7e3
mov ecx, dword [esp + 0x40]
call fcn.0066b153
cmp dword [esp + reloc.MSVCRT.dll___dllonexit], 0x10
jb 0x64e287
mov edx, dword [esp + reloc.MSVCRT.dll___dllonexit]
push edx
call fcn.006571f5
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xf
mov dword [esp + reloc.MSVCRT.dll___dllonexit], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x458], 9
call fcn.0066ce63
lea ecx, [esp + 0xac]
mov byte [esp + 0x458], bl
call fcn.0066ce63
lea ecx, [esp + 0x84]
mov dword [esp + reloc.MSVCRT.dll___dllonexit], 0xffffffff
call fcn.0066ce63
xor eax, eax
jmp 0x64df1e