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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x14], 0
mov edi, dword [esi + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov byte [ebx], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x2c], eax
jle 0x1007bfb1
mov eax, dword [ecx]
mov dword [esp + 0x18], 0
test dword [eax + 4], 0x1000000
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
je 0x1007bccc
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x1007bcb1
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x1007bcb1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1007bcb1
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1007bc61
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x14], edx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1007bc7e
push 0
push edx
push eax
mov edx, 0x4e
mov ecx, edi
call fcn.10029250
add esp, 0xc
jmp 0x1007bcb1
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push ebx
push esi
mov dword [esp + 0x28], eax
call fcn.10049090
mov edx, dword [esp + 0x34]
add esp, 0x10
test edx, edx
je 0x1007bd47
mov ebx, dword [edx]
mov dword [esp + 0x1c], ebx
cmp ebx, 1
jne 0x1007bd01
mov al, byte [esi + 0x13]
test al, al
jne 0x1007bcf0
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, eax
mov dword [esp + 0xc], eax
jmp 0x1007bd2e
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x98]
jmp 0x1007bd2a
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp ebx, ecx
jg 0x1007bd1f
add eax, ebx
sub ecx, ebx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
jmp 0x1007bd2e
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0xc], ecx
push 1
push 0
push ecx
mov ecx, esi
call fcn.10048910
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0xc]
jmp 0x1007bd55
xor ecx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
js 0x1007bd99
test edx, edx
je 0x1007bd99
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x1007bd81
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push ecx
push edx
mov edx, dword [ebp + 0xc]
mov ecx, esi
push ebx
push eax
call fcn.10073690
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + 4], 0x20
je 0x1007be92
mov eax, dword [esp + 0x24]
xor ebx, ebx
add eax, 8
mov dword [esp + 0x24], eax
cmp ebx, dword [esp + 0x1c]
jge 0x1007bde0
mov edx, dword [eax]
mov ecx, esi
call fcn.10040870
mov ecx, eax
inc ebx
mov eax, dword [esp + 0x24]
add eax, 0x14
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x1007bdb7
mov ebx, ecx
jmp 0x1007bde5
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1007bdff
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], eax
je 0x1007bdff
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x1007be1f
push 0
push 0
push eax
mov edx, 0x53
mov ecx, edi
call fcn.10029250
add esp, 0xc
mov edx, eax
jmp 0x1007be56
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x1007be92
test edx, edx
jns 0x1007be66
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1007be87
push 0xfffffffffffffffe
push ebx
mov edx, eax
mov ecx, edi
call fcn.1002a2c0
add esp, 8
jmp 0x1007be92
test ebx, ebx
je 0x1007be92
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x74]
mov ebx, dword [esp + 0xc]
mov edx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x1007beba
push edx
push ebx
push 0
mov edx, 0xa0
mov ecx, edi
call fcn.10029250
add esp, 0xc
jmp 0x1007bee5
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
cmp byte [ecx + 0x53], 0
mov edx, dword [eax + 4]
je 0x1007bf01
test byte [edx + 4], 0x10
je 0x1007bf13
call fcn.10004cc0
jmp 0x1007bf13
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [edi + 0x74]
test ecx, ecx
jle 0x1007bf2c
mov eax, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x1007bf4f
test ebx, ebx
je 0x1007bf5a
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1007bf5a
movzx eax, al
mov dword [esi + eax*4 + 0x98], ebx
inc byte [esi + 0x13]
jmp 0x1007bf5a
cmp eax, dword [esi + 0x1c]
jle 0x1007bf5a
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1007bf85
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007bf7c
push edx
mov edx, edi
call fcn.10029c70
add esp, 4
jmp 0x1007bf85
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 0x2c]
jl 0x1007bc11
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1007bfbf
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x1007c01a
cmp dword [esp + 0x20], 0
je 0x1007c01a
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x78], ecx
jg 0x1007bfe5
push 0
push 0
push edx
mov edx, 0x12
mov ecx, edi
call fcn.10029250
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x1007c017
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x1c]
test eax, eax
jle 0x1007c047
add ebx, 4
xor edi, edi
push dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, esi
call fcn.100488c0
mov eax, dword [ebp + 8]
lea ebx, [ebx + 0x14]
inc edi
add esp, 4
cmp edi, dword [eax + 0x24]
jl 0x1007c026
mov edi, dword [esp + 0x28]
jmp 0x1007c04a
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x2c]
mov byte [eax], 0
test ebx, ebx
je 0x1007c091
mov edx, dword [edi + 0x74]
lea ecx, [edx - 1]
cmp ebx, ecx
jne 0x1007c069
mov dword [edi + 0x74], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x1007c080
mov eax, 0x1011f1ec
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x70]
test ebx, ebx
cmovns ecx, ebx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret