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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x100ef48c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x2c], eax
push edi
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x3c], 0xff
call fcn.006eb3c0
xor edi, edi
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov word [eax], di
mov dword [esp + 0x24], ebx
mov byte [esp + 0x13], 0
call dword [0x100cf068]
mov esi, eax
add esi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
je 0x6e20b1
lea ecx, [esi + esi]
push ecx
call fcn.006eb370
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov edi, eax
xor edx, edx
mov eax, ebx
cmp word [eax], dx
je 0x6e236a
mov dword [esp + 0x14], edx
movzx eax, word [ebx]
cmp ax, 0x22
mov cl, byte [esp + 0xf]
jne 0x6e20fa
test cl, cl
jne 0x6e2907
cmp ax, ax
jne 0x6e20fa
cmp ebx, dword [ebp + 8]
jne 0x6e20fa
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx]
push edx
push edi
mov byte [esp + 0x17], 1
call dword [0x100ef7e8]
jmp 0x6e225f
cmp ax, 0x20
jne 0x6e224d
test cl, cl
jne 0x6e2251
mov edi, dword [esp + 0x14]
sar edi, 1
lea eax, [edi + 1]
xor esi, esi
test eax, eax
mov dword [esp + 0x24], esi
jbe 0x6e2131
lea edx, [eax + eax]
push edx
call fcn.006eb370
add esp, 4
mov dword [esp + 0x24], eax
mov esi, eax
add edi, edi
lea eax, [edi + 2]
push eax
push esi
call dword [0x100ef7e8]
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [0x100ef7ec]
xor eax, eax
mov ebx, esi
lea edi, [esp + 0xd8]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call fcn.00625be0
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00625be0
push 0x100da858
mov edx, edi
push edx
lea eax, [esp + 0xec]
push eax
call fcn.0067cef0
mov eax, dword [esp + 0x4c]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x6e21b9
call fcn.00622510
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], ebx
lea edi, [esp + 0xd8]
jmp 0x6e21c8
xor ebx, ebx
mov ecx, dword [edi]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push ebx
mov ebx, ecx
call fcn.006481a0
test eax, eax
jne 0x6e2286
mov eax, dword [edi]
push eax
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x6e21fa
mov eax, dword [edi]
push eax
call fcn.006ef990
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 1
add edi, 0xc
cmp eax, 2
mov dword [esp + 0x10], eax
jb 0x6e21c6
lea edi, [esp + 0xf0]
mov dword [esp + 0x10], 1
lea esp, [esp]
mov eax, dword [edi - 0xc]
sub edi, 0xc
xor ebx, ebx
cmp eax, ebx
je 0x6e2239
call fcn.00622510
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
sub dword [esp + 0x10], 1
jns 0x6e2220
cmp esi, ebx
je 0x6e225f
mov eax, esi
call fcn.00622510
jmp 0x6e225f
test cl, cl
je 0x6e225f
push edi
call dword [0x100cf068]
mov cx, word [ebx]
mov word [edi + eax*2], cx
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
add eax, 2
cmp word [eax], 0
mov dword [esp + 0x20], eax
je 0x6e236a
mov edi, dword [esp + 0x18]
mov ebx, eax
xor edx, edx
jmp 0x6e20c2
xor eax, eax
mov ebx, esi
lea edi, [esp + 0x94]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
call fcn.00625be0
mov ebx, dword [esp + 0x94]
lea edi, [esp + 0x34]
call fcn.00625be0
test ebx, ebx
je 0x6e22c6
mov eax, ebx
call fcn.00622510
push 0
lea edx, [esp + 0x138]
push edx
call fcn.006d5970
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x15c]
call fcn.006d5a20
mov esi, dword [ebp + 0xc]
call fcn.006ddf60
test eax, eax
lea esi, [esp + 0x15c]
je 0x6e2ad3
call fcn.006e2b30
mov eax, dword [esp + 0x138]
xor ebx, ebx
cmp eax, ebx
je 0x6e2313
call fcn.00622510
lea esi, [esp + 0xf0]
mov edi, 1
nop
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, ebx
je 0x6e2337
call fcn.00622510
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
sub edi, 1
jns 0x6e2320
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x6e2349
call fcn.00622510
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x6e2356
call fcn.00622510
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x6e2363
call fcn.00622510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call fcn.00625be0
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00625be0
push 0x100da858
mov eax, edi
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.0067cef0
mov esi, dword [esp + 0x30]
xor edi, edi
add esp, 0xc
cmp esi, edi
je 0x6e2411
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x27c]
call fcn.006e2c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x294], 0
je 0x6e2405
mov esi, dword [esp + 0x290]
call fcn.006c54d0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
xor esi, esi
lea edi, [esp + 0xa0]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov ebx, dword [edi]
push 0
call fcn.006481a0
test eax, eax
jne 0x6e2455
push ebx
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x6e2443
push ebx
call fcn.006ef990
add esp, 4
add esi, 1
add edi, 0xc
cmp esi, 2
jb 0x6e241a
xor ebx, ebx
jmp 0x6e285e
lea ecx, [esi + esi*2]
mov ebx, dword [esp + ecx*4 + 0xa0]
lea edi, [esp + 0x34]
call fcn.00625be0
xor esi, esi
push esi
lea edx, [esp + 0xf8]
push edx
call fcn.006d5970
mov ebx, 0x100cf494
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], 0x100da8f4
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00625be0
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x64], 0xff
call fcn.006eb3c0
mov esi, dword [ebp + 0xc]
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov word [edi], bx
call fcn.006ddf60
test eax, eax
push 0x100ef4b8
mov edx, 0x100ef4b4
jne 0x6e27a7
lea eax, [esp + 0x1bc]
call fcn.006e2c00
mov eax, dword [0x100ef808]
push edi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x1d4], bl
je 0x6e2503
mov esi, dword [esp + 0x1d0]
call fcn.006c54d0
mov esi, dword [esp + 0x50]
cmp esi, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
je 0x6e255e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x23c]
call fcn.006e2c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x254], bl
je 0x6e2552
mov esi, dword [esp + 0x250]
call fcn.006c54d0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov esi, dword [esp + 0xf8]
cmp esi, ebx
je 0x6e25b9
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1fc]
call fcn.006e2c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x214], bl
je 0x6e25a4
mov esi, dword [esp + 0x210]
call fcn.006c54d0
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
lea eax, [esp + 0xb8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 0xc]
sub eax, 0xc
cmp edi, ebx
mov dword [esp + 0x14], eax
je 0x6e26f1
mov eax, 0x100ef4b8
mov dword [esp + 0x10c], ebx
mov edx, dword [esp + 0x10c]
mov ecx, 0x100ef4b4
mov dword [esp + 0x114], ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x70]
mov esi, eax
mov eax, dword [edx]
cmp esi, eax
je 0x6e2678
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
test edx, edx
jne 0x6e2790
mov eax, dword [esp + 0x70]
push ebx
push esi
push eax
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x6e2790
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov eax, dword [esp + 0x78]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push edi
push 1
push edx
mov byte [esp + 0x90], al
call dword [0x100cf260]
cmp byte [esp + 0x84], bl
je 0x6e26e5
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x6e26e5
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x6e26e5
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
sub dword [esp + 0x10], 1
jns 0x6e25d0
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x6e273e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x17c]
call fcn.006e2c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x194], bl
je 0x6e273e
mov esi, dword [esp + 0x190]
call fcn.006c54d0
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x6e2363
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x19c]
call fcn.006e2c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x1b4], bl
je 0x6e2363
mov esi, dword [esp + 0x1b0]
call fcn.006c54d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [esp + 0x6c]
call fcn.006e5290
test al, al
jne 0x6e2678
jmp 0x6e2681
lea eax, [esp + 0x1dc]
call fcn.006e2c00
mov edx, dword [0x100ef808]
push edi
mov edi, dword [0x100cf260]
push 1
push edx
call edi
cmp byte [esp + 0x1f4], bl
je 0x6e27da
mov esi, dword [esp + 0x1f0]
call fcn.006c54d0
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x6e2818
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x21c]
call fcn.006e2c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call edi
cmp byte [esp + 0x234], bl
je 0x6e2818
mov esi, dword [esp + 0x230]
call fcn.006c54d0
mov esi, dword [esp + 0xf8]
cmp esi, ebx
je 0x6e285e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x25c]
call fcn.006e2c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x274], bl
je 0x6e285e
mov esi, dword [esp + 0x270]
call fcn.006c54d0
lea edi, [esp + 0xb8]
mov dword [esp + 0x10], 1
lea ecx, [ecx]
mov esi, dword [edi - 0xc]
sub edi, 0xc
cmp esi, ebx
je 0x6e28f5
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x29c]
call fcn.006e2c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x2b4], bl
je 0x6e28ed
mov esi, dword [esp + 0x2b0]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x6e28ed
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x6e28ed
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
sub dword [esp + 0x10], 1
jns 0x6e2870
xor ebx, ebx
jmp 0x6e2349
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0xbc]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], edx
call fcn.00625be0
xor eax, eax
lea edi, [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.00625be0
push 0x100da858
mov eax, edi
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.0067cef0
mov eax, dword [esp + 0x94]
add esp, 0xc
test eax, eax
je 0x6e2977
call fcn.00622510
xor esi, esi
lea edi, [esp + 0xbc]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [edi]
push 0
call fcn.006481a0
test eax, eax
jne 0x6e29bb
push ebx
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x6e29a9
push ebx
call fcn.006ef990
add esp, 4
add esi, 1
add edi, 0xc
cmp esi, 2
jb 0x6e2980
xor ebx, ebx
jmp 0x6e2a9f
lea eax, [esi + esi*2]
mov ebx, dword [esp + eax*4 + 0xbc]
lea edi, [esp + 0x34]
call fcn.00625be0
push 0
lea ecx, [esp + 0x14c]
push ecx
call fcn.006d5970
mov ebx, dword [esp + 0x20]
add ebx, 2
lea esi, [esp + 0x118]
call fcn.006d5a20
mov esi, dword [ebp + 0xc]
call fcn.006ddf60
test eax, eax
mov eax, dword [esp + 0x128]
jne 0x6e2a74
xor edi, edi
cmp eax, edi
je 0x6e2a0e
call fcn.00622510
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x6e2a1e
call fcn.00622510
mov eax, dword [esp + 0x14c]
cmp eax, edi
je 0x6e2a2e
call fcn.00622510
lea esi, [esp + 0xd4]
mov ebx, 1
lea ebx, [ebx]
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, edi
je 0x6e2a57
call fcn.00622510
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
sub ebx, 1
jns 0x6e2a40
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x6e2a69
call fcn.00622510
mov eax, dword [esp + 0x34]
cmp eax, edi
jmp 0x6e235c
xor ebx, ebx
cmp eax, ebx
je 0x6e2a7f
call fcn.00622510
mov eax, dword [esp + 0x11c]
cmp eax, ebx
je 0x6e2a8f
call fcn.00622510
mov eax, dword [esp + 0x14c]
cmp eax, ebx
je 0x6e2a9f
call fcn.00622510
lea esi, [esp + 0xd4]
mov edi, 1
jmp 0x6e2ab0
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, ebx
je 0x6e2ac7
call fcn.00622510
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
sub edi, 1
jns 0x6e2ab0
xor ebx, ebx
jmp 0x6e2349
call fcn.006e2b30
mov eax, dword [esp + 0x138]
test eax, eax
je 0x6e2ae8
call fcn.00622510
mov eax, 2
push 0x100019b0
lea ebx, [eax + 0xa]
lea ecx, [esp + 0xdc]
call fcn.0062c9c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6e2b0e
call fcn.00622510
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6e2b1b
call fcn.00622510
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x6e235c