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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x14], eax
mov cl, byte [eax + 0x10]
cmp cl, 0x4c
mov byte [esp + 0x13], cl
setne dl
dec dword [esi + 0x38]
cmp dword [esp + 0x18], 2
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x20], edx
jne 0x1007f091
cmp byte [eax + 0x11], 0x5a
jne 0x1007f091
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x1007f116
cmp byte [eax + 0x10], 0x59
jne 0x1007f0ff
cmp dword [esp + 0x18], 2
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
push edx
jne 0x1007f0e7
cmp byte [eax + 0x11], 0x56
jne 0x1007f0cf
push dword [edi + 0x20]
mov edx, 0x37
push ecx
push dword [edi + 0x28]
mov ecx, edi
call fcn.1007f4c0
add esp, 0x10
jmp 0x1007f12c
push dword [edi + 0x28]
mov edx, 0x39
push ecx
push dword [edi + 0x20]
mov ecx, edi
call fcn.1007f4c0
add esp, 0x10
jmp 0x1007f12c
push dword [edi + 0x28]
mov edx, 0x36
push ecx
push dword [edi + 0x30]
mov ecx, edi
call fcn.1007f4c0
add esp, 0x10
jmp 0x1007f112
push 1
push edx
push ecx
mov edx, 0x31
mov ecx, ebx
call fcn.100ec050
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], 1
jne 0x1007f12c
cmp dword [eax + 0x58], 0
jne 0x1007f12c
xor edx, edx
mov ecx, edi
call fcn.10080c40
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 0x11]
cmp al, byte [ecx + 0x12]
jne 0x1007f24e
cmp dword [ebp + 8], 0
je 0x1007f24e
cmp byte [ecx + 0x10], 0x59
jne 0x1007f24e
mov al, byte [esi + 0x13]
test al, al
jne 0x1007f166
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
jmp 0x1007f175
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x94]
mov al, byte [esi + 0x13]
mov dword [esp + 0x1c], edx
test al, al
jne 0x1007f188
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x1007f197
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x94]
cmp dword [esp + 0x18], 2
mov dword [esp + 0x24], eax
jne 0x1007f1e2
push edx
push dword [edi + 0x20]
mov edx, 0x85
mov ecx, ebx
call fcn.100ebf20
push dword [esp + 0x2c]
mov edx, 0x85
mov ecx, ebx
push dword [edi + 0x30]
call fcn.100ebf20
push dword [esp + 0x2c]
mov edx, 0x39
mov ecx, ebx
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.100ec050
add esp, 0x1c
jmp 0x1007f212
cmp dword [edi + 0x1c], 0
je 0x1007f216
push edx
push dword [edi + 0x30]
mov edx, 0x85
mov ecx, ebx
call fcn.100ebf20
push dword [esp + 0x24]
mov edx, 0x39
mov ecx, ebx
push dword [esp + 0x2c]
push dword [edi + 0x1c]
call fcn.100ec050
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1007f232
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1007f232
movzx eax, al
mov dword [esi + eax*4 + 0x94], edx
inc byte [esi + 0x13]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1007f24e
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1007f24e
movzx eax, al
mov dword [esi + eax*4 + 0x94], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x1007f2db
sub eax, 1
je 0x1007f29e
cmp dword [ecx + 0x58], 0
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
je 0x1007f28a
push 1
push dword [ecx + 0x5c]
mov edx, 0x54
mov ecx, ebx
call fcn.100ebf20
add esp, 8
jmp 0x1007f2f0
push dword [edi + 0x14]
mov edx, ecx
mov ecx, edi
push 0
push eax
call fcn.10080fd0
add esp, 0xc
jmp 0x1007f2f0
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x58]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x1007f2c7
push 1
push edx
mov edx, 0x54
mov ecx, ebx
call fcn.100ebf20
add esp, 8
jmp 0x1007f2f0
push dword [edi + 0x14]
mov edx, ecx
mov ecx, edi
push 1
push eax
call fcn.10080fd0
add esp, 0xc
jmp 0x1007f2f0
mov eax, dword [edi + 0x28]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x24], eax
call fcn.1007ff20
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x1007f323
push dword [esp + 0x1c]
mov edx, 0x80
mov ecx, ebx
call fcn.100ebf90
mov eax, dword [ebx + 0x74]
add esp, 4
test eax, eax
jle 0x1007f323
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [ebp + 0xc], 0
mov edx, 5
mov eax, dword [ebx + 0x74]
je 0x1007f355
add eax, 2
mov ecx, ebx
push eax
push dword [esp + 0x20]
call fcn.100ebf20
add esp, 8
mov edx, 0xb
mov ecx, ebx
call fcn.100ebff0
mov dword [esp + 0x30], eax
jmp 0x1007f38c
mov ecx, dword [esp + 0x28]
inc ecx
add eax, ecx
mov ecx, ebx
push eax
push dword [esp + 0x20]
call fcn.100ebf20
mov al, byte [esp + 0x1b]
add esp, 8
cmp al, 0x4c
je 0x1007f421
push dword [esp + 0x20]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.100ebf20
add esp, 8
mov al, byte [esp + 0x13]
cmp al, 0x4c
je 0x1007f421
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007f3b8
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1007f3c0
mov edx, eax
mov ecx, esi
call fcn.100cc740
jmp 0x1007f3c2
mov dword [esp + 0x28], 0
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
mov dword [esp + 0x1c], eax
call fcn.10081810
mov eax, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x34]
mov edx, dword [eax + 0xc]
push dword [esp + 0x28]
push edi
call fcn.1007fa80
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, 1
jne 0x1007f416
test edi, edi
je 0x1007f421
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1007f421
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x1007f421
cmp eax, dword [esi + 0x1c]
jle 0x1007f421
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1007f476
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x1007f447
push 0
push edx
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.100ec0c0
add esp, 0xc
jmp 0x1007f476
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007f49d
push edx
mov edx, ebx
call fcn.100eb740
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x74]
pop edi
pop esi
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
pop ebx
mov esp, ebp
pop ebp
ret