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

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
push 0x38
push ebp
mov dword [esp + 0x44], edi
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, byte [esi + 0x10]
add esp, 0xc
lea ecx, [eax + eax*8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x2c], 0x10
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
je 0x6ee183
xor eax, eax
jmp 0x6ee601
cmp ebx, dword [esp + 0x1c]
jae 0x6ee5ff
mov di, word [esp + 0x210]
mov ecx, 0x200
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
test ebp, ebp
jne 0x6ee5ff
test word [ebx + 0xc], cx
je 0x6ee5f0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x1a0]
mov eax, dword [edx + 0x1a4]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x6ee5e7
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x248]
mov dword [esp + 0x64], eax
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x38], ebx
cmp ebx, dword [esp + 0x18]
jae 0x6ee558
mov esi, dword [esp + 0x18]
nop
mov eax, 0x400
test word [ebx + 0xc], ax
je 0x6ee240
mov eax, dword [ebx + 0x18]
jmp 0x6ee27e
mov eax, dword [esp + 0x40]
cmp dword [ebx + 0x14], eax
jne 0x6ee535
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], ecx
mov byte [esp + 0x78], 0x2c
mov dword [esp + 0x7c], 1
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
mov esi, dword [esp + 0x2cc]
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], eax
xor eax, eax
mov word [esp + 0x248], ax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x6ee2ca
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
push esi
push dword [esp + 0x2d4]
call fcn.006edd00
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x6ee2e0
push esi
push dword [esp + 0x2cc]
call fcn.006ece00
add esp, 8
mov dword [esp + 0x14], eax
mov ebp, eax
test ebp, ebp
jne 0x6ee30c
push dword [esp + 0x2d4]
lea ecx, [esp + 0x5c]
push dword [esp + 0x2d4]
push esi
push dword [esp + 0x2d4]
call fcn.006ee100
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x14], ebp
mov si, word [esp + 0x248]
test si, si
je 0x6ee546
cmp dword [esp + 0x2c], 0
je 0x6ee358
movzx eax, si
shl eax, 4
push eax
lea eax, [esp + 0x254]
mov word [esp + 0x214], si
push eax
lea eax, [esp + 0x220]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x2c], 0
jmp 0x6ee525
movzx eax, di
shl eax, 4
push eax
lea eax, [esp + 0x21c]
mov word [esp + 0x284], di
push eax
lea eax, [esp + 0x290]
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx edx, word [esp + 0x28c]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x10], edi
mov word [esp + 0x210], di
mov dword [esp + 0x34], edx
test edx, edx
je 0x6ee531
lea ecx, [esp + 0x290]
movzx eax, si
mov dword [esp + 0x10], ecx
nop
mov dword [esp + 0x30], 0
test eax, eax
je 0x6ee509
movzx ebp, word [ecx + 2]
lea esi, [esp + 0x258]
movzx eax, word [ecx]
mov edx, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
movsx edi, bp
movsx ebx, ax
mov dword [esp + 0x28], esi
lea ebx, [ebx]
movzx edx, word [esi + 2]
movsx eax, dx
cmp bp, dx
jl 0x6ee424
lea ecx, [eax + 0x31]
cmp edi, ecx
jle 0x6ee408
movzx esi, bp
jmp 0x6ee44a
lea ecx, [eax + 0x1f]
cmp edi, ecx
jle 0x6ee414
lea eax, [ebp + 1]
jmp 0x6ee447
mov ecx, edi
sub ecx, eax
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x6ee447
lea ecx, [edi + 0x31]
cmp eax, ecx
jle 0x6ee42f
mov esi, edx
jmp 0x6ee44a
lea ecx, [edi + 0x1f]
cmp eax, ecx
jle 0x6ee43b
lea eax, [edx + 1]
jmp 0x6ee447
sub eax, edi
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx esi, ax
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
movzx edx, word [eax]
movzx eax, word [ebp]
movsx ecx, dx
cmp ax, dx
jl 0x6ee497
lea eax, [ecx + 0x31]
cmp ebx, eax
jle 0x6ee46f
mov ecx, ebp
movzx edx, word [ecx]
jmp 0x6ee4b9
lea eax, [ecx + 0x1f]
cmp ebx, eax
jle 0x6ee480
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx]
inc eax
jmp 0x6ee4b6
mov edx, dword [esp + 0x10]
mov eax, ebx
sub eax, ecx
movzx ecx, word [edx]
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
jmp 0x6ee4b6
lea eax, [ebx + 0x31]
cmp ecx, eax
jg 0x6ee4b9
lea eax, [ebx + 0x1f]
cmp ecx, eax
jle 0x6ee4aa
lea eax, [edx + 1]
jmp 0x6ee4b6
sub ecx, ebx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx edx, ax
mov ecx, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 4]
or eax, dword [esp + 0x54]
or ecx, dword [esi - 8]
push eax
push ecx
lea ecx, [esp + 0x21c]
call fcn.006e90d0
mov ecx, dword [esp + 0x3c]
add esi, 0x10
movzx eax, word [esp + 0x254]
inc ecx
mov ebp, dword [esp + 0x60]
add esp, 0xc
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
cmp ecx, eax
jl 0x6ee3f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add ecx, 0x10
sub edx, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
jne 0x6ee3b0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x14]
mov di, word [esp + 0x210]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x18]
add ebx, 0x30
mov dword [esp + 0x38], ebx
cmp ebx, esi
jb 0x6ee230
jmp 0x6ee554
xor edi, edi
mov dword [esp + 0x10], edi
mov word [esp + 0x210], di
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, 1
mov word [esi + 0x30], ax
xor ebx, ebx
mov eax, dword [esi + 0x38]
mov dword [eax], ecx
xor eax, eax
mov dword [esi + 0x2c], 0x2000
mov word [esi + 0x12], ax
mov byte [esi + 0x11], al
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
test ebp, ebp
jne 0x6ee5e3
movzx ebp, di
lea esi, [esp + 0x222]
mov edi, dword [esp + 0x20]
lea ecx, [ecx]
cmp ebx, ebp
jge 0x6ee5d7
movzx eax, word [esi - 2]
mov edx, edi
mov ecx, dword [esi - 6]
inc ax
mov word [edi + 0x14], ax
movzx eax, word [esi]
mov word [edi + 0x16], ax
mov eax, dword [esi - 0xa]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi], eax
call fcn.006eb870
inc ebx
mov dword [esp + 0x14], eax
add esi, 0x10
test eax, eax
je 0x6ee5a0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, 0x200
add ebx, 0x30
mov dword [esp + 0x24], ebx
cmp ebx, eax
jb 0x6ee1a2
mov eax, ebp
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0073297b
add esp, 0x2b4
ret