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

Disassembly:
push 0xffffffffffffffff
push 0x10020d30
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x31c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x32c]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
mov dword [esp + 0x324], ebx
push 2
push 0x10024c04
lea ecx, [esp + 0x180]
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
call fcn.10001780
mov byte [esp + 0x324], 1
push 2
push 0x10024c08
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.10001780
mov ecx, ebp
mov byte [esp + 0x324], 2
mov dword [esp + 0x14], ebx
call fcn.1000aa80
test eax, eax
jbe 0x1000927a
mov dword [esp + 0x18], ebx
lea esp, [esp]
push 0x3f
lea eax, [esp + 0x1d1]
push ebx
push eax
mov byte [esp + 0x1d8], bl
call fcn.1000f430
mov esi, dword [ebp + 4]
add esp, 0xc
cmp esi, ebx
je 0x1000930b
mov edi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov eax, 0x6e5478ad
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esp + 0x14]
jbe 0x1000930b
cmp esi, edi
jbe 0x10008d20
call fcn.1000e205
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], esi
add esi, ecx
cmp esi, dword [ebp + 8]
ja 0x10008d34
cmp esi, dword [ebp + 4]
jae 0x10008d39
call fcn.1000e205
cmp esi, dword [ebp + 8]
jb 0x10008d43
call fcn.1000e205
mov edx, dword [esi]
push edx
push 0x10024c0c
lea eax, [esp + 0x1d4]
push 0x3f
push eax
call fcn.1000e3d6
mov esi, dword [ebp + 4]
add esp, 0x10
cmp esi, ebx
je 0x1000930b
mov edi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov eax, 0x6e5478ad
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esp + 0x14]
jbe 0x1000930b
cmp esi, edi
jbe 0x10008d93
call fcn.1000e205
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], esi
add esi, ecx
cmp esi, dword [ebp + 8]
ja 0x10008da7
cmp esi, dword [ebp + 4]
jae 0x10008dac
call fcn.1000e205
cmp esi, dword [ebp + 8]
jb 0x10008db6
call fcn.1000e205
add esi, 0x484
mov eax, esi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008de0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.10001780
mov byte [esp + 0x324], 3
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x1000930b
mov edi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov eax, 0x6e5478ad
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esp + 0x14]
jbe 0x1000930b
cmp esi, edi
jbe 0x10008e37
call fcn.1000e205
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], esi
add esi, edx
cmp esi, dword [ebp + 8]
ja 0x10008e4b
cmp esi, dword [ebp + 4]
jae 0x10008e50
call fcn.1000e205
cmp esi, dword [ebp + 8]
jb 0x10008e5a
call fcn.1000e205
add esi, 0x84
mov eax, esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008e75
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.10001780
mov byte [esp + 0x324], 4
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x1000930b
mov edi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov eax, 0x6e5478ad
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esp + 0x14]
jbe 0x1000930b
cmp esi, edi
jbe 0x10008ec9
call fcn.1000e205
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
add esi, eax
cmp esi, dword [ebp + 8]
ja 0x10008edd
cmp esi, dword [ebp + 4]
jae 0x10008ee2
call fcn.1000e205
cmp esi, dword [ebp + 8]
jb 0x10008eec
call fcn.1000e205
add esi, 4
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008f04
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.10001780
mov byte [esp + 0x324], 5
lea eax, [esp + 0x1cc]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008f40
sub eax, esi
push eax
lea ecx, [esp + 0x1d0]
push ecx
lea ecx, [esp + 0x4c]
call fcn.10001780
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x48]
push eax
lea edi, [esp + 0x148]
mov byte [esp + 0x32c], 6
call fcn.10007880
lea ecx, [esp + 0x30]
push ecx
push eax
lea edi, [esp + 0x118]
mov byte [esp + 0x334], 7
call fcn.10007880
lea edx, [esp + 0x188]
push edx
push eax
lea edi, [esp + 0x174]
mov byte [esp + 0x33c], 8
call fcn.10007880
lea ecx, [esp + 0x78]
push ecx
push eax
lea edi, [esp + 0x144]
mov byte [esp + 0x344], 9
call fcn.10007880
lea edx, [esp + 0x198]
push edx
push eax
lea edi, [esp + 0xc0]
mov byte [esp + 0x34c], 0xa
call fcn.10007880
lea ecx, [esp + 0xa4]
push ecx
push eax
lea edi, [esp + 0x100]
mov byte [esp + 0x354], 0xb
call fcn.10007880
lea edx, [esp + 0x1a8]
push edx
push eax
lea edi, [esp + 0xec]
mov byte [esp + 0x35c], 0xc
call fcn.10007880
lea ecx, [esp + 0x1cc]
push ecx
push eax
lea edi, [esp + 0x12c]
mov byte [esp + 0x364], 0xd
call fcn.10007880
add esp, 0x40
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x1b8]
mov byte [esp + 0x32c], 0xe
call fcn.10001690
cmp dword [esp + 0x104], 0x10
jb 0x10009079
mov edx, dword [esp + 0xf0]
push edx
call fcn.1000dcfa
add esp, 4
mov esi, 0x10
cmp dword [esp + 0xcc], esi
mov edi, 0xf
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
jb 0x100090b1
mov eax, dword [esp + 0xb8]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0xe8], esi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x100090df
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jb 0x1000910d
mov edx, dword [esp + 0x9c]
push edx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x13c], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x1000913b
mov eax, dword [esp + 0x128]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x174], esi
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
jb 0x10009169
mov ecx, dword [esp + 0x160]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x120], esi
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
jb 0x10009197
mov edx, dword [esp + 0x10c]
push edx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x158], esi
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
jb 0x100091c5
mov eax, dword [esp + 0x144]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
jb 0x100091ed
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x1000920c
mov edx, dword [esp + 0x2c]
push edx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x1000922b
mov eax, dword [esp + 0x64]
push eax
call fcn.1000dcfa
add esp, 4
mov byte [esp + 0x324], 2
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x10009258
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1000dcfa
add esp, 4
mov esi, dword [esp + 0x14]
add dword [esp + 0x18], 0x4a4
add esi, 1
mov ecx, ebp
mov dword [esp + 0x14], esi
call fcn.1000aa80
cmp esi, eax
jb 0x10008cd0
push 0x103
lea edx, [esp + 0x211]
push ebx
push edx
mov byte [esp + 0x218], bl
call fcn.1000f430
add esp, 0xc
lea ecx, [esp + 0x20c]
call fcn.100096e0
test al, al
jne 0x10009310
mov esi, 0x10
cmp dword [esp + 0x1ac], esi
jb 0x100092c5
mov eax, dword [esp + 0x198]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x190], esi
mov edi, 0xf
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
jb 0x100092f8
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x1c8], esi
mov dword [esp + 0x190], edi
jmp 0x100093e9
call fcn.1000aca0
mov dword [esp + 0x18], vtable.CMitFile.0
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x20c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x324], 0xf
call fcn.1000cfe0
test eax, eax
je 0x1000937b
mov eax, dword [esp + 0x1b4]
mov edi, 0x10
cmp dword [esp + 0x1c8], edi
jae 0x10009354
lea eax, [esp + 0x1b4]
mov edx, dword [esp + 0x1c4]
mov esi, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, ebx
je 0x1000938f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000938f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000938a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x10
cmp dword [esp + 0x1ac], edi
jb 0x100093a8
mov eax, dword [esp + 0x198]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x190], edi
mov esi, 0xf
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
jb 0x100093db
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x1c8], edi
mov dword [esp + 0x190], esi
mov byte [esp + 0x17c], bl
mov dword [esp + 0x18c], ebx
jb 0x10009409
mov edx, dword [esp + 0x1b4]
push edx
call fcn.1000dcfa
add esp, 4
mov ecx, dword [esp + 0x31c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.1000dec6
add esp, 0x314
ret 4