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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov edx, dword [eax]
mov esi, dword [esp + 0x64]
mov eax, dword [ebp]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], 0
mov esi, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x67230861
push dword [eax + 0x10]
movzx eax, word [ebp + 0x5c]
push eax
call ecx
add esp, 8
test eax, eax
je 0x6723085d
mov eax, dword [esp + 0x68]
pop esi
pop ebp
mov dword [eax], 0x85
xor eax, eax
add esp, 0x50
ret
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x6c]
xor ecx, ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x50], eax
push ebx
lea eax, [ebp + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0xc], eax
mov ebx, 0xfffffffe
movzx edx, word [edx]
mov eax, 0x80
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
push edi
cmp dx, ax
je 0x672308bb
mov eax, 0x81
cmp dx, ax
je 0x672308bb
mov eax, 0x83
cmp dx, ax
je 0x672308bb
mov dword [esp + 0x38], ecx
jmp 0x672308ce
movzx ecx, word [esi - 4]
lea eax, [esi + 4]
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x28]
mov eax, 0x88
cmp dx, ax
mov edx, dword [esp + 0x8c]
jne 0x67230907
movzx eax, word [esi + 4]
mov dword [esp + 0x44], eax
mov word [esp + 0x54], ax
mov eax, dword [edx + 0x60]
mov dword [esp + 0x50], eax
mov ax, word [edx + 0x5e]
mov word [esp + 0x56], ax
lea eax, [esp + 0x50]
mov dword [edx + 0x60], eax
xor eax, eax
mov dword [esp + 0x40], 0
mov word [esi + 2], ax
lea edi, [esp + 0x10]
lea eax, [ebp*2 + 4]
mov ebp, esi
mov dword [esp + 0x4c], eax
add eax, esi
mov esi, dword [esp + 0x90]
test esi, esi
cmove edi, dword [esp + 0x40]
mov dword [esp + 0x48], edi
mov edi, ebx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x14], eax
je 0x6723096a
test ecx, ecx
je 0x6723096a
mov esi, 0x7d
mov word [eax], si
mov esi, dword [esp + 0x90]
mov word [eax + 2], cx
add eax, 4
add dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
push dword [esp + 0x48]
lea eax, [esp + 0x5c]
push edx
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.6722d260
add esp, 0x2c
test eax, eax
je 0x67230b7f
mov ecx, dword [esp + 0x34]
mov eax, 0xffffffff
cmovs ecx, eax
mov dword [esp + 0x34], ecx
test esi, esi
jne 0x67230a5e
cmp word [ebp], 0x78
je 0x672309f5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
jmp 0x67230a5e
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
cmp edi, eax
jne 0x67230a2e
cmp ecx, edx
jne 0x67230a2e
test edi, edi
js 0x67230a43
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, ecx
xor eax, ebx
test eax, 0xfffffffd
jne 0x67230a5b
cmp dword [esp + 0x18], edx
jne 0x67230a5b
mov dword [esp + 0x18], edx
or ebx, ecx
jmp 0x67230a5e
test edi, edi
js 0x67230a3c
test ebx, ebx
jns 0x67230a3c
mov dword [esp + 0x18], ecx
mov ebx, edi
or edi, 0xffffffff
mov dword [esp + 0x30], edi
test eax, eax
js 0x67230a0d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jns 0x67230a11
mov ecx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
jmp 0x67230a15
or ebx, 0xffffffff
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
and eax, 0xffff0000
cmp eax, 0x80010000
jne 0x67230ace
test esi, esi
je 0x67230a99
mov eax, dword [esp + 0x68]
add dword [esp + 0x10], 2
movzx ecx, word [edx]
mov eax, dword [eax]
add eax, dword [esp + 0x4c]
add edx, 4
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x8c]
jmp 0x6723093c
mov ecx, dword [esp + 0x14]
mov eax, 0x78
mov word [ecx], ax
mov eax, ecx
sub eax, ebp
mov ebp, ecx
sar eax, 1
mov word [ecx + 2], ax
mov dword [esp + 0x5c], ecx
movzx ecx, word [edx]
lea eax, [ebp + 4]
add edx, 4
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x8c]
jmp 0x6723093c
mov edi, dword [esp + 0x14]
test esi, esi
jne 0x67230afd
mov esi, edi
sub esi, ebp
sar esi, 1
nop dword [eax]
movzx ecx, word [ebp + 2]
mov eax, ecx
mov word [ebp + 2], si
neg eax
mov esi, ecx
lea ebp, [ebp + eax*2]
test ecx, ecx
jne 0x67230ae0
mov esi, dword [esp + 0x90]
mov eax, 0x79
mov word [edi], ax
mov eax, edi
sub eax, dword [esp + 0x28]
sar eax, 1
mov word [edi + 2], ax
add edi, 4
cmp dword [esp + 0x44], 0
jbe 0x67230b2a
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov dword [ebp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x6c]
mov dword [eax], edx
mov eax, dword [esp + 0x78]
mov dword [eax], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0x84]
mov dword [eax], ebx
test esi, esi
je 0x67230b8d
mov ecx, dword [esi]
mov eax, 0x7fffffeb
mov edx, dword [esp + 0x10]
sub eax, ecx
cmp eax, edx
jae 0x67230b89
mov eax, dword [esp + 0x70]
mov dword [eax], 0x78
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x50
ret
add ecx, edx
mov dword [esi], ecx
mov eax, dword [esp + 0x34]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x50
ret