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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2d0
mov dword [esp + 0x18], edx
mov edi, ecx
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0x2c8], eax
mov esi, dword [ecx]
lea eax, [esp + 0x128]
push 0x1a0
push 0xff
push eax
call fcn.006719e0
add esp, 0xc
xor eax, eax
dec eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], edi
mov edx, dword [edi + 8]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov edi, dword [ecx + 0x18]
xor ecx, ecx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x120], ecx
pxor xmm0, xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], edx
movzx edx, byte [edx + 0x10]
lea edx, [edx + edx*8]
test byte [ecx + edx*8 + 0x2c], 0x10
jne 0x609e6f
test eax, eax
mov esi, edi
mov edi, 0
jle 0x609e71
mov edi, dword [ecx + edx*8 + 0x34]
mov dword [esp + 0x38], edi
add ecx, 8
lea ecx, [ecx + edx*8]
add ecx, 0x10
mov dword [esp + 0x3c], ecx
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
mov eax, dword [esp + 0x10]
add eax, 0x18
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 8], ecx
test byte [esi + 0xd], 2
jne 0x609963
xor edi, edi
jmp 0x609e5e
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
and ecx, dword [eax + 0x1a4]
mov edx, dword [edx + 8]
and edx, dword [eax + 0x1a0]
or edx, ecx
je 0x609da9
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x60], xmm0
lea eax, [esp + 0xb0]
mov dword [esp + 0x5c], eax
test ecx, ecx
mov dword [esp + 0xc], esi
jle 0x609db0
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, edx
mov dword [esp + 0x44], eax
xor ecx, ecx
xor esi, esi
inc esi
mov eax, edx
test byte [eax + 0xd], 4
mov dword [esp + 0x14], eax
jne 0x609a29
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x14], eax
mov eax, dword [esp + 0x14]
jne 0x609d92
mov ecx, dword [esp + 0x34]
mov edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov byte [esp + 0x130], 0x2a
xor eax, eax
inc eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], edx
lea eax, [esp + 0x128]
jmp 0x609a2c
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov word [esp + 0xb0], 0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
cmp byte [eax + 0x2b], 1
jne 0x609a61
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00608790
add esp, 0xc
jmp 0x609a74
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00609170
add esp, 4
mov ecx, eax
test eax, eax
jne 0x609a95
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00609840
add esp, 0xc
mov ecx, eax
movzx eax, word [esp + 0xb0]
test eax, eax
je 0x609db4
test esi, esi
jne 0x609d64
mov dword [esp + 0x40], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
xor eax, eax
dec eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movzx esi, word [esp + 0xf0]
mov word [esp + 0x70], si
mov eax, esi
shl eax, 4
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00670ee0
add esp, 0xc
mov word [esp + 0xf0], 0
test esi, esi
je 0x609d5c
mov dword [esp + 0x1c], 0
xor eax, eax
inc eax
test ax, ax
je 0x609d46
mov eax, dword [esp + 0x1c]
shl eax, 4
add eax, esp
add eax, 0x78
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x4c], ecx
shl ecx, 4
movzx esi, word [esp + ecx + 0xc2]
mov eax, dword [esp + 0x20]
movzx edi, word [eax + 0xa]
movsx eax, di
movsx edx, si
cmp ax, dx
jge 0x609b76
lea edi, [eax + 0x31]
cmp edi, edx
jl 0x609b72
lea edi, [eax + 0x1f]
cmp edi, edx
jge 0x609b87
inc esi
mov edi, esi
jmp 0x609ba7
lea esi, [edx + 0x31]
cmp esi, eax
jl 0x609ba7
lea esi, [edx + 0x1f]
cmp esi, eax
jge 0x609b98
inc edi
jmp 0x609ba7
mov esi, edx
sub esi, eax
movzx eax, byte [esi + str._n_n_t_t_b_b_a_a_a]
add edx, eax
mov edi, edx
jmp 0x609ba7
mov esi, eax
sub esi, edx
movzx edx, byte [esi + str._n_n_t_t_b_b_a_a_a]
add eax, edx
mov edi, eax
movzx esi, word [esp + ecx + 0xc0]
mov eax, dword [esp + 0x20]
movzx ebx, word [eax + 8]
movsx eax, bx
movsx edx, si
cmp ax, dx
mov dword [esp], edi
jge 0x609bd8
lea edi, [eax + 0x31]
cmp edi, edx
jl 0x609bd4
lea edi, [eax + 0x1f]
cmp edi, edx
jge 0x609bed
inc esi
mov ebx, esi
jmp 0x609bfc
lea esi, [edx + 0x31]
cmp esi, eax
jl 0x609bff
lea esi, [edx + 0x1f]
cmp esi, eax
jge 0x609d2b
inc ebx
jmp 0x609bff
mov esi, edx
sub esi, eax
movzx eax, byte [esi + str._n_n_t_t_b_b_a_a_a]
add edx, eax
mov ebx, edx
mov edi, dword [esp]
lea eax, [esp + ecx]
add eax, 0xb8
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x20]
or esi, dword [eax + 4]
mov dword [esp + 0x24], esi
or ecx, dword [eax]
mov dword [esp + 4], ecx
movzx eax, word [esp + 0xf0]
test eax, eax
je 0x609c82
lea esi, [esp + 0xf8]
mov dword [esp + 0x2c], eax
mov edi, eax
movzx eax, word [esi + 8]
cmp ax, bx
jl 0x609c54
mov ecx, dword [esi]
mov edx, dword [esi + 4]
not edx
and edx, dword [esp + 0x24]
not ecx
and ecx, dword [esp + 4]
or ecx, edx
je 0x609c9d
cmp ax, bx
jg 0x609c6e
mov eax, dword [esp + 4]
not eax
and eax, dword [esi]
mov ecx, dword [esp + 0x24]
not ecx
and ecx, dword [esi + 4]
or ecx, eax
je 0x609cbe
add esi, 0x10
dec di
jne 0x609c36
mov eax, dword [esp + 0x2c]
cmp ax, 3
mov edi, dword [esp]
jae 0x609cd5
mov ecx, eax
inc eax
mov word [esp + 0xf0], ax
shl ecx, 4
lea esi, [esp + ecx]
add esi, 0xf8
mov word [esi + 0xa], di
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
mov word [esi + 8], bx
mov eax, dword [esp]
cmp word [esi + 0xa], ax
jle 0x609cbe
mov eax, dword [esp]
mov word [esi + 0xa], ax
mov ecx, dword [esp + 0x4c]
inc ecx
movzx eax, word [esp + 0xb0]
cmp ecx, eax
jb 0x609b41
jmp 0x609d3f
mov dword [esp + 0x48], ebx
lea edx, [eax - 1]
lea eax, [esp + 0x108]
lea esi, [esp + 0xf8]
mov edi, esi
movzx ecx, word [esi + 8]
movzx ebx, word [eax + 8]
mov esi, eax
cmp cx, bx
jg 0x609cfd
mov esi, edi
add eax, 0x10
dec edx
jne 0x609cea
mov eax, dword [esp + 0x2c]
shl eax, 4
cmp cx, bx
lea ebx, [esp + 0xf8]
lea eax, [eax + ebx - 0x10]
cmovg edi, eax
mov ebx, dword [esp + 0x48]
cmp word [edi + 8], bx
jg 0x609c9d
jmp 0x609cbe
mov esi, eax
sub esi, edx
movzx edx, byte [esi + str._n_n_t_t_b_b_a_a_a]
add eax, edx
mov ebx, eax
jmp 0x609bff
movzx esi, word [esp + 0x70]
jmp 0x609d48
xor eax, eax
mov edx, dword [esp + 0x1c]
inc edx
movzx ecx, si
mov dword [esp + 0x1c], edx
cmp edx, ecx
jb 0x609b26
xor esi, esi
mov ecx, dword [esp + 0x40]
jmp 0x609d8e
mov word [esp + 0xf0], ax
shl eax, 4
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x100]
push eax
mov esi, ecx
call fcn.00670ee0
mov ecx, esi
add esp, 0xc
xor esi, esi
mov eax, dword [esp + 0x14]
add eax, 0x30
cmp eax, dword [esp + 0x44]
jb 0x6099cb
movzx ebx, word [esp + 0xf0]
jmp 0x609dc0
xor edi, edi
jmp 0x609e5a
xor edx, edx
jmp 0x609dc6
mov word [esp + 0xf0], 0
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov edx, ecx
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x30], 1
mov eax, dword [ecx + 0x38]
mov dword [eax], esi
mov dword [ecx + 0x2c], 0x2000
mov word [ecx + 0x12], 0
mov byte [ecx + 0x11], 0
pxor xmm0, xmm0
mov eax, dword [esp + 0x30]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
test edx, edx
jne 0x609e58
test bx, bx
je 0x609e58
mov dword [esp + 4], ebx
movzx edi, bx
lea ebx, [esp + 0x102]
xor esi, esi
inc esi
mov eax, dword [ebx - 2]
inc eax
mov edx, dword [esp + 0x10]
mov word [edx + 0x14], ax
movzx eax, word [ebx]
mov word [edx + 0x16], ax
movq xmm0, qword [ebx - 0xa]
movq qword [edx], xmm0
mov ecx, dword [esp + 0x28]
call fcn.0060a7d0
test eax, eax
jne 0x609e48
lea ecx, [esi + 1]
add ebx, 0x10
cmp esi, edi
mov esi, ecx
jb 0x609e13
mov edi, eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
jmp 0x609e5e
mov edi, edx
mov ecx, dword [esp + 8]
add esi, 0x30
cmp esi, ecx
jae 0x609e71
test edi, edi
je 0x609956
jmp 0x609e71
xor edi, edi
mov ecx, dword [esp + 0x2c8]
xor ecx, ebp
call fcn.0066e1f1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret