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

Disassembly:
sub esp, 0xf8
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xfc]
push ebx
mov ebx, ecx
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2cc]
mov ecx, eax
push esi
mov esi, dword [ebx + 0x2c8]
and eax, 7
mov ebp, esi
and ebp, 7
mov dword [esp + 0x28], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x110]
mov edx, esi
sar edx, 3
sar ecx, 3
mov dword [esp + 0x28], ebp
mov word [esp + 0x3c], ax
xor ebp, ebp
mov eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
test ecx, ecx
jle 0x1007b6f7
mov dword [esp + 0x14], ecx
mov edi, eax
test edx, edx
jle 0x1007b631
lea ecx, [esi + esi*2]
lea ebp, [eax + esi*2]
lea ebx, [eax + esi*4]
lea eax, [eax + ecx*2]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
nop
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x8e]
push edx
mov word [esp + 0x90], cx
call fcn.1013f910
push 0x3f
lea eax, [esp + 0x55]
push 0
push eax
mov byte [esp + 0x5c], 0
call fcn.1013f910
mov eax, dword [esp + 0x34]
add esp, 0x18
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x98]
push edx
call fcn.10078f80
mov word [esp + 0x3c], ax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.100787c0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [edi], edx
mov edx, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x54]
mov dword [edi + esi], ecx
mov ecx, dword [esp + 0x58]
mov dword [edi + esi + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [ebp], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + ebp], edx
mov edx, dword [esp + 0x68]
mov dword [esi + ebp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x70]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x74]
mov dword [ebx + esi], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + esi + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + esi], edx
mov dword [eax + esi + 4], ecx
add eax, 8
add edi, 8
add ebp, 8
add ebx, 8
sub dword [esp + 0x24], 1
mov dword [esp + 0x34], eax
jne 0x1007b520
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
jle 0x1007b6db
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x8e]
push eax
mov word [esp + 0x90], dx
call fcn.1013f910
push 0x3f
lea ecx, [esp + 0x55]
push 0
push ecx
mov byte [esp + 0x5c], 0
call fcn.1013f910
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push eax
mov ecx, ebx
call fcn.10078f80
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x88]
push edx
mov ecx, ebx
mov word [esp + 0x44], ax
call fcn.100787c0
mov ebp, edi
lea edi, [esp + 0x44]
mov dword [esp + 0x24], 8
mov eax, dword [esp + 0x28]
push eax
push edi
push ebp
call fcn.1013fc90
add esp, 0xc
add edi, 8
add ebp, esi
sub dword [esp + 0x24], 1
jne 0x1007b6b8
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
lea ecx, [esi*8]
add eax, ecx
sub dword [esp + 0x14], 1
mov dword [esp + 0x30], eax
jne 0x1007b501
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x2c], 0
jle 0x1007b861
mov dword [esp + 0x10], eax
test edx, edx
jle 0x1007b7ba
mov dword [esp + 0x14], edx
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x8e]
push edx
mov word [esp + 0x90], cx
call fcn.1013f910
push 0x3f
lea eax, [esp + 0x55]
push 0
push eax
mov byte [esp + 0x5c], 0
call fcn.1013f910
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
add esp, 0x18
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call fcn.10078f80
lea edx, [esp + 0x44]
mov word [esp + 0x3c], ax
push edx
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.100787c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
test edx, edx
jle 0x1007b7a4
mov ebp, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
add eax, 8
add ecx, esi
sub edx, 1
jne 0x1007b790
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x1007b712
mov ebp, dword [esp + 0x18]
jmp 0x1007b7be
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x28], 0
jle 0x1007b865
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x8e]
push edx
mov word [esp + 0x90], cx
call fcn.1013f910
push 0x3f
lea eax, [esp + 0x55]
push 0
push eax
mov byte [esp + 0x5c], 0
call fcn.1013f910
mov eax, dword [esp + 0x54]
add esp, 0x18
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call fcn.10078f80
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.100787c0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea ebp, [esp + 0x44]
test eax, eax
jle 0x1007b85d
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
push ecx
push ebp
push edi
call fcn.1013fc90
add esp, 0xc
add ebp, 8
add edi, esi
sub dword [esp + 0x14], 1
jne 0x1007b842
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x20], 7
je 0x1007b86d
inc ebp
lea edx, [ebp + 2]
cmp edx, dword [ebx + 0x2c0]
jge 0x1007b89b
cmp byte [edi + ebp], 0
jne 0x1007b886
cmp byte [edi + ebp - 1], 0xff
jne 0x1007b886
inc ebp
cmp byte [edi + ebp], 0xff
jne 0x1007b89b
mov al, byte [edi + ebp + 1]
cmp al, 0xd0
jb 0x1007b89b
cmp al, 0xd7
ja 0x1007b89b
add ebp, 2
mov ecx, dword [esp + 0x104]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.1013d581
add esp, 0xf8
ret 8