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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb0
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xd0]
call 0x1007a92c
pop ebx
mov dword [esp + 0x3c], ebx
mov ebp, dword [edx]
mov esi, dword [edx + 4]
and dword [edi + 0x68], 0
and dword [edi], 0
mov dword [edi + 0x20], eax
and dword [edi + 0x30], 0
mov dword [edi + 0x50], eax
cmp ebp, esi
mov dword [esp], ebp
ja 0x1007a983
cmp dword [edx + 0xc], 0xffffffff
mov dword [esp + 0x6c], ecx
je 0x1007b99e
mov ecx, dword [esp + 0x5c]
mov al, byte [ecx + 0xc]
cmp al, 2
setne byte [esp + 0x1b]
test al, 1
sete bl
call fcn.1007cb74
cmp al, 2
mov dword [esp + 0x8c], edx
jne 0x1007a98b
mov ecx, dword [esp + 0x6c]
and dword [ecx], 0
jmp 0x1007b925
xor ebp, ebp
test al, 1
mov dword [esp + 0x70], 0
jne 0x1007a9b6
mov ecx, dword [esp + 0x5c]
mov edx, 0x1011c79c
cmp byte [ecx + 8], 3
cmovne edx, ecx
xor ecx, ecx
cmp byte [edx + 8], 2
cmovne ecx, edx
mov dword [esp + 0x70], ecx
mov byte [esp + 0x4b], al
and al, 1
and byte [esp + 0x1b], bl
lea ebx, [edi + 0x40]
lea ecx, [edi + 0x30]
mov byte [esp + 0x4a], al
lea eax, [edi + 0x60]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
lea eax, [edi + 0x54]
mov dword [esp + 0x88], eax
lea eax, [edi + 0x4c]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x10]
mov dword [esp + 0x84], eax
lea eax, [edi + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [edi + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [edi + 0x34]
mov dword [esp + 0x4c], eax
cmp dword [esp], esi
ja 0x1007b911
cmp dword [edi], 0
je 0x1007aa27
mov eax, dword [esp]
jmp 0x1007aa89
mov cl, byte [esp + 0x1b]
cmp ebp, 1
sete al
not cl
test cl, al
jne 0x1007b90e
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp]
cmp ecx, dword [eax]
seta al
test byte [esp + 0x4a], al
jne 0x1007b911
mov edx, dword [esp + 0x70]
test edx, edx
je 0x1007aa22
lea ecx, [esp + 0x20]
push esi
push dword [esp + 4]
mov eax, dword [esp + 0xd0]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.100810a0
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x1007b911
mov eax, dword [esp + 0x24]
cmp ebp, 1
mov dword [esp + 4], eax
mov dword [esp + 0x78], ebp
setne al
or al, byte [esp + 0x1b]
je 0x1007aabb
test byte [esp + 0x4b], 1
je 0x1007b599
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 4]
cmp ecx, dword [eax]
je 0x1007b599
mov ecx, edi
call fcn.100829d1
mov dword [esp + 0x94], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x80], edx
lea ecx, [eax + 1]
add eax, 2
mov dword [esp], ecx
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x94]
je 0x1007b543
mov esi, dword [eax]
mov ecx, dword [esp + 0x38]
add eax, 4
mov dword [esp + 0x80], eax
mov edx, esi
call fcn.1007967c
mov ebp, eax
movzx eax, word [eax]
mov eax, dword [eax*4 + 0x1007ba0c]
add eax, dword [esp + 0x3c]
jmp eax
test byte [esp + 0x90], 1
je 0x1007b576
mov esi, dword [esp + 0xc8]
cmp byte [esi + 0x18], 0
jne 0x1007b932
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
xor ebp, ebp
inc ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jmp 0x1007b8f7
mov esi, dword [esp + 0xc8]
cmp byte [esi + 0x18], 0
je 0x1007b8f3
mov ebp, dword [esp + 0x78]
cmp ebp, 1
jne 0x1007b8f7
jmp 0x1007b90e
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x88]
mov edx, eax
sub edx, dword [edi + 0x50]
push 0x1011e5c4
push eax
call fcn.1005a1f7
pop ecx
pop ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp], edx
lea edx, [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
and dword [esp + 0x20], 0
call fcn.10057978
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x1007aabb
dec ecx
mov dword [edi + 0x68], ecx
imul ecx, ecx, 0xc
mov eax, dword [edi + 0x64]
mov edx, dword [eax + ecx]
mov esi, dword [eax + ecx + 4]
test edx, edx
je 0x1007b62f
cmp edx, 2
je 0x1007aabb
add eax, ecx
mov ecx, dword [esp + 8]
mov edx, dword [esp]
mov edi, dword [eax + 8]
push 0x1011e510
push esi
call fcn.10081608
pop ecx
pop edx
mov dword [eax], edi
mov edi, dword [esp + 0xc4]
jmp 0x1007b5e2
mov ebp, dword [edi]
mov ecx, dword [esp + 0x84]
mov edx, esi
mov dword [esp + 0x1c], esi
push 0x1011fc98
call fcn.10010ca6
pop ecx
mov edx, dword [eax]
cmp edx, ebp
jae 0x1007b662
mov ecx, dword [esp + 0x7c]
push 0x1011fca8
call fcn.10010ca6
pop ecx
cmp dword [eax], esi
je 0x1007b5e2
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], ebp
cmp ebp, eax
jae 0x1007b93f
mov ecx, dword [esp + 0x7c]
mov edx, ebp
push 0x1011fc78
call fcn.10010ca6
pop ecx
mov dword [eax], esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
push 0x1011fc88
call fcn.10010ca6
pop ecx
mov ecx, dword [esp + 0x38]
mov dword [eax], ebp
inc ebp
mov edx, esi
mov dword [edi], ebp
call fcn.1007967c
movzx ecx, word [eax]
mov ecx, dword [ecx*4 + 0x1007b9c8]
add ecx, dword [esp + 0x3c]
jmp ecx
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x40]
mov ecx, edi
call fcn.10052a9c
and dword [edi + 0x30], 0
mov esi, dword [esi + 4]
jmp 0x1007aa14
xor ebp, ebp
inc ebp
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebp
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, ecx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 4]
xor ebp, ebp
inc ebp
jmp 0x1007b919
lea ecx, [esp + 0x68]
mov dword [ecx], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, fcn.100473ff
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x34], fcn.10083fe1
mov dword [eax + 8], 0x1011fc50
push 3
pop ecx
mov dword [eax + 0xc], ecx
and dword [eax], 0
lea edx, [esp + 0x20]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
push 0x1011fc68
push eax
call fcn.1010c690
pop eax
pop ecx
ud2
lea eax, [esp + 0x20]
mov dword [eax + 8], 0x1011e4d8
mov dword [eax + 0xc], 1
and dword [eax], 0
mov dword [eax + 0x10], 0x1011abec
and dword [eax + 0x14], 0
push 0x1011e4e0
jmp 0x1007b994