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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, eax
cmp byte [ebx + 0x49], 4
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [ebx]
mov ebp, dword [esi + 4]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
jne 0x1007e73f
mov eax, dword [ebx + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 8]
mov edi, dword [ebx + 0x3c]
test eax, eax
je 0x1007e777
lea esp, [esp]
cmp eax, ebx
je 0x1007e75d
test edi, edi
je 0x1007e766
cmp dword [eax + 0x3c], edi
je 0x1007e766
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007e750
jmp 0x1007e777
test eax, eax
je 0x1007e777
call fcn.10074900
test eax, eax
jne 0x1007e92a
cmp dword [ebx + 0x10], 0
mov edi, dword [esp + 0x28]
jne 0x1007e7e7
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1007e7b0
mov cl, 0x10
lea ecx, [ecx]
test byte [eax + 0x48], cl
je 0x1007e7a9
mov edx, dword [eax + 0x18]
cmp edx, dword [esp + 0x24]
jne 0x1007e7a9
mov edx, dword [eax + 0x1c]
cmp edx, edi
jne 0x1007e7a9
mov byte [eax + 0x49], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007e790
test byte [ebx + 0x48], 2
je 0x1007e7e7
test edi, edi
jl 0x1007e7e7
jg 0x1007e7c3
cmp dword [esp + 0x24], 0
jbe 0x1007e7e7
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x18]
sub eax, 1
mov ecx, edi
sbb ecx, 0
cmp edx, eax
jne 0x1007e7e7
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jne 0x1007e7e7
mov dword [esp + 0x14], 0xffffffff
jmp 0x1007e812
cmp dword [esp + 0x3c], 0
jne 0x1007e812
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
call fcn.100747a0
add esp, 0x10
test eax, eax
jne 0x1007e92a
movsx ecx, word [ebx + 0x4c]
mov esi, dword [ebx + ecx*4 + 0x78]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x50]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
mov edx, dword [esp + 0x48]
push eax
push ebp
mov eax, esi
call fcn.1006f500
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007e92a
movsx ecx, word [ebx + 0x4c]
movzx edi, word [ebx + ecx*2 + 0x4e]
lea eax, [ebx + ecx*2 + 0x4e]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1007e8cf
mov ecx, dword [esi + 0x44]
call fcn.10044b60
test eax, eax
jne 0x1007e92a
mov edx, dword [esi + 0x40]
movzx eax, byte [edx + edi*2]
lea ecx, [edx + edi*2]
movzx ecx, byte [ecx + 1]
movzx edx, word [esi + 0x14]
shl eax, 8
or eax, ecx
and eax, edx
add eax, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x1007e89e
mov ecx, dword [eax]
mov dword [ebp], ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.1006f8d0
movzx ecx, word [esp + 0x40]
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ecx
push edi
call fcn.10066ec0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1007e92a
jmp 0x1007e8e4
jge 0x1007e8e4
cmp word [esi + 0x12], 0
jbe 0x1007e8e4
inc word [eax]
movsx edx, word [ebx + 0x4c]
movzx edi, word [ebx + edx*2 + 0x4e]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push ebp
push edi
xor eax, eax
mov ecx, esi
call fcn.1006f350
mov eax, dword [esp + 0x24]
xor edx, edx
add esp, 0x14
mov word [ebx + 0x2c], dx
test eax, eax
jne 0x1007e92a
cmp byte [esi + 1], al
je 0x1007e92a
and byte [ebx + 0x48], 0xfd
call fcn.1007aa20
movsx ecx, word [ebx + 0x4c]
mov edx, dword [ebx + ecx*4 + 0x78]
xor cl, cl
mov byte [edx + 1], cl
mov byte [ebx + 0x49], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret