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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ebx
mov esi, dword [edi + 8]
mov eax, dword [edi]
lea edx, [ebx + 8]
add esi, 0x28
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.1007b250
cmp dword [edi + 0x58], 7
mov dword [edi + 0x14], ebx
jne 0x1007b3fe
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x36], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 0x5d]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
cmp al, 1
jne 0x1007b495
mov eax, dword [edi + 8]
add eax, 0x168
mov dword [ebp - 0x1c], eax
test byte [eax + 0x1c], 0x10
je 0x1007b431
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 4]
shr edx, 2
mov dword [ebp - 0x10], edx
jmp 0x1007b433
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp edx, 2
jl 0x1007b477
lea eax, [edx - 1]
xor edx, edx
mov dword [ebp - 0x18], eax
xor esi, esi
mov edi, eax
mov eax, dword [ebx + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [ebx + ecx*4 + 4]
add ecx, 2
add esi, dword [eax + 4]
cmp ecx, edi
jl 0x1007b454
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
cmp ecx, edx
jge 0x1007b487
mov eax, dword [ebx + ecx*4]
mov ecx, dword [edi + 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [edi + 0x54]
lea eax, [edx + 1]
mov dword [edi + 0x54], eax
cmp edx, ecx
jge 0x1007b7e6
cmp byte [ebp - 1], 2
jne 0x1007b4bb
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [ebp - 8]
jne 0x1007b495
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xe0], 0
je 0x1007b500
mov eax, dword [str.interrupted]
mov ecx, str.unknown_error
test eax, eax
mov dword [edi + 0x58], 9
mov esi, 1
cmovne ecx, eax
lea eax, [edi + 0x34]
push ecx
push 0x10141f2c
push dword [ebp - 0xc]
push eax
call fcn.1005f510
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
cmp edx, eax
jge 0x1007b50c
mov eax, dword [edi + 4]
jmp 0x1007b532
sub edx, eax
xor ecx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x1007b52d
lea esp, [esp]
inc ecx
sub edx, eax
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x1007b520
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax]
cmp byte [edi + 0x5d], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, 4
mov dword [ebp - 8], ecx
jne 0x1007b605
mov word [esi + 0x1c], ax
mov eax, edx
cdq
mov dword [esi + 0x10], eax
mov eax, 0xa02
mov byte [esi + 0x1e], 1
mov dword [esi + 0x14], edx
mov word [esi + 0x44], ax
movzx eax, byte [ecx]
mov ecx, dword [eax*4 + 0x10131f40]
mov eax, ecx
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x1007b58d
cmp byte [ecx], 0
je 0x1007b586
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x1007b580
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 8]
mov word [esi + 0x46], 0x103
add esi, 0x50
cmp byte [eax + 1], 0xee
jne 0x1007b605
mov ecx, dword [ebp - 0x10]
lea eax, [ecx*4]
lea edx, [eax + 4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], edx
test ecx, ecx
jle 0x1007b5ce
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
cmp dword [ebx + eax*4], edx
je 0x1007b5cb
inc eax
cmp eax, ecx
jl 0x1007b5c1
mov edx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x1007b605
mov ebx, dword [ebp - 0x1c]
xor eax, eax
test ecx, ecx
mov ecx, ebx
setne al
push eax
call fcn.10078ff0
add esp, 4
test eax, eax
jne 0x1007b605
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x18]
or word [ebx + 0x1c], 0x10
mov dword [ebx + 0x18], eax
mov ebx, dword [ebp - 8]
mov ecx, 4
mov word [esi + 0x1c], cx
push 0
mov eax, dword [ebx + 4]
mov byte [esi + 0x1e], 1
cdq
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov word [esi + 0x44], cx
mov eax, dword [ebx + 8]
cdq
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
mov byte [esi + 0x46], 1
mov word [esi + 0x6c], cx
mov eax, dword [ebx + 0xc]
cdq
mov dword [esi + 0x64], edx
lea edx, [ecx + 0x1c]
mov dword [esi + 0x60], eax
mov byte [esi + 0x6e], 1
add esi, 0x78
mov ecx, esi
call fcn.10078ff0
add esp, 4
test eax, eax
jne 0x1007b3f2
mov edx, dword [esi + 4]
mov eax, 0x602
push ecx
mov ecx, ebx
mov word [esi + 0x1c], ax
call fcn.1007ae70
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x1007b735
test eax, eax
jne 0x1007b6cb
test byte [esi + 0x1c], 0x40
je 0x1007b6a0
mov edx, dword [esi + 0x10]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xac]
mov dword [edx + 4], eax
mov dword [ecx + 0xac], edx
test byte [esi + 0x1c], 0x20
je 0x1007b6ae
mov ecx, dword [esi + 0x10]
call fcn.10066f90
mov ax, word [esi + 0x1c]
mov ecx, 0xbf01
and ax, cx
mov byte [esi + 0x1e], 5
or ax, 1
mov word [esi + 0x1c], ax
jmp 0x1007b754
mov ecx, dword [esi]
test ecx, ecx
je 0x1007b6d6
mov ecx, dword [ecx + 0x4c]
jmp 0x1007b6db
mov ecx, 0x3b9aca00
xor ebx, ebx
test ecx, ecx
js 0x1007b6ec
cmp byte [ebx + eax], 0
je 0x1007b6ec
inc ebx
cmp ebx, ecx
jle 0x1007b6e1
xor eax, eax
mov ecx, esi
cmp eax, 0x1005f060
jne 0x1007b70c
call fcn.100793c0
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov eax, 0x202
jmp 0x1007b71c
call fcn.100793c0
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, 0xa02
mov dword [esi + 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [esi + 0x20], 0
mov word [esi + 0x1c], ax
mov word [esi + 0x1e], 0x103
jmp 0x1007b754
mov eax, ecx
test ecx, ecx
je 0x1007b74d
cmp byte [ecx], 0
je 0x1007b746
inc eax
cmp byte [eax], 0
jne 0x1007b740
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x18], eax
mov byte [esi + 0x1f], 1
mov byte [esi + 0x1e], 3
cmp byte [edi + 0x5d], 1
jne 0x1007b7b2
push 0
mov edx, 4
lea ecx, [esi + 0x28]
call fcn.10078ff0
add esp, 4
test eax, eax
jne 0x1007b3f2
mov eax, 0x602
mov dword [esi + 0x40], 2
mov word [esi + 0x44], ax
movzx eax, byte [ebx + 3]
push eax
push str._.2x
push dword [esi + 0x2c]
push 3
call fcn.10060860
mov word [esi + 0x46], 0x103
mov eax, 1
add esp, 0x10
mov word [esi + 0x6c], ax
mov byte [esi + 0x6e], 5
movzx eax, byte [edi + 0x5d]
mov ecx, 2
dec ax
mov dword [edi + 0x58], 0
sub cx, ax
mov esi, 0x64
mov eax, dword [edi + 8]
shl cx, 2
add eax, 0x28
mov dword [edi + 0x14], eax
mov eax, esi
mov word [edi + 0x2c], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x65
mov dword [edi + 0x58], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret