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

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x3c]
test eax, 0x1000
je 0x6c7f6f74
mov ecx, dword [esp + 0x40]
jmp 0x6c7f6f84
mov ecx, dword [esp + 0x40]
test ecx, 0x1000
jne 0x6c7f6f84
cmp ecx, eax
jne 0x6c7f6fc2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea edx, [0x6c7f7210]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x28]
mov dword [esp], edx
call fcn.6c818ef0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6c7f6fdb
mov esi, dword [esp + 0x1c]
lea edx, [esi + 1]
mov ecx, dword [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x38]
test byte [esi], al
lea edi, [esi + 0x48]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.6c7c22a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6c7f70ba
mov eax, dword [esp + 0x3c]
cmp eax, 4
jne 0x6c7f7025
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x48], 1
jne 0x6c7f7029
jmp 0x6c7f71ef
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x6c7f703b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
jmp 0x6c7f7051
call fcn.6c81b2c0
mov eax, dword [esp]
add eax, 0x1388
mov ebx, dword [esp + 4]
adc ebx, 0
mov ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
call fcn.6c81b2c0
mov eax, dword [esp + 0x14]
cmp dword [esp], eax
setb cl
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x18]
cmp ebx, edx
setg dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
je 0x6c7f7093
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
xor ebp, ebp
jmp 0x6c7f71dc
lea eax, [0x6c899104]
mov dword [esp], eax
call fcn.6c818ef0
call fcn.6c81b2c0
mov eax, dword [esp]
add eax, 0x9c4
mov ebx, dword [esp + 4]
adc ebx, 0
jmp 0x6c7f6fca
mov eax, dword [esp + 0x3c]
cmp eax, 2
jne 0x6c7f70de
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0x71]
test dl, 7
jne 0x6c7f70d4
mov byte [ecx + 0x70], 1
movzx edx, byte [ecx + 0x71]
inc edx
mov byte [ecx + 0x71], dl
jmp 0x6c7f70e2
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0x70]
test dl, dl
je 0x6c7f71a9
cmp eax, 1
jne 0x6c7f714a
nop
call fcn.6c81b2c0
mov eax, dword [esp]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x74]
mov ebx, eax
sub eax, edx
mov ebp, dword [ecx + 0x7c]
mov dword [esp + 0x24], ebp
mov esi, eax
add eax, ebp
mov edi, dword [ecx + 0x80]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 4]
mov ebp, dword [ecx + 0x78]
mov dword [ecx + 0x7c], eax
sub ebx, edx
sbb edi, ebp
mov eax, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x20]
adc edi, eax
mov dword [ecx + 0x80], edi
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x6c7f7192
cmp eax, 2
jne 0x6c7f71a9
mov byte [ecx + 0x70], 0
mov eax, dword [ecx + 0x7c]
mov edx, dword [ecx + 0x80]
lea ebx, [0x6c91ad28]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.6c7c8120
mov eax, dword [esp + 0x38]
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
jmp 0x6c7f71a9
nop
call fcn.6c81b2c0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x38]
mov dword [edx + 0x78], eax
mov dword [edx + 0x74], ecx
add esp, 0x34
ret
mov dword [esp + 0x10], ebp
mov dword [esp], 1
call fcn.6c81a070
mov eax, dword [esp + 0x10]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
cmp ebp, 0xa
jge 0x6c7f6fca
cmp dword [edx + 0x48], ecx
jne 0x6c7f71ad
jmp 0x6c7f6fca
lea eax, [0x6c897df9]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.6c7f2ef0
nop
int3