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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x1005b460]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0xd0]
push edi
mov edi, dword [esp + 0xdc]
cmp edi, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], ebx
je 0x1002ec3a
cmp esi, ebx
je 0x1002ec3a
mov eax, dword [esp + 0xd8]
add esi, 8
cmp eax, 1
mov dword [esp + 0x34], esi
mov ebp, 2
je 0x1002e63f
cmp eax, ebp
je 0x1002e63f
cmp eax, 6
je 0x1002e63f
cmp eax, 3
jne 0x1002e80b
mov eax, dword [esp + 0xe0]
cmp eax, 8
ja 0x1002e778
lea ecx, [esi + 4]
mov dword [ecx], ebx
mov ebp, ecx
mov dword [esi + 8], ebx
mov dword [esi], ebx
lea eax, [edi + eax - 1]
xor ecx, ecx
lea esp, [esp]
mov dl, byte [eax]
mov byte [ebp], dl
sub eax, 1
add ebp, 1
cmp eax, edi
jb 0x1002ec42
add ecx, 1
cmp ecx, 4
jb 0x1002e600
jmp 0x1002e620
mov cl, byte [eax]
mov byte [esi], cl
sub eax, 1
add esi, 1
cmp eax, edi
jb 0x1002ec42
add ebx, 1
cmp ebx, 4
jb 0x1002e620
jmp 0x1002ec42
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x40], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov byte [esp + 0x58], bl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
mov byte [esp + 0x64], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x70], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov byte [esp + 0x88], bl
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov byte [esp + 0x94], bl
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
mov byte [esp + 0xa0], bl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0xac], bl
call fcn.10010140
mov esi, eax
cmp esi, ebx
jne 0x1002e6f7
mov dword [esp + 0x14], 0x2715
jmp 0x1002ec42
mov eax, dword [esp + 0xd8]
cmp eax, ebp
jne 0x1002e70c
mov byte [esp + 0x88], 0x2e
jmp 0x1002e727
cmp eax, 6
jne 0x1002e72f
mov al, 0x3a
mov byte [esp + 0x7c], al
mov byte [esp + 0x70], al
mov byte [esp + 0x64], al
mov byte [esp + 0x58], al
mov byte [esp + 0x4c], al
mov dword [esp + 0x3c], 4
mov eax, dword [esp + 0xe0]
push 0xa
lea edx, [esp + 0x3c]
push edx
push eax
push edi
call fcn.1002e340
mov edx, dword [esp + 0x48]
mov cl, byte [esp + 0x98]
mov ebp, eax
mov eax, dword [esp + 0x84]
add esp, 0x10
cmp dword [esp + 0xd8], 1
mov edi, edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x13], cl
jne 0x1002e7f5
cmp ebp, 5
jge 0x1002e785
mov dword [esp + 0x14], 0x2726
jmp 0x1002ec42
cmp edx, 0x32
jge 0x1002e78d
lea edi, [edx + 0x64]
add edi, 0x76c
cmp ebp, 5
jne 0x1002e7aa
mov cl, byte [esp + 0x7c]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x13], cl
push edi
jmp 0x1002e898
cmp ebp, 7
jne 0x1002e7cc
mov dl, byte [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov byte [esp + 0x12], dl
mov dword [esp + 0x1c], eax
push edi
jmp 0x1002e898
cmp ebp, 8
jne 0x1002e7ef
mov edx, dword [esp + 0x8c]
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
push edi
jmp 0x1002e898
mov edi, 6
cmp dword [esp + 0xd8], edi
jne 0x1002e818
cmp ebp, edi
je 0x1002e88c
mov dword [esp + 0x14], 0x2724
jmp 0x1002ec42
cmp ebp, edi
jl 0x1002e80b
jle 0x1002e88c
cmp cl, 0x2e
mov dword [esp + 0x18], edi
je 0x1002e82c
cmp cl, 0x2c
jne 0x1002e843
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], 7
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
lea edi, [edi + edi*2]
add edi, edi
add edi, edi
movsx ecx, byte [esp + edi + 0x40]
push ecx
call dword [sym.imp.MSVCR80.dll_toupper]
add esp, 4
cmp eax, 0x5a
je 0x1002e888
cmp ebp, dword [esp + 0x18]
jle 0x1002e888
mov al, byte [esp + edi + 0x40]
cmp al, 0x2b
mov byte [esp + 0x12], al
je 0x1002e874
cmp al, 0x2d
jne 0x1002e80b
cmp al, bl
mov edx, dword [esp + edi + 0x38]
mov ecx, dword [esp + edi + 0x44]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
jne 0x1002e893
mov edx, dword [esp + 0x38]
mov byte [esp + 0x13], 0x5a
jmp 0x1002e897
mov edx, dword [esp + 0x38]
push edx
push esi
call fcn.10010400
add esp, 8
push 0x190
push esi
mov dword [esp + 0x20], ebx
call fcn.10010d80
add esp, 8
test eax, eax
je 0x1002e8e4
push 4
push esi
call fcn.10010d80
add esp, 8
test eax, eax
jne 0x1002e8d5
push 0x64
push esi
call fcn.10010d80
add esp, 8
test eax, eax
jne 0x1002e8e4
cmp dword [esi + 0xc], ebx
jne 0x1002e8ec
mov dword [esp + 0x2c], 1
jmp 0x1002e8ec
mov dword [esp + 0x18], 1
mov ebp, dword [esp + 0x44]
cmp ebp, 0xc
jg 0x1002ec27
mov edx, dword [esp + 0x18]
lea edi, [ebp*4 - 4]
push edx
mov dword [esp + 0xc8], edi
call fcn.1002ec60
mov edi, dword [eax + edi]
mov eax, dword [esp + 0x1c]
add edi, dword [esp + 0x54]
push eax
call fcn.1002ec60
add esp, 8
cmp edi, dword [eax + ebp*4]
jg 0x1002ec27
cmp dword [esp + 0x5c], 0x17
jg 0x1002ec27
mov ebp, dword [esp + 0x68]
cmp ebp, 0x3b
jg 0x1002ec27
mov edi, dword [esp + 0x20]
cmp edi, 0x3c
jg 0x1002ec27
cmp dword [esp + 0x24], 0xc
jg 0x1002ec27
cmp dword [esp + 0x1c], 0x3b
jg 0x1002ec27
mov al, byte [esp + 0x12]
cmp al, 0x2b
je 0x1002e98d
cmp al, 0x2d
je 0x1002e98d
movsx ecx, byte [esp + 0x13]
push ecx
call dword [sym.imp.MSVCR80.dll_toupper]
add esp, 4
cmp eax, 0x5a
jne 0x1002ec27
cmp edi, 0x3c
jne 0x1002e99a
mov dword [esp + 0x20], 0x3b
push esi
call fcn.10010970
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1002e9bf
push esi
mov dword [esp + 0x18], 0x2715
call fcn.100100e0
add esp, 4
jmp 0x1002ec42
push 0x7b2
push esi
call fcn.10010f20
add esp, 8
cmp dword [esi + 0xc], ebx
jne 0x1002e9dd
push 1
push edi
call fcn.10010f20
add esp, 8
push 0x16d
push esi
call fcn.10011010
push 4
push edi
call fcn.10010dd0
push edi
push esi
push esi
call fcn.1000fb70
push 0x19
push edi
call fcn.10010dd0
push edi
push esi
push esi
call fcn.1000faa0
push 4
push edi
call fcn.10010dd0
push edi
push esi
push esi
call fcn.1000fb70
add esp, 0x44
push 0x1dd
push esi
call fcn.10010f20
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x1002ea3f
cmp dword [esi + 0xc], ebx
je 0x1002ea3f
push 1
push esi
call fcn.10010e40
add esp, 8
mov edx, dword [esp + 0x18]
push edx
call fcn.1002ec60
mov ecx, dword [esp + 0xc8]
mov edx, dword [eax + ecx]
push edx
push esi
call fcn.10010e40
mov eax, dword [esp + 0x5c]
add eax, 0xffffffff
push eax
push esi
call fcn.10010e40
push 0x18
push esi
call fcn.10011010
mov ecx, dword [esp + 0x78]
push ecx
push esi
call fcn.10010e40
push 0x3c
push esi
call fcn.10011010
push ebp
push esi
call fcn.10010e40
push 0x3c
push esi
call fcn.10011010
mov edx, dword [esp + 0x5c]
push edx
push esi
call fcn.10010e40
lea eax, [esp + 0xf4]
add esp, 0x44
push eax
call fcn.10010120
lea ecx, [esp + 0xb4]
push esi
push ecx
call fcn.100102b0
lea edx, [esp + 0xbc]
push 0x40
push edx
call fcn.10010780
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0xdf], bl
mov byte [esp + 0xde], bl
mov byte [esp + 0xdd], bl
mov byte [esp + 0xdc], bl
mov byte [esp + 0xe3], bl
mov byte [esp + 0xe2], bl
mov byte [esp + 0xe1], bl
mov byte [esp + 0xe0], bl
call fcn.10010070
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [esp + 0xe4]
sub ecx, eax
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.10010550
lea eax, [esp + 0xd0]
push eax
call fcn.100100e0
movzx eax, byte [esp + 0xec]
movzx ecx, byte [esp + 0xed]
movzx edx, byte [esp + 0xee]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0xef]
shl eax, 8
or eax, edx
shl eax, 8
add esp, 0x24
or eax, ecx
movzx edx, byte [esp + 0xc5]
mov ebp, dword [esp + 0x34]
xor ecx, ecx
mov ch, byte [esp + 0xc4]
mov dword [ebp + 4], eax
or ecx, edx
movzx edx, byte [esp + 0xc6]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xc7]
shl ecx, 8
or ecx, edx
mov dword [ebp], ecx
cmp dword [esi + 0xc], ebx
je 0x1002ebc4
not eax
add eax, 1
cmp eax, ebx
not ecx
mov dword [ebp], ecx
mov dword [ebp + 4], eax
jne 0x1002ebc4
add ecx, 1
mov dword [ebp], ecx
cmp dword [esp + 0xd8], 2
mov eax, dword [esp + 0x28]
jne 0x1002ebd8
imul eax, eax, 0xf4240
push esi
mov dword [ebp + 8], eax
call fcn.100100e0
push edi
call fcn.100100e0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea ecx, [edx + ecx*4]
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
add esp, 8
add eax, eax
cmp byte [esp + 0x12], 0x2b
jne 0x1002ec10
neg eax
imul eax, eax, 0x3e8
push eax
mov eax, dword [esp + 0x34]
push eax
push eax
call fcn.1002e0a0
add esp, 0xc
jmp 0x1002ec42
push esi
mov dword [esp + 0x18], 0x2726
call fcn.100100e0
add esp, 4
jmp 0x1002ec42
mov dword [esp + 0x14], 0x2721
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003ed2b
add esp, 0xc0
ret