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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xbc]
mov ebx, eax
lea eax, [esp + 0x70]
mov esi, 1
add dword [0x101dd32c], esi
mov dword [esp + 0x88], eax
add edi, 0x18
xor ebp, ebp
lea eax, [esp + 0x80]
mov ecx, edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call fcn.1004c310
test eax, eax
jne 0x1004ef0d
mov esi, dword [esp + 0xb8]
push ebx
mov eax, esi
call fcn.1004ba00
add esp, 4
cmp eax, ebp
jne 0x1004f770
lea ecx, [ebx + 0xc]
push ecx
lea eax, [esi + 0xc]
call fcn.1004ba00
add esp, 4
cmp eax, ebp
jne 0x1004f770
add ebx, 0x18
push ebx
lea eax, [esi + 0x18]
call fcn.1004ba00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
cmp dword [ebx + 0x20], ebp
je 0x1004efa9
lea edx, [esp + 0x7c]
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x98]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], edx
call fcn.1004c310
test eax, eax
jne 0x1004ef64
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
call fcn.1004dab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
cmp dword [ebx + 0x20], ebp
je 0x1004efa9
lea eax, [esp + 0x74]
mov dword [esp + 0x94], eax
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x8c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.1004c310
test eax, eax
je 0x1004efa9
mov eax, 0xffffb080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
push edi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
mov ecx, dword [esp + 0xb4]
push ecx
lea eax, [esp + 0x18]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea edx, [esp + 0x14]
push edi
push edx
lea eax, [esp + 0x40]
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
mov edi, dword [esp + 0xb4]
push edi
lea eax, [esp + 0x3c]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x18]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
add ebx, 0xc
lea ecx, [esp + 0x38]
push ebx
push ecx
mov eax, ecx
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x3c]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
mov esi, dword [esp + 0xbc]
inc dword [0x101dd2f8]
lea eax, [esp + 0x14]
mov ecx, eax
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
mov edi, dword [esp + 0x14]
cmp edi, ebp
jge 0x1004f1d0
mov eax, 1
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x14]
call fcn.1004c310
test eax, eax
je 0x1004f1d0
mov ebx, dword [esp + 0xb4]
mov eax, dword [ebx + 4]
add ebx, 4
imul eax, edi
mov esi, edi
test eax, eax
jge 0x1004f1a1
mov eax, ebx
lea ecx, [esp + 0x14]
call fcn.1004c280
lea edi, [esp + 0x14]
test eax, eax
jl 0x1004f18a
mov eax, ebx
mov ebx, edi
call fcn.1004c610
cmp eax, ebp
jne 0x1004f1ba
mov edi, esi
mov dword [esp + 0x14], edi
jmp 0x1004f1be
lea eax, [esp + 0x14]
call fcn.1004c610
cmp eax, ebp
jne 0x1004f1ba
neg esi
mov edi, esi
mov dword [esp + 0x14], edi
jmp 0x1004f1be
lea eax, [esp + 0x14]
mov ecx, ebx
mov edi, eax
call fcn.1004c400
cmp eax, ebp
jne 0x1004f1ba
mov edi, esi
mov dword [esp + 0x14], edi
jmp 0x1004f1be
mov edi, dword [esp + 0x14]
mov esi, eax
cmp eax, ebp
jne 0x1004f601
cmp edi, ebp
jl 0x1004f134
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x38]
lea esi, [ebx + 0xc]
mov ecx, eax
mov dword [esp + 0x78], esi
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x38], ebp
mov edi, dword [esp + 0xb4]
jge 0x1004f231
lea ecx, [esp + 0x38]
push ecx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
je 0x1004f231
lea eax, [esp + 0x38]
lea esi, [edi + 4]
mov ecx, eax
call fcn.1004c6e0
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x38], ebp
jl 0x1004f200
lea edx, [esp + 0x14]
push edx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
jne 0x1004f27f
lea eax, [esp + 0x38]
push eax
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
jne 0x1004f26e
mov ecx, dword [esp + 0xb8]
push ebx
push ecx
push edi
call fcn.1004e3f0
add esp, 0xc
jmp 0x1004f5ff
mov edi, dword [esp + 0xb8]
call fcn.1004daf0
jmp 0x1004f5ff
lea edx, [esp + 0x14]
push edx
lea eax, [ebx + 0x18]
push eax
lea eax, [esp + 0x68]
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x64]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
lea eax, [esp + 0x34]
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x30]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x48]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov eax, ecx
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push edi
lea eax, [esp + 0x30]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, 2
call fcn.1004cc90
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
add edi, 4
mov eax, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], edi
call fcn.1004c310
test eax, eax
jl 0x1004f3cd
mov eax, dword [esp + 0x5c]
lea ebx, [esp + 0x14]
mov edi, ebx
call fcn.1004c610
mov esi, eax
cmp esi, ebp
jne 0x1004f601
mov eax, dword [esp + 0x5c]
mov ecx, ebx
call fcn.1004c310
test eax, eax
jge 0x1004f3a1
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0xb4]
lea ecx, [esp + 0x38]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x28]
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push ebx
lea eax, [esp + 0x24]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea eax, [esp + 0x20]
lea esi, [esp + 0x14]
mov ecx, eax
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x20], ebp
jge 0x1004f460
mov edi, edi
lea eax, [esp + 0x20]
push eax
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
je 0x1004f460
lea eax, [esp + 0x20]
mov esi, edi
mov ecx, eax
call fcn.1004c6e0
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x20], ebp
jl 0x1004f430
lea eax, [esp + 0x20]
lea esi, [esp + 0x44]
mov ecx, eax
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x20], ebp
jge 0x1004f4b0
nop
lea ecx, [esp + 0x20]
push ecx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
je 0x1004f4b0
lea eax, [esp + 0x20]
mov esi, edi
mov ecx, eax
call fcn.1004c6e0
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x20], ebp
jl 0x1004f480
lea eax, [esp + 0x2c]
lea esi, [esp + 0x20]
mov ecx, eax
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x2c], ebp
jge 0x1004f500
nop
lea edx, [esp + 0x2c]
push edx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
je 0x1004f500
lea eax, [esp + 0x2c]
mov esi, edi
mov ecx, eax
call fcn.1004c6e0
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x2c], ebp
jl 0x1004f4d0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, ecx
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push ebx
lea eax, [esp + 0x30]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
mov edx, dword [esp + 0x78]
inc dword [0x101dd2f8]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.1004caa0
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x1004f601
push ebx
lea eax, [esp + 0x48]
call fcn.1004dbe0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
inc dword [0x101dd2f8]
lea esi, [esp + 0x44]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x50]
call fcn.1004c730
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x50], ebp
jge 0x1004f5bd
lea ecx, [esp + 0x50]
push ecx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
je 0x1004f5bd
lea eax, [esp + 0x50]
mov esi, edi
mov ecx, eax
call fcn.1004c6e0
mov esi, eax
cmp esi, ebp
jne 0x1004f601
cmp dword [esp + 0x50], ebp
jl 0x1004f591
mov edi, dword [esp + 0xb8]
lea edx, [esp + 0x20]
push edx
mov eax, edi
call fcn.1004ba00
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 0xc]
call fcn.1004ba00
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1004f601
lea ecx, [esp + 0x60]
push ecx
lea eax, [edi + 0x18]
call fcn.1004ba00
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov edi, 1
cmp ecx, ebp
je 0x1004f62e
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1004f625
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f616
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100d1800
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
je 0x1004f668
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x1004f65f
lea ebx, [ebx]
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f650
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100d1800
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
cmp ecx, ebp
je 0x1004f69c
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x1004f693
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f684
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100d1800
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp ecx, ebp
je 0x1004f6d0
mov eax, dword [esp + 0x48]
cmp eax, ebp
je 0x1004f6c7
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f6b8
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100d1800
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
cmp ecx, ebp
je 0x1004f708
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x1004f6ff
lea esp, [esp]
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f6f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100d1800
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
cmp edx, ebp
je 0x1004f73a
mov eax, dword [esp + 0x54]
mov ecx, edx
cmp eax, ebp
je 0x1004f731
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f726
push edx
call fcn.100d1800
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
cmp ecx, ebp
je 0x1004f76e
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x1004f765
sub eax, edi
mov dword [ecx], ebp
add ecx, 4
cmp eax, ebp
jne 0x1004f756
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100d1800
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret