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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov esi, dword [edi + 8]
test esi, esi
jne 0x1007b8fc
call fcn.10051860
mov esi, eax
mov dword [edi + 8], esi
test esi, esi
je 0x1007b8e7
mov edx, 0x9e
mov ecx, esi
call fcn.10051ae0
cmp dword [edi + 0x1a0], 0
jne 0x1007b8fc
mov eax, dword [edi]
test byte [eax + 0x40], 8
jne 0x1007b8fc
mov byte [edi + 0x17], 1
mov ebx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
dec eax
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1007b939
mov ecx, dword [ebx]
lea eax, [edx*8 + 4]
mov edx, dword [ebx + 0x78]
push 0
push eax
call fcn.10033d80
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1007b947
mov dword [eax + edx*4], 0xffffffff
cmp dword [ebp + 0x1c], 0
not edx
mov dword [esp + 0x10], edx
jge 0x1007b9a9
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
movzx ebx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1007b97a
push 0
push edx
push ebx
mov edx, 0x88
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x1007b9a9
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x88
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x14]
test ebx, ebx
jle 0x1007ba26
xor edi, edi
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax + edi*4]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007b9e4
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x4c
call fcn.10051a30
add esp, 0xc
jmp 0x1007ba17
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
inc edi
mov ebx, dword [eax + 0x14]
cmp edi, ebx
jl 0x1007b9b5
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x20], 0
jne 0x1007c098
cmp dword [ebp + 0xc], 0
jne 0x1007bcc6
mov al, byte [edi + 0x13]
test al, al
jne 0x1007ba49
inc dword [edi + 0x4c]
mov ebx, dword [edi + 0x4c]
jmp 0x1007ba55
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007ba80
push 0
push ebx
push edx
mov edx, 0x1f
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x1007baaf
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x58], edx
jg 0x1007bad8
push 0
push 0
push ebx
mov edx, 0x26
mov ecx, esi
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x1007bb0b
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x1007bb4b
cmp dword [ebp + 0x1c], 1
jne 0x1007bb4b
push ebx
push dword [esp + 0x14]
mov edx, 0x4f
mov ecx, esi
push dword [ebp + 0x18]
call fcn.10051a70
mov eax, dword [esi]
add esp, 0xc
cmp byte [eax + 0x45], 0
jne 0x1007bb48
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0x36
push eax
push edx
mov edx, dword [esp + 0x20]
call fcn.1007df10
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1007bb84
push ebx
push 0
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x1007bbb7
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1007bbdb
push 0
push dword [esp + 0x14]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1007bc12
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
add edx, 0xfffffffe
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x2c], ecx
cmp byte [eax + 0x45], 0
je 0x1007bc37
mov eax, 0x100fe494
jmp 0x1007bc4c
lea eax, [ecx - 1]
test edx, edx
cmovns eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x45], 0
je 0x1007bc6b
mov eax, 0x100fe494
jmp 0x1007bc80
mov ecx, dword [esp + 0x20]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test ebx, ebx
je 0x1007c098
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1007c098
xor ecx, ecx
lea eax, [edi + 0x7c]
nop dword [eax]
cmp dword [eax + 0xc], ebx
je 0x1007bcbd
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1007bca0
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ebx
inc byte [edi + 0x13]
jmp 0x1007c098
mov byte [eax + 6], 1
jmp 0x1007c098
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
mov dword [esp + 0x20], edx
cmp ebx, ecx
jg 0x1007bce1
lea eax, [ebx + edx]
sub ecx, ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x1007bcf0
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x20], ecx
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1007bcff
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
jmp 0x1007bd0b
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007bd3a
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x36
call fcn.10051a30
add esp, 0xc
jmp 0x1007bd71
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x36
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
mov ecx, edi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
call fcn.10075c60
mov edx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp byte [ecx + 0x45], 0
je 0x1007bda0
push edx
mov edx, 0xfffffffa
call fcn.10052480
add esp, 4
jmp 0x1007bdd6
mov eax, dword [eax + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1007bdcb
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffffa
push edx
mov edx, eax
call fcn.100526a0
add esp, 8
jmp 0x1007bdd6
test edx, edx
je 0x1007bdd6
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
test ebx, ebx
jle 0x1007be64
mov edx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
inc ecx
mov eax, dword [eax + edi*4]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007be1f
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x1e
mov ecx, esi
call fcn.10051a30
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x1007be56
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc edi
inc edx
mov dword [esp + 0x24], edx
cmp edi, ebx
jl 0x1007bde8
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x1007bfa6
cmp dword [ebp + 0x1c], 1
jne 0x1007bfa6
mov ecx, dword [esi + 0x20]
xor edx, edx
mov dword [esp + 0x24], edx
lea eax, [ecx + 1]
add eax, ebx
mov dword [esp + 0x28], eax
test ebx, ebx
jle 0x1007bf4e
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
inc edi
mov eax, dword [eax + edx*4]
add edi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 0x18]
inc edx
movsx eax, cx
add eax, edx
mov edx, dword [ebp + 8]
cmp cx, word [edx + 0x20]
mov ecx, dword [esi + 0x20]
cmove eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007bef1
push dword [esp + 0x2c]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x2c]
push edi
call fcn.10051a30
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x1007bf24
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x4e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x1007bf3a
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
inc edx
mov dword [esp + 0x24], edx
cmp edx, ebx
jl 0x1007be96
mov ecx, dword [esi + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007bf6f
push 0
push dword [esp + 0x14]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1007bfa6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [ebp + 0xc]
mov ecx, dword [edi]
call fcn.1007dfe0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x58], edx
jg 0x1007bfdb
push dword [esp + 0x18]
mov edx, 0x31
mov ecx, esi
push ebx
push dword [esp + 0x28]
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x1007c012
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
push ebx
push dword [esp + 0x30]
mov ecx, esi
call fcn.10052770
push 0
push dword [esp + 0x24]
mov edx, 0x45
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.10051fa0
add esp, 0x18
cmp dword [esp + 0x18], 0
je 0x1007c07a
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1007c07a
xor ecx, ecx
lea eax, [edi + 0x7c]
nop
mov edi, dword [esp + 0x18]
cmp dword [eax + 0xc], edi
mov edi, dword [esp + 0x1c]
je 0x1007c076
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1007c050
mov ecx, dword [esp + 0x18]
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ecx
inc byte [edi + 0x13]
jmp 0x1007c07a
mov byte [eax + 6], 1
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
call fcn.10069210
add esp, 4
cmp ebx, dword [edi + 0x3c]
jle 0x1007c098
mov eax, dword [esp + 0x20]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov edx, dword [ebp + 0x10]
mov cl, byte [edx + 0x18]
test cl, cl
jne 0x1007c13e
mov eax, dword [edi]
test dword [eax + 0x18], 0x1000000
jne 0x1007c13e
cmp dword [edi + 0x1a0], 0
jne 0x1007c13e
cmp byte [edi + 0x14], cl
jne 0x1007c13e
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x1007c100
mov ecx, edi
call fcn.10051860
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
je 0x1007c0ea
mov edx, 0x9e
mov ecx, ebx
call fcn.10051ae0
mov eax, dword [edi + 0x1a0]
test eax, eax
jne 0x1007c102
mov eax, dword [edi]
test byte [eax + 0x40], 8
jne 0x1007c100
mov byte [edi + 0x17], 1
mov eax, edi
push 0xfffffffffffffffe
push 0
push 0
push 2
push 0x313
mov edx, 0x15
mov byte [eax + 0x15], 1
mov ecx, ebx
call fcn.10051e60
mov eax, dword [ebx]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x1007c1af
mov eax, dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + ecx*4 - 0x11], 4
jmp 0x1007c1af
mov ebx, dword [ebp + 0x1c]
mov al, cl
test ebx, ebx
jle 0x1007c15d
test cl, cl
jne 0x1007c15d
mov eax, dword [edi + 0x1a0]
test eax, eax
cmovne edi, eax
mov byte [edi + 0x15], 1
mov al, byte [edx + 0x18]
mov ecx, dword [esi + 0x20]
movzx edx, al
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1007c180
push 0
push ebx
push edx
mov edx, 0x87
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x1007c1af
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1007c1cb
mov eax, dword [esp + 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x1007c1fb
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x3d
mov ecx, esi
call fcn.10051a30
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
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
pop ebx
mov esp, ebp
pop ebp
ret