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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101811b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x30], ebx
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x74]
mov ecx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
xor eax, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
cmp dword [esi + 0x14], 0
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x1c], eax
jge 0x1007bfa4
push esi
call fcn.1007e030
add esp, 4
test eax, eax
jne 0x1007c244
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov cl, byte [esi + 0xc]
test eax, eax
jne 0x1007c10c
test cl, cl
je 0x1007c244
mov eax, dword [esi + 0x34]
xor edi, edi
push dword [esi + 0x48]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
call fcn.100d4230
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1007c088
push eax
push dword [esi + 4]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.10079b50
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call fcn.10084e70
mov eax, dword [ebp - 0x20]
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
cmp byte [eax + 0x11], 0
je 0x1007c025
lea edx, [ebp - 0x18]
push edx
push dword [esi + 4]
push 5
push ecx
push eax
call fcn.100a9da0
add esp, 0x14
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1007c088
movzx eax, byte [esi + 0xc]
add eax, eax
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [edi + 0x1c]
push eax
call fcn.10116d10
movzx eax, byte [esi + 0xc]
shl eax, 2
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [edi + 0x24]
push eax
call fcn.10116d10
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x38]
movzx eax, byte [eax]
and eax, 0xfffffff7
push eax
push esi
call fcn.1010bd70
movzx ecx, byte [esi + 9]
add esp, 0x20
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x1c]
bswap edx
mov dword [ecx + eax + 8], edx
mov dword [ebx + 0x7c], edi
xor edi, edi
jmp 0x1007c0f2
mov dword [ebx + 0x7c], 0
test edi, edi
je 0x1007c0e7
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x1007c0de
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.1010cc90
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [ebp - 0x30]
add esp, 0x10
jmp 0x1007c0e7
push ecx
call fcn.100d4f60
add esp, 4
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x1007c244
mov edx, dword [ebp - 0x28]
xor eax, eax
mov byte [ebx + 0x44], 1
mov dword [ebx + 0x46], eax
mov dword [ebx + 0x78], esi
mov esi, dword [ebx + 0x7c]
mov dword [ebx + 0x74], esi
jmp 0x1007bf80
test cl, cl
jne 0x1007c119
cmp dword [esi + 0x14], edx
jle 0x1007c244
mov edi, dword [ebx + eax*4 + 0x74]
movzx eax, word [ebx + eax*2 + 0x46]
mov dword [ebp - 0x20], eax
push dword [edi + 0x48]
call fcn.100d4230
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1007c1ce
cmp dword [edi + 0x14], eax
jge 0x1007c150
push edi
call fcn.1007e030
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1007c1ce
cmp byte [esi + 3], 0
je 0x1007c188
cmp byte [esi + 0xc], 1
jne 0x1007c188
mov ax, word [esi + 0x1c]
cmp ax, word [esi + 0x18]
jne 0x1007c188
cmp dword [edi + 4], 1
je 0x1007c188
movzx eax, word [edi + 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x1007c188
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.1007d7e0
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x1007c1ce
mov eax, dword [ebx + 0x14]
push dword [eax + 0x24]
call fcn.100a8610
movzx ecx, byte [ebx + 3]
and ecx, 1
mov dword [ebp - 0x24], eax
push ecx
xor ecx, ecx
cmp dword [ebp - 0x1c], 1
sete cl
push ecx
push eax
push dword [ebp - 0x20]
push edi
call fcn.1007c270
mov dword [ebp - 0x18], eax
add esp, 0x18
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1007c1c8
push eax
call fcn.100a8b50
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x48]
mov byte [esi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x1007c21a
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.1010cc90
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x1007c223
push edx
call fcn.100d4f60
add esp, 4
mov cl, byte [ebx + 0x44]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
movsx esi, cl
lea eax, [ecx - 1]
mov byte [ebx + 0x44], al
mov esi, dword [ebx + esi*4 + 0x74]
mov dword [ebx + 0x74], esi
test edi, edi
je 0x1007bf80
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1007c254
push eax
call fcn.100a8b50
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010c1dc
mov esp, ebp
pop ebp
ret