Function at 0x10007640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10020085
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xdc]
push edi
mov edi, dword [esp + 0xe4]
mov eax, dword [esi + 8]
mov ebx, ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ecx + edi*4]
lea edx, [eax + ecx*8]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], edx
call fcn.1000dd20
lea eax, [esp + 0x2c]
xor ebp, ebp
push eax
push edi
mov ecx, esi
mov dword [esp + 0xd4], ebp
call fcn.1000c670
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov cl, byte [eax + edi]
mov eax, dword [esp + 0x30]
cmp eax, 0x20
mov dword [esp + 0x44], ecx
ja 0x10007e1b
lea ecx, [esp + 0x78]
call fcn.10008720
lea ecx, [esp + 0xb8]
mov byte [esp + 0xcc], 1
call fcn.10005340
lea edx, [esp + 0x78]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0xd4], 2
call fcn.10008c30
add esp, 8
lea ecx, [esp + 0x78]
call fcn.10004320
test al, al
jne 0x1000771c
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0xcc], 0
push ecx
call sub.MSVCRT.dll_free
add esp, 4
jmp 0x10007e12
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov esi, dword [esi + 0x34]
mov edi, dword [esp + 0xe4]
xor edx, edx
mov byte [esp + 0x17], 1
mov dl, byte [esi + edi]
mov esi, edi
add edx, dword [ecx + esi*4]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, dword [esp + 0xe8]
cmp edx, ebp
je 0x100077ad
mov esi, dword [edx]
mov edx, dword [edx + 4]
cmp edx, eax
jb 0x1000779b
ja 0x1000775c
cmp esi, ecx
jbe 0x1000779d
mov eax, dword [esp + 0xb8]
mov byte [esp + 0xcc], 0
push eax
call sub.MSVCRT.dll_free
add esp, 4
lea ecx, [esp + 0x78]
call fcn.10004960
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10008f50
mov eax, 0x80004005
jmp 0x10008689
cmp esi, ecx
jne 0x100077a8
cmp edx, eax
mov byte [esp + 0x17], 1
je 0x100077ad
mov byte [esp + 0x17], 0
cmp byte [ebx], 0
je 0x100077cb
lea ecx, [ebx + 4]
lea edx, [esp + 0x78]
push ecx
push edx
call fcn.10008d60
add esp, 8
test al, al
jne 0x10007a19
mov eax, dword [ebx + 0x60]
cmp eax, ebp
je 0x100077db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x60], ebp
mov al, byte [ebx + 0x50]
push 0x84
test al, al
je 0x10007874
call fcn.100017f0
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, ebp
mov byte [esp + 0xcc], 3
je 0x10007841
lea edi, [esi + 4]
push ebp
mov ecx, edi
call fcn.100086c0
lea ecx, [esi + 0x6c]
mov byte [esp + 0xcc], 4
mov dword [esi + 0x68], ebp
call fcn.10005340
lea ecx, [esi + 0x78]
mov byte [esp + 0xcc], 5
call fcn.10005340
mov dword [esi], 0x1002184c
mov dword [edi], 0x1002182c
jmp 0x10007843
xor esi, esi
cmp esi, ebp
mov byte [esp + 0xcc], 2
mov dword [ebx + 0x58], esi
je 0x10007858
mov edx, dword [esi]
push esi
call dword [edx + 4]
mov eax, dword [ebx + 0x60]
cmp eax, ebp
je 0x10007865
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x60], esi
mov eax, dword [ebx + 0x58]
cmp eax, ebp
je 0x100078cb
add eax, 4
jmp 0x100078cd
call fcn.100017f0
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebp
mov byte [esp + 0xcc], 6
je 0x10007898
push ebp
mov ecx, eax
call fcn.10004790
mov esi, eax
jmp 0x1000789a
xor esi, esi
cmp esi, ebp
mov byte [esp + 0xcc], 2
mov dword [ebx + 0x54], esi
je 0x100078af
mov edx, dword [esi]
push esi
call dword [edx + 4]
mov eax, dword [ebx + 0x60]
cmp eax, ebp
je 0x100078bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x60], esi
mov eax, dword [ebx + 0x54]
cmp eax, ebp
je 0x100078cb
add eax, 4
jmp 0x100078cd
xor eax, eax
mov ecx, eax
mov dword [ebx + 0x5c], eax
lea eax, [esp + 0x78]
mov edx, dword [ecx]
push eax
call dword [edx]
mov esi, eax
cmp esi, ebp
je 0x100078ee
mov ecx, dword [esp + 0xb8]
push ecx
jmp 0x10007f7b
cmp dword [esp + 0x30], ebp
jbe 0x100079f7
xor ebx, ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + edx]
lea esi, [ebx + edx]
xor al, al
mov ecx, dword [esi + 4]
cmp eax, 0x40300
jne 0x10007918
test ecx, ecx
je 0x100076ff
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0xdc], 7
call fcn.10001c20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10007d49
mov esi, dword [esi + 0x10]
cmp esi, 1
jne 0x10007998
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x100079ae
lea ecx, [esp + 0x60]
mov byte [esp + 0xcc], 9
call fcn.10009010
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
call fcn.10009010
mov eax, dword [esp + 0xb8]
mov byte [esp + 0xcc], 0
push eax
call sub.MSVCRT.dll_free
add esp, 4
jmp 0x10007e12
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10007d88
cmp dword [esp + 0x68], esi
jne 0x10007d88
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [ecx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x60]
mov byte [esp + 0xcc], 0xb
call fcn.10009010
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
call fcn.10009010
mov eax, dword [esp + 0x30]
inc ebp
add ebx, 0x18
cmp ebp, eax
jb 0x100078fa
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
lea esi, [ebx + 4]
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.10008760
lea eax, [esp + 0xb8]
lea ecx, [esi + 0x40]
push eax
call fcn.10006da0
mov byte [ebx], 1
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov dword [esp + 0x74], eax
jbe 0x10007eec
lea edx, [eax*8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [ecx + eax]
mov ecx, dword [edx + 0x5c]
mov dword [esp + 0x54], edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [eax]
test ecx, ecx
mov ebx, ecx
jne 0x10007a87
mov ebx, dword [eax + 4]
mov dword [esp + 0x10], 0
mov ecx, dword [ebx]
lea edx, [esp + 0x10]
push edx
push 0x10021488
push ebx
mov byte [esp + 0xd8], 0xc
call dword [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007adf
mov edx, dword [edi + 0xc]
cmp edx, 0xffffffff
ja 0x10007faf
mov ecx, dword [edi + 8]
mov esi, dword [eax]
push edx
push ecx
push eax
call dword [esi + 0xc]
mov esi, eax
cmp esi, 0x80070057
je 0x10007f58
test esi, esi
jne 0x10007f5d
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xcc], 2
je 0x10007af1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x108]
test al, al
je 0x10007b51
mov dword [esp + 0x10], 0
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0x100214b8
push ebx
mov byte [esp + 0xd8], 0xd
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007b3f
mov edx, dword [esp + 0x10c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x10007f61
test eax, eax
mov byte [esp + 0xcc], 2
je 0x10007b51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0x10021598
push ebx
mov byte [esp + 0xd8], 0xe
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007c58
mov ecx, dword [esp + 0xfc]
mov byte [ecx], 1
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x10007faf
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
mov byte [esp + 0xd4], 0xf
call dword [edx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x10007fda
mov edx, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
mov byte [edx], 1
mov eax, dword [esi]
mov dword [esi + 4], edi
mov word [eax], di
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10007be6
push eax
mov ecx, esi
call fcn.10001790
mov edi, dword [esi + 4]
lea ebp, [edi + edi]
push ebp
call fcn.100017f0
mov esi, eax
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
xor eax, eax
mov byte [esp + 0xcc], 0x10
test edi, edi
jbe 0x10007c22
mov ecx, dword [esp + 0x18]
xor edx, edx
mov cx, word [ecx + eax*2]
mov dl, ch
mov byte [esi + eax*2], cl
mov byte [esi + eax*2 + 1], dl
inc eax
cmp eax, edi
jb 0x10007c0a
mov eax, dword [esp + 0x10]
push ebp
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push esi
mov edi, eax
call sub.MSVCRT.dll_free
add esp, 4
test edi, edi
jne 0x10007ff0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x70]
test eax, eax
mov byte [esp + 0xcc], 2
je 0x10007c6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0x100214c8
push ebx
mov byte [esp + 0xd8], 0x11
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007cb1
mov bl, byte [esp + 0x17]
mov ecx, dword [eax]
xor edx, edx
test bl, bl
setne dl
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x10007f61
test eax, eax
mov byte [esp + 0xcc], 2
je 0x10007cc3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [edi + 0x10]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x10], edi
je 0x10007ce8
lea edx, [ebx*8]
push edx
call fcn.100017f0
add esp, 4
mov dword [esp + 0x10], eax
cmp ebx, edi
mov byte [esp + 0xcc], 0x12
mov dword [esp + 0x50], edi
je 0x10007d0e
lea eax, [ebx*4]
push eax
call fcn.100017f0
mov edi, eax
add esp, 4
mov dword [esp + 0x50], edi
xor esi, esi
mov byte [esp + 0xcc], 0x13
test ebx, ebx
jbe 0x10007e77
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
jbe 0x10007dd2
mov edx, dword [esp + 0x34]
cmp dword [edx + eax*8], ebp
je 0x10007daf
inc eax
cmp eax, ecx
jb 0x10007d3a
jmp 0x10007dd2
lea ecx, [esp + 0x60]
mov byte [esp + 0xcc], 8
call fcn.10009010
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
call fcn.10009010
mov edx, dword [esp + 0xb8]
mov byte [esp + 0xcc], 0
push edx
call sub.MSVCRT.dll_free
add esp, 4
jmp 0x10008423
lea ecx, [esp + 0x60]
mov byte [esp + 0xcc], 0xa
call fcn.10009010
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
call fcn.10009010
jmp 0x100076ff
test eax, eax
jl 0x10007dd2
mov ecx, dword [esp + 0xe0]
mov edx, dword [edx + eax*8 + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [ecx + 0x28]
add edx, eax
lea eax, [ecx + edx*8]
mov dword [edi + esi*4], eax
jmp 0x10007e5e
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
jbe 0x10007dea
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + eax*4], ebp
je 0x10007e39
inc eax
cmp eax, edx
jb 0x10007de0
push edi
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0xc0]
mov byte [esp + 0xd4], 0
push ecx
call sub.MSVCRT.dll_free
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.10004960
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10008f50
mov eax, 0x80004001
jmp 0x10008689
test eax, eax
jl 0x10007dea
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + eax*8 + 8]
mov ebp, dword [ecx + eax*8]
sub edx, ebp
mov ebp, dword [ecx + eax*8 + 0xc]
sbb ebp, dword [ecx + eax*8 + 4]
mov dword [ebx], edx
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x6c]
mov dword [edi + esi*4], ebx
mov eax, dword [esp + 0x4c]
inc esi
add ebx, 8
inc ebp
cmp esi, eax
mov dword [esp + 0x6c], ebp
jb 0x10007d28
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x10007e8b
cmp ebp, dword [esp + 0x9c]
je 0x10007e9b
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x28]
add eax, ecx
mov edx, dword [esp + 0x1c]
push edi
push eax
push ebp
mov ecx, dword [edx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x14]
push edi
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x14]
mov byte [esp + 0xd0], 2
push eax
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
add esp, 8
inc ebp
add edx, 8
add ecx, 0x18
cmp ebp, eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
jb 0x10007a60
mov eax, dword [esp + 0xec]
xor edi, edi
cmp eax, edi
je 0x10007f0f
mov edx, dword [esp + 0x1c]
mov bl, byte [esp + 0x17]
test bl, bl
mov ecx, dword [edx + 0x5c]
sete dl
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push 0x30
mov byte [esp + 0xd0], 0x14
call fcn.100017f0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x1000801a
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
call fcn.100179c0
add esp, 4
mov dword [esi], 0x10021820
mov ebp, esi
jmp 0x1000801c
mov esi, 0x80004001
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xcc], 2
je 0x10007f73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0xb8]
push edx
mov byte [esp + 0xd0], 0
call sub.MSVCRT.dll_free
add esp, 4
lea ecx, [esp + 0x78]
call fcn.10004960
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10008f50
mov eax, esi
jmp 0x10008689
mov ecx, dword [eax]
push eax
mov byte [esp + 0xd0], 2
call dword [ecx + 8]
mov edx, dword [esp + 0xb8]
mov byte [esp + 0xcc], 0
push edx
call sub.MSVCRT.dll_free
add esp, 4
jmp 0x10007e12
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, edi
jmp 0x10007f63
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov byte [esp + 0xcc], 2
test eax, eax
je 0x10007d6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10007d6b
xor ebp, ebp
test ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], ebp
je 0x1000802f
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xd4]
cmp eax, 1
mov byte [esp + 0xcc], 0x15
mov byte [esp + 0x17], 0
jbe 0x1000813d
mov eax, dword [esp + 0x48]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [esp + 0xdc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [esi]
add edx, edi
mov edi, dword [esp + 0xe0]
push 0
adc edi, ebx
push edi
push edx
push esi
call dword [ecx + 0x10]
mov ebx, eax
test ebx, ebx
je 0x1000810a
test ebp, ebp
mov byte [esp + 0xcc], 0x14
je 0x10008096
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov edi, dword [esp + 0x24]
mov byte [esp + 0xcc], 0x16
test edi, edi
je 0x100080c6
mov ecx, dword [esp + 0x20]
dec edi
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x100080c2
mov ecx, esi
call fcn.10009010
push esi
call sub.MSVCRT.dll_free
add esp, 4
test edi, edi
jne 0x100080a6
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xbc]
mov byte [esp + 0xd0], 0
push eax
call sub.MSVCRT.dll_free
add esp, 8
lea ecx, [esp + 0x78]
call fcn.10004960
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10008f50
jmp 0x10008687
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000811d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [ebp + 8], esi
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx + 0x60]
push edx
call fcn.100046e0
test al, al
mov eax, dword [esp + 0x40]
je 0x1000813d
mov byte [esp + 0x17], 1
xor ebx, ebx
test eax, eax
jbe 0x100082f1
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], 0
mov esi, dword [ebp + ebx*8]
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
add esi, edi
mov edi, dword [ebp + ebx*8 + 4]
mov byte [esp + 0xcc], 0x17
adc edi, edx
cmp eax, 1
jne 0x100081aa
mov eax, dword [esp + 0xd4]
push 0
push 0
push edi
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jne 0x100083bb
mov esi, dword [esp + 0xd4]
push esi
mov edx, dword [esi]
call dword [edx + 4]
mov dword [esp + 0x10], esi
jmp 0x10008225
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 0x50]
test cl, cl
jne 0x100081df
mov al, byte [esp + 0x17]
test al, al
jne 0x100081df
push 0x20
call fcn.100017f0
add esp, 4
test eax, eax
je 0x100081db
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], 0x10021810
jmp 0x100081fb
xor ebp, ebp
jmp 0x10008203
push 0x20
call fcn.100017f0
add esp, 4
test eax, eax
je 0x100081db
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], 0x10021800
mov ecx, dword [eax]
push eax
mov ebp, eax
call dword [ecx + 4]
mov edx, dword [esp + 0x18]
lea ecx, [ebp + 0x18]
push edx
mov dword [esp + 0x14], ebp
call fcn.10008f90
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], eax
mov ebp, dword [esp + 0x48]
push 0x28
call fcn.100017f0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x10008245
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], 0x100217f0
mov esi, eax
jmp 0x10008247
xor esi, esi
push 4
call fcn.100017f0
add esp, 4
cmp eax, edi
je 0x1000825f
mov dword [eax], 0
mov edi, eax
jmp 0x10008261
xor edi, edi
lea ecx, [esp + 0x20]
call fcn.10001300
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [edx + ecx*4], edi
mov ecx, dword [esp + 0x24]
inc ecx
test esi, esi
mov dword [esp + 0x24], ecx
je 0x10008288
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x10008294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x10]
lea ecx, [esi + 8]
push edx
mov dword [edi], esi
call fcn.10008f90
mov eax, dword [ebp + ebx*8 + 8]
mov edi, dword [ebp + ebx*8]
mov ecx, dword [ebp + ebx*8 + 0xc]
mov edx, dword [ebp + ebx*8 + 4]
sub eax, edi
mov byte [esp + 0xcc], 0x15
sbb ecx, edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
je 0x100082e0
mov eax, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
inc ebx
cmp ebx, eax
jb 0x1000814b
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
xor edi, edi
test esi, esi
mov dword [esp + 0x4c], edi
je 0x10008315
lea eax, [esi*4]
push eax
call fcn.100017f0
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
xor eax, eax
mov byte [esp + 0xcc], 0x19
test esi, esi
jbe 0x10008336
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, esi
mov ecx, dword [ecx + eax*4 - 4]
mov ecx, dword [ecx]
mov dword [edi + eax*4 - 4], ecx
jb 0x10008323
mov eax, dword [esp + 0xec]
test eax, eax
je 0x10008580
xor esi, esi
mov dword [esp + 0x74], esi
mov ebx, dword [esp + 0xf0]
mov byte [esp + 0xcc], 0x1a
test ebx, ebx
je 0x10008463
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x5c]
mov eax, dword [ecx + 0x60]
push eax
call fcn.10004690
test al, al
jne 0x1000845f
push 0xc
call fcn.100017f0
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
mov byte [esp + 0xcc], 0x1b
je 0x10008447
mov dword [esi], 0x100217e0
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov dword [esi], 0x100217d0
jmp 0x10008449
mov eax, dword [esp + 0x18]
mov byte [esp + 0xcc], 0x14
test eax, eax
je 0x100083d1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebx, dword [esp + 0x24]
mov byte [esp + 0xcc], 0x18
test ebx, ebx
je 0x10008401
mov eax, dword [esp + 0x20]
dec ebx
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x100083fd
mov ecx, esi
call fcn.10009010
push esi
call sub.MSVCRT.dll_free
add esp, 4
test ebx, ebx
jne 0x100083e1
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0xbc]
mov byte [esp + 0xd0], 0
push edx
call sub.MSVCRT.dll_free
add esp, 8
lea ecx, [esp + 0x78]
call fcn.10004960
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.10008f50
mov eax, edi
jmp 0x10008689
xor esi, esi
test esi, esi
mov byte [esp + 0xcc], 0x1a
je 0x1000845b
mov edx, dword [esi]
push esi
call dword [edx + 4]
mov dword [esp + 0x74], esi
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x50], eax
mov eax, esi
test esi, esi
jne 0x10008476
mov eax, ebx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
mov ecx, dword [ecx + 0x5c]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x18]
test esi, esi
mov ebx, eax
mov byte [esp + 0xcc], 0x19
je 0x1000849d
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push edi
call sub.MSVCRT.dll_free
add esp, 4
mov byte [esp + 0xcc], 0x14
test ebp, ebp
je 0x100084b9
mov edx, dword [ebp]
push ebp
call dword [edx + 8]
mov edi, dword [esp + 0x24]
mov byte [esp + 0xcc], 0x1c
test edi, edi
je 0x100084ee
mov eax, dword [esp + 0x20]
dec edi
mov esi, dword [eax + edi*4]
test esi, esi
je 0x100084ea
mov eax, dword [esi]
test eax, eax
je 0x100084e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call sub.MSVCRT.dll_free
add esp, 4
test edi, edi
jne 0x100084c9
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xbc]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0xb4]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0xac]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xa0]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x98]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0x90]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x58]
mov dword [esp + 0xe8], 0xffffffff
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x50]
add esp, 0x24
test ecx, ecx
je 0x10008687
push 3
call fcn.10009020
jmp 0x10008687
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x1c]
push edx
push edi
mov ecx, dword [eax + 0x54]
call fcn.10006140
push edi
mov ebx, eax
call sub.MSVCRT.dll_free
add esp, 4
mov byte [esp + 0xcc], 0x14
test ebp, ebp
je 0x100085b3
mov ecx, dword [ebp]
push ebp
call dword [ecx + 8]
mov edi, dword [esp + 0x24]
mov byte [esp + 0xcc], 0x1d
test edi, edi
je 0x100085e8
mov edx, dword [esp + 0x20]
dec edi
mov esi, dword [edx + edi*4]
test esi, esi
je 0x100085e4
mov eax, dword [esi]
test eax, eax
je 0x100085db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call sub.MSVCRT.dll_free
add esp, 4
test edi, edi
jne 0x100085c3
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xbc]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0xb4]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0xac]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xa0]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x98]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [esp + 0x90]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x58]
mov dword [esp + 0xe8], 0xffffffff
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x50]
add esp, 0x24
test eax, eax
je 0x10008687
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.10009080
push edx
push 0x18
push eax
call fcn.1001f49f
push esi
call sub.MSVCRT.dll_free
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 0x3c