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

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0xec
mov edi, dword [eax + 0xb4]
mov dword [esp + 0x8c], ecx
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x88], edx
mov ecx, dword [edi + 0x3318]
mov eax, dword [edi + 0x3330]
mov byte [esp + 0xa4], 0
mov byte [esp + 0xa5], 0
sar esi, cl
mov dword [esp + 0x54], ecx
movzx ecx, byte [esp + 0x54]
mov dword [esp + 0x58], eax
mov byte [esp + 0xa6], 0
mov byte [esp + 0xa7], 0
sar ebp, cl
imul eax, ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0xa8], 0
mov byte [esp + 0xa9], 0
mov dword [esp + 0x70], eax
mov ebx, eax
mov eax, dword [esp + 0x68]
add ebx, esi
mov byte [esp + 0xaa], 0
mov byte [esp + 0xab], 0
mov ebp, dword [eax + 0xb8]
mov byte [esp + 0xac], 0
mov byte [esp + 0xad], 0
mov edx, dword [ebp + 0x674]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x98], ecx
mov byte [esp + 0xae], 0
cmp byte [ebp + 0x2a], 0
mov byte [esp + 0xaf], 0
mov byte [esp + 0x74], 0
je 0x6c49adf0
cmp byte [ebp + 0x35], 0
mov eax, dword [esp + 0x68]
sete byte [esp + 0x74]
mov eax, dword [eax + 0xd88]
xor edx, edx
mov dword [esp + 0xd0], 0
mov dword [esp + 0x60], eax
imul eax, ebx, 0xb8
add eax, dword [esp + 0x60]
test esi, esi
sete dl
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x58]
test eax, eax
sete cl
sub edx, 1
xor eax, eax
cmp edx, esi
mov edx, dword [edi + 0x3334]
sete al
mov dword [esp + 0xb8], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
sub edx, 1
cmp edx, dword [esp + 0x44]
mov dword [esp + 0xb4], ecx
mov eax, dword [eax + 0x1cbc]
sete dl
movzx edx, dl
mov dword [esp + 0x78], edx
mov dword [esp + 0xbc], edx
movzx edx, byte [eax + ebx]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x9d], dl
test eax, eax
jne 0x6c49b047
cmp byte [esp + 0x74], 0
mov byte [esp + 0x9e], 0
je 0x6c49aedc
mov ecx, dword [esp + 0x84]
mov eax, dword [ebp + 0x67c]
mov edx, dword [ebp + 0x67c]
mov ecx, dword [ecx + ebx*4 - 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x98]
cmp dword [edx + eax*4], ecx
setne byte [esp + 0x9e]
mov eax, dword [esp + 0x70]
lea ecx, [esi + eax - 1]
imul edx, ecx, 0xb8
add edx, dword [esp + 0x60]
cmp byte [esp + 0x9d], 0
mov dword [esp + 0xc4], edx
je 0x6c49b34a
movzx eax, byte [esp + 0x9e]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x64]
movzx edx, byte [esp + 0x6c]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x94], 3
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], dl
mov byte [esp + 0xa6], dl
mov dword [esp + 0x90], 8
mov byte [esp + 0x9f], cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], 2
test ecx, ecx
jne 0x6c49b079
cmp byte [esp + 0x74], 0
mov byte [esp + 0x80], 0
je 0x6c49afa0
mov ecx, dword [esp + 0x84]
mov edx, ebx
sub edx, dword [esp + 0x58]
mov eax, dword [ebp + 0x67c]
mov ebp, dword [esp + 0x98]
mov edx, dword [ecx + edx*4]
mov ecx, dword [eax + edx*4]
cmp dword [eax + ebp*4], ecx
setne byte [esp + 0x80]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x6c]
sub ecx, 1
imul ecx, dword [esp + 0x58]
mov eax, ecx
add eax, esi
imul edx, eax, 0xb8
add edx, dword [esp + 0x60]
cmp byte [esp + 0x9d], 0
mov dword [esp + 0x74], ecx
mov dword [esp + ebp*4 + 0xc0], edx
je 0x6c49b322
movzx edx, byte [esp + 0x80]
mov byte [esp + 0xa8], dl
mov ebp, dword [esp + 0x6c]
mov byte [esp + 0xa9], dl
mov edx, dword [esp + 0x64]
mov dword [esp + ebp*4 + 0xd0], 1
movzx edx, byte [edx + eax]
mov byte [esp + 0x58], dl
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x6c49b36a
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x84], 4
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x6c], ecx
mov ebp, dword [edx + 0x20]
jmp 0x6c49b091
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x94], 2
mov byte [esp + 0x9e], 0
mov dword [esp + 0x90], 0
test ecx, ecx
mov dword [esp + 0x6c], 1
je 0x6c49af66
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], 0
mov edx, dword [eax + 0xa0]
mov ebp, dword [edx + 0x20]
mov eax, dword [esp + 0x54]
mov esi, edx
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x5c]
test edx, edx
mov edx, dword [esp + 0x88]
setne bl
mov ecx, ebx
sar edx, cl
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x8c]
sar edx, cl
mov ecx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x5c]
mov edx, dword [edi + edx*4 + 0x3354]
mov dword [esp + 0x4c], edx
mov edx, 1
shl edx, cl
movzx ecx, byte [esp + 0x4c]
mov eax, edx
mov edx, dword [edi + 0x3328]
sar eax, cl
sar edx, cl
sub edx, dword [esp + 0x54]
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
mov ecx, dword [edi + edx*4 + 0x3360]
mov edx, dword [edi + 0x332c]
sar edx, cl
sub edx, dword [esp + 0x58]
cmp edx, eax
cmovle eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x38]
mov edi, dword [esp + 0x54]
imul edx, ebp
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x5c]
add edx, edi
mov edi, dword [esp + 0x84]
mov esi, dword [esi + ecx*4]
add esi, edx
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x68]
mov ecx, dword [esi + 0xa4]
mov esi, dword [esp + 0x5c]
add edx, dword [ecx + esi*4]
mov ecx, ebx
mov esi, dword [esp + 0x90]
sar edi, cl
mov dword [esp + 0x74], edx
mov edx, edi
imul edx, ebp
sar esi, cl
mov ecx, eax
mov eax, dword [esp + 0x78]
mov ebx, esi
shl ebx, cl
add edi, dword [esp + 0x64]
add ebx, edx
test eax, eax
cmove edi, dword [esp + 0x64]
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x7c]
add esi, dword [esp + 0x60]
test eax, eax
cmove esi, dword [esp + 0x60]
neg ebx
shl esi, cl
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x70]
add esi, ebx
add ebx, dword [esp + 0x74]
test edi, edi
jle 0x6c49b1d1
xor edi, edi
nop
lea esi, [esi]
mov edx, dword [esp + 0x54]
add edi, 1
mov dword [esp + 4], esi
add esi, ebp
mov dword [esp], ebx
add ebx, ebp
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
cmp edi, dword [esp + 0x58]
jne 0x6c49b1b0
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x74]
movzx edx, byte [eax + esi + 0xb4]
cmp dl, 1
je 0x6c49b281
cmp dl, 2
jne 0x6c49b260
mov edx, dword [esp + ebx*4 + 0xd0]
movzx ecx, byte [esp + edx + 0xac]
mov dword [esp + 0x28], ecx
movzx ecx, byte [esp + edx + 0xa8]
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + edx + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 8], ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x10], ecx
call dword [eax + edx*4 + 0x1720]
add ebx, 1
cmp dword [esp + 0x6c], ebx
jle 0x6c49b2ce
mov eax, dword [esp + ebx*4 + 0xc0]
movzx edx, byte [eax + esi + 0xb4]
cmp dl, 1
jne 0x6c49b1f3
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + ebx*4 + 0xd0]
add ebx, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x10], ecx
call dword [eax + edx*4 + 0x1710]
cmp dword [esp + 0x6c], ebx
jg 0x6c49b269
add dword [esp + 0x5c], 1
cmp dword [esp + 0x5c], 3
je 0x6c49b317
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x68]
mov esi, dword [edx + 0xa0]
mov edx, dword [esp + 0x5c]
mov edi, dword [eax + 0xb4]
mov ebp, dword [esi + edx*4 + 0x20]
mov edx, dword [esp + 0xbc]
mov eax, dword [edi + 0x3318]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x7c], edx
jmp 0x6c49b09f
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x68]
mov edx, dword [edx + 0x1ca4]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x40]
mov edx, 1
mov ebp, dword [ecx + eax*4]
cmp dword [ecx + ebx*4], ebp
jne 0x6c49afdf
jmp 0x6c49afd7
mov eax, dword [esp + 0x68]
mov byte [esp + 0x6c], 1
mov eax, dword [eax + 0x1ca4]
mov edx, dword [eax + ecx*4]
cmp dword [eax + ebx*4], edx
jne 0x6c49af0f
jmp 0x6c49af03
mov ecx, dword [esp + 0x74]
sub esi, 1
mov ebp, dword [esp + 0x94]
add dword [esp + 0x6c], 2
add ecx, esi
imul edx, ecx, 0xb8
add edx, dword [esp + 0x60]
mov dword [esp + ebp*4 + 0xd0], 3
cmp byte [esp + 0x58], 0
mov dword [esp + ebp*4 + 0xc0], edx
mov ebp, dword [esp + 0x68]
mov edx, dword [ebp + 0x1ca4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x60], eax
je 0x6c49b492
movzx eax, byte [esp + 0x9e]
cmp byte [esp + 0x9f], 0
mov byte [esp + 0xa5], al
mov byte [esp + 0xa7], al
je 0x6c49b4ee
mov eax, dword [esp + 0x70]
lea esi, [eax + esi]
mov dword [esp + 0x5c], esi
movzx eax, byte [esp + 0x80]
cmp byte [esp + 0x9d], 0
mov byte [esp + 0xaa], al
mov byte [esp + 0xab], al
jne 0x6c49b4a9
mov esi, dword [edx + ecx*4]
mov eax, 1
cmp dword [edx + ebx*4], esi
je 0x6c49b4a9
mov ebp, dword [esp + 0x5c]
mov byte [esp + 0xac], al
mov byte [esp + 0xaf], al
mov eax, dword [esp + 0x60]
cmp dword [edx + ebp*4], eax
jle 0x6c49b4bd
movzx edx, byte [esp + 0x80]
mov eax, 1
or dl, byte [esp + 0x9e]
cmp byte [esp + 0x9f], 0
cmovne eax, edx
mov byte [esp + 0xae], al
mov byte [esp + 0xad], al
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0xa0]
mov ebp, dword [edx + 0x20]
mov dword [esp + 0x84], 4
jmp 0x6c49b091
mov ebp, dword [esp + 0x60]
mov eax, 1
cmp ebp, dword [edx + ecx*4]
jne 0x6c49b3bf
jmp 0x6c49b3b7
movzx eax, byte [esp + 0x80]
or al, byte [esp + 0x9e]
jmp 0x6c49b41b
jge 0x6c49b50c
movzx edx, byte [esp + 0x80]
mov eax, 1
or dl, byte [esp + 0x9e]
cmp byte [esp + 0x58], 0
cmovne eax, edx
mov byte [esp + 0xad], al
mov byte [esp + 0xae], al
jmp 0x6c49b467
add esi, dword [esp + 0x70]
mov eax, 1
mov ebp, dword [edx + ecx*4]
cmp dword [edx + esi*4], ebp
mov dword [esp + 0x5c], esi
jne 0x6c49b3ee
jmp 0x6c49b3e6
movzx eax, byte [esp + 0x80]
or al, byte [esp + 0x9e]
jmp 0x6c49b459