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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
lea eax, [esp + 0x70]
push eax
imul eax, dword [ebx + 0xc], 0x14
push dword [esp + 0x78]
mov dword [esp + 0x18], ecx
add eax, dword [ebx + 0x14]
push eax
push ecx
call fcn.67078088
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x670833cc
imul ecx, dword [ebx + 0xc], 0x14
lea eax, [esp + 8]
mov ebp, dword [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
push ebp
call fcn.67085a3a
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x670833cc
inc eax
cmp word [ebp + 0x1c], ax
jae 0x67082efb
mov eax, 0xffff
jmp 0x670833cc
push edi
lea eax, [esp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
add eax, eax
push eax
call fcn.67084b96
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], edi
pop ecx
pop ecx
test eax, eax
jne 0x670833cb
and dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
movzx ecx, word [ebp + 0x1c]
push esi
push eax
add ecx, ecx
push ecx
call fcn.67084b96
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
pop ecx
pop ecx
test eax, eax
jne 0x670833bb
movzx ecx, word [ebp + 0x2c]
lea eax, [esp + 0x14]
push eax
add ecx, ecx
mov dword [esp + 0x38], 1
push ecx
call fcn.67084b96
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x670833ac
imul ecx, dword [ebx + 0xc], 0x14
lea edx, [ebp + 0x20]
and dword [esp + 0x38], eax
push eax
mov eax, dword [ebx + 0x14]
push esi
mov dword [esp + 0x50], edx
movzx eax, word [ecx + eax]
push eax
push edx
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
mov edi, 0xffff
test eax, eax
je 0x67082fad
cmp eax, edi
jne 0x67083391
movzx ecx, word [esi]
mov eax, dword [ebp + 0x40]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x67082fce
push 0x1570
call fcn.67084bc1
pop ecx
jmp 0x6708338d
xor edx, edx
xor eax, eax
cmp dx, word [ecx]
jmp 0x67083381
movzx eax, ax
lea edi, [esp + 0x50]
imul esi, eax, 0x18
push 6
add esi, dword [ecx + 4]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
mov edi, 0xffff
mov edx, ecx
shr edx, 0x10
mov dword [esp + 0x20], edx
cmp word [esp + 0x80], di
je 0x67083016
cmp word [esp + 0x80], dx
jb 0x67083375
movzx eax, cx
mov dword [esp + 0x40], eax
cmp eax, dword [ebx + 0xc]
ja 0x67083375
movzx esi, word [esp + 0x64]
movzx eax, dx
mov dword [esp + 0x44], eax
add eax, esi
add eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 4]
ja 0x67083375
test cx, cx
je 0x67083115
mov ax, word [ebx + 0xc]
xor esi, esi
dec ax
movzx ebp, ax
xor eax, eax
mov dword [esp + 0x1c], ebp
cmp ax, cx
jae 0x67083115
lea eax, [esp + 0x78]
movzx ebp, bp
push eax
push dword [esp + 0x80]
imul eax, ebp, 0x14
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x670831ba
movzx edi, si
mov ebp, dword [esp + 0x1c]
cmp si, word [esp + 0x30]
jb 0x670830e4
mov eax, dword [esp + 0x2c]
push 0
lea eax, [eax + edi*2]
push eax
movzx eax, bp
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
mov eax, dword [esp + 0x80]
add eax, 0x10
push eax
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x670830dd
cmp eax, 0xffff
jne 0x67083391
movzx eax, si
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov ax, word [eax + edi*2]
cmp ax, word [ecx + edi*2]
mov edi, 0xffff
jne 0x67083375
inc esi
add ebp, edi
mov dword [esp + 0x1c], ebp
cmp si, word [esp + 0x60]
jb 0x67083063
mov edx, dword [esp + 0x20]
mov ax, word [ebx + 0xc]
xor ecx, ecx
inc ecx
inc ax
movzx edi, ax
mov esi, ecx
cmp cx, dx
jae 0x6708327e
movzx eax, di
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x67083212
cmp eax, 0xffff
jne 0x67083391
movzx eax, word [esp + 0x64]
movzx ebp, si
sub eax, ebp
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x44]
cmp eax, dword [ebx + 4]
je 0x67083370
inc edi
lea ecx, [esp + 0x78]
movzx eax, di
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x6708315e
jmp 0x67083215
mov edi, 0xffff
test eax, eax
je 0x670831c6
cmp eax, edi
jne 0x67083391
mov ecx, dword [esp + 0x40]
lea eax, [ebp + 1]
movzx edi, si
sub ecx, edi
cmp eax, ecx
je 0x67083370
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
movzx ebp, ax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x80]
imul eax, ebp, 0x14
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x670831b5
jmp 0x67083094
movzx ebp, si
cmp si, word [esp + 0x34]
jb 0x6708325a
mov eax, dword [esp + 0x28]
push 0
lea eax, [eax + ebp*2]
push eax
movzx eax, di
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
push dword [esp + 0x54]
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x67083253
cmp eax, 0xffff
jne 0x67083391
movzx eax, si
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ax, word [eax + ebp*2 - 2]
cmp ax, word [ecx + ebp*2]
jne 0x67083370
inc esi
inc edi
cmp si, word [esp + 0x20]
jb 0x6708312c
xor esi, esi
cmp si, word [esp + 0x64]
jae 0x670833d2
movzx eax, di
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6708330c
cmp eax, 0xffff
jne 0x67083391
movzx eax, word [esp + 0x64]
movzx ebp, si
sub eax, ebp
add eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 4]
je 0x67083370
inc edi
lea ecx, [esp + 0x78]
movzx eax, di
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x670832b9
jmp 0x6708330f
movzx ebp, si
cmp si, word [esp + 0x38]
jb 0x67083357
mov eax, dword [esp + 0x24]
push 0
lea eax, [eax + ebp*2]
push eax
movzx eax, di
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
mov eax, dword [esp + 0x80]
add eax, 0x30
push eax
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x67083350
cmp eax, 0xffff
jne 0x67083391
movzx eax, si
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov ax, word [eax + ebp*2]
cmp ax, word [ecx + ebp*2]
jne 0x67083370
inc esi
inc edi
jmp 0x67083280
mov edi, 0xffff
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
inc eax
cmp ax, word [ecx]
mov dword [esp + 0x3c], eax
jb 0x67082fda
mov eax, edi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x670833a4
push ecx
call fcn.67084bc6
mov eax, dword [esp + 0x18]
pop ecx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x670833bb
push esi
call fcn.67084bc6
mov eax, dword [esp + 0x18]
pop ecx
pop esi
test edi, edi
je 0x670833cb
push edi
call fcn.67084bc6
mov eax, dword [esp + 0x14]
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x5c
ret
push dword [esp + 0x84]
push ebx
push dword [esp + 0x64]
push dword [esp + 0x72]
push dword [esp + 0x30]
push dword [esp + 0x84]
call fcn.6707d989
add esp, 0x18
jmp 0x6708338d