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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x78], 0xfffffffe
jne 0x1007a6ea
mov al, byte [esi + 0x84]
test al, al
jne 0x1007a68d
mov ecx, dword [esi + 0x80]
mov eax, 1
shl eax, cl
lea ecx, [esi + 0x10]
push eax
call fcn.10006575
test al, al
jne 0x1007a686
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0xc
ret 4
mov ecx, esi
call fcn.1007a4d0
push 0x100000
lea ecx, [esi + 0x50]
call fcn.10004a99
test al, al
jne 0x1007a6ad
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0xc
ret 4
lea edi, [esi + 0x48]
lea ecx, [edi + 8]
call fcn.10004af7
xor ebx, ebx
mov dword [edi], 0x10000
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0x10000
mov ebp, 0x10
mov ecx, edi
call fcn.1007aab0
lea ecx, [ebx + ebx]
or eax, ecx
dec ebp
mov ebx, eax
jne 0x1007a6cf
mov dword [esi + 0x40], ebx
mov dword [esi + 0x78], 0
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x1007a6fe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x1007a754
test edi, edi
jbe 0x1007aa8d
mov edx, dword [esi + 0x7c]
dec eax
lea ecx, [esi + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [ecx + 4]
sub eax, edx
mov edx, dword [ecx + 0x10]
dec eax
cmp eax, edx
jb 0x1007a726
add eax, edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, edx
mov al, byte [edx + eax]
mov byte [ebx + ebp], al
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc ebx
mov eax, ebx
mov dword [ecx + 4], ebx
cmp eax, edx
jne 0x1007a748
call fcn.100066bd
mov eax, dword [esi + 0x78]
dec edi
test eax, eax
jg 0x1007a705
mov dword [esp + 0x20], edi
test edi, edi
jbe 0x1007aa91
mov al, byte [esi + 0x6c]
test al, al
jne 0x1007aa64
mov eax, dword [esi + 0x40]
lea ebp, [esi + 0x90]
xor ecx, ecx
inc eax
mov cx, word [ebp]
xor edx, edx
imul eax, ecx
dec eax
xor ebx, ebx
div dword [esi + 0x3c]
mov bx, word [esi + 0x92]
lea edx, [esi + 0x92]
mov edi, 1
cmp ebx, eax
jbe 0x1007a7a5
add edx, 2
xor ebx, ebx
inc edi
mov bx, word [edx]
cmp ebx, eax
ja 0x1007a798
push ecx
xor ecx, ecx
mov cx, word [esi + edi*2 + 0x8e]
xor edx, edx
mov dx, word [esi + edi*2 + 0x90]
push ecx
push edx
lea ecx, [esi + 0x38]
call fcn.1007ab00
dec edi
xor ebx, ebx
mov bl, byte [edi + esi + 0x112]
lea eax, [esi + edi*2 + 0x90]
mov dword [esp + 0x10], ebx
add word [eax], 8
mov ecx, edi
dec edi
sub eax, 2
test ecx, ecx
jne 0x1007a7d9
cmp word [ebp], 0xed8
jbe 0x1007a900
mov eax, dword [esi + 0x8c]
dec eax
mov dword [esi + 0x8c], eax
jne 0x1007a8d5
mov eax, dword [esi + 0x88]
mov dword [esi + 0x8c], 0x32
test eax, eax
jbe 0x1007a83e
mov eax, ebp
xor edx, edx
xor edi, edi
mov dx, word [eax + 2]
mov di, word [eax]
sub edi, edx
add eax, 2
inc edi
sar edi, 1
mov word [eax - 2], di
mov edx, dword [esi + 0x88]
inc ecx
cmp ecx, edx
jb 0x1007a81c
mov edx, dword [esi + 0x88]
xor eax, eax
lea ecx, [edx - 1]
test ecx, ecx
jbe 0x1007a8bb
lea ecx, [eax + 1]
cmp ecx, edx
mov dword [esp + 0x18], ecx
jae 0x1007a8a9
lea edi, [ebp + 2]
mov dx, word [ebp]
mov bx, word [edi]
cmp dx, bx
mov dword [esp + 0x14], edx
jae 0x1007a893
mov dl, byte [esi + eax + 0x112]
mov word [ebp], bx
mov bl, byte [esi + ecx + 0x112]
mov byte [esi + eax + 0x112], bl
mov bx, word [esp + 0x14]
mov word [edi], bx
mov byte [esi + ecx + 0x112], dl
mov edx, dword [esi + 0x88]
inc ecx
add edi, 2
cmp ecx, edx
jb 0x1007a85b
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x88]
mov eax, ecx
add ebp, 2
lea ecx, [edx - 1]
cmp eax, ecx
jb 0x1007a84d
lea ecx, [esi + eax*2 + 0x90]
mov dx, word [ecx + 2]
add word [ecx], dx
mov edx, eax
dec eax
sub ecx, 2
test edx, edx
jne 0x1007a8c2
jmp 0x1007a900
mov ecx, dword [esi + 0x88]
dec ecx
lea eax, [esi + ecx*2 + 0x90]
shr word [eax], 1
mov di, word [eax]
mov dx, word [eax + 2]
cmp di, dx
ja 0x1007a8f6
inc edx
mov word [eax], dx
mov edx, ecx
dec ecx
sub eax, 2
test edx, edx
jne 0x1007a8e3
cmp ebx, 4
jae 0x1007a94e
lea eax, [esi + 0x38]
push eax
mov eax, ebx
shl eax, 4
add eax, ebx
lea eax, [eax + eax*2]
lea ecx, [esi + eax*4 + 0x154]
call fcn.1007abe0
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
lea ecx, [esi + 0x10]
shl bl, 6
add al, bl
mov byte [edx + edi], al
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc edi
mov eax, edi
mov dword [ecx + 4], edi
cmp eax, edx
jne 0x1007a945
call fcn.100066bd
dec dword [esp + 0x20]
jmp 0x1007aa44
add ebx, 0xfffffffc
cmp ebx, 2
mov dword [esp + 0x18], ebx
lea edi, [ebx + 3]
mov dword [esp + 0x10], edi
jne 0x1007a9c6
lea eax, [esi + 0x38]
lea ecx, [esi + 0x6e8]
push eax
call fcn.1007abe0
cmp eax, 6
jb 0x1007a9ba
sub eax, ebx
mov ecx, eax
and eax, 3
shr ecx, 2
or al, 4
shl eax, cl
cmp ecx, 6
lea eax, [edi + eax - 2]
mov dword [esp + 0x10], eax
jge 0x1007a9c2
mov ebp, ecx
xor edi, edi
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.1007aab0
lea ecx, [edi + edi]
or eax, ecx
dec ebp
mov edi, eax
jne 0x1007a997
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x1007a9c6
add edi, eax
mov dword [esp + 0x10], edi
jmp 0x1007a9c6
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x38]
push eax
mov eax, ebx
shl eax, 4
add eax, ebx
lea edx, [eax + eax*2]
lea ecx, [esi + edx*4 + 0x484]
call fcn.1007abe0
mov ebp, eax
cmp ebp, 4
jb 0x1007aa1c
mov edi, ebp
shr edi, 1
dec edi
xor ebx, ebx
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x48]
call fcn.1007aab0
lea ecx, [ebx + ebx]
or eax, ecx
mov ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x1007a9f2
and ebp, 1
mov ecx, edi
mov edi, dword [esp + 0x10]
or ebp, 2
shl ebp, cl
add ebp, ebx
mov eax, dword [esp + 0x20]
mov ebx, edi
cmp edi, eax
jbe 0x1007aa28
mov ebx, eax
push ebx
push ebp
lea ecx, [esi + 0x10]
call fcn.1000fbe6
test al, al
je 0x1007aa64
mov ecx, dword [esp + 0x20]
sub ecx, ebx
sub edi, ebx
mov dword [esp + 0x20], ecx
jne 0x1007aa73
mov eax, dword [esp + 0x20]
test eax, eax
ja 0x1007a75c
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4
mov dword [esp + 0x20], edi
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4