Function at 0x1002e500
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
push edi
or edi, 0xffffffff
cmp ebp, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
je 0x1002e75e
cmp eax, ebx
je 0x1002e75e
push esi
push 0x64
call fcn.10034bff
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1002e65b
mov eax, ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x44], ebx
mov dword [esi], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1002e580
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
call fcn.10034bff
add esp, 4
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x1002e654
mov ecx, ebp
mov edx, eax
jmp 0x1002e5b0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x1002e5b0
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x5c], bl
cmp byte [ecx], bl
je 0x1002e61a
mov dl, 0x72
mov edi, edi
mov al, byte [ecx]
cmp al, dl
jne 0x1002e5db
mov byte [esi + 0x5c], dl
jmp 0x1002e613
cmp al, 0x77
je 0x1002e60f
cmp al, 0x61
je 0x1002e60f
cmp al, 0x30
jl 0x1002e5f3
cmp al, 0x39
jg 0x1002e5f3
movsx edi, al
sub edi, 0x30
jmp 0x1002e613
cmp al, 0x66
jne 0x1002e601
mov dword [esp + 0x10], 1
jmp 0x1002e613
cmp al, 0x68
jne 0x1002e613
mov dword [esp + 0x10], 2
jmp 0x1002e613
mov byte [esi + 0x5c], 0x77
add ecx, 1
cmp byte [ecx], bl
jne 0x1002e5d0
mov al, byte [esi + 0x5c]
cmp al, bl
je 0x1002e654
cmp al, 0x77
jne 0x1002e670
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov eax, 0xfffffff1
mov ecx, esi
call fcn.1002f200
push 0x4000
mov edi, eax
call fcn.10034bff
add esp, 0xc
cmp edi, ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
jne 0x1002e654
cmp eax, ebx
jne 0x1002e695
mov eax, esi
call fcn.1002ebf0
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100346f8
add esp, 0x70
ret
push 0x4000
call fcn.10034bff
mov dword [esi + 0x44], eax
mov dword [esi], eax
add esp, 4
mov eax, 0xfffffff1
call fcn.100304a0
test eax, eax
jne 0x1002e654
cmp dword [esi + 0x44], ebx
je 0x1002e654
mov dword [esi + 0x10], 0x4000
call fcn.1003698b
mov edx, dword [esp + 0x14]
push ebp
mov dword [eax], ebx
call fcn.10017cc0
add esp, 4
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x1002e654
cmp byte [esi + 0x5c], 0x77
jne 0x1002e70f
mov edi, dword [esp + 0x8c]
push ebx
push edi
push eax
call fcn.1003546a
mov edx, dword [0x100684d8]
mov eax, dword [0x100684d4]
mov ecx, dword [esi + 0x40]
push 0xb
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 8
push edx
push eax
push str._c_c_c_c_c_c_c_c_c_c
push ecx
call fcn.10037cf6
add esp, 0x3c
add edi, 0xa
mov dword [esi + 0x60], edi
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100346f8
add esp, 0x70
ret
push eax
push 1
lea edx, [esp + 0x20]
push 0x64
push edx
call fcn.10036c2c
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi + 0x40]
push ebx
push eax
push ecx
call fcn.1003546a
mov eax, esi
call fcn.1002e7f0
mov edx, dword [esi + 0x40]
push edx
call fcn.10035687
add esp, 0x20
sub eax, dword [esi + 4]
mov dword [esi + 0x60], eax
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100346f8
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100346f8
add esp, 0x70
ret