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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x54], ecx
mov edi, edx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x44], ecx
mov ecx, edx
mov esi, eax
sar ecx, 0x10
mov dword [esp + 0x48], ebx
and ecx, 0x7fff
mov dword [esp + 0x40], ebx
xor ebx, ebx
add ecx, 0xffffc001
mov dword [esp + 0x58], eax
adc ebx, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], edx
mov edx, ebx
mov ebx, 0x2f
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
cmp ebx, eax
mov eax, ecx
sbb eax, edx
jl 0x6d13eba0
test edx, edx
js 0x6d13ec88
mov eax, dword [esp + 0x38]
mov edi, 0xffff
mov esi, 0xffffffff
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
movzx ecx, byte [esp + 0x60]
xor eax, eax
mov ebx, edx
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
cmovne esi, edi
cmovne edi, eax
mov eax, dword [esp + 0x68]
mov ecx, eax
and ebx, edi
or ebx, dword [esp + 0x44]
and ecx, esi
or ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
or ecx, ebx
je 0x6d13eb74
mov eax, dword [esp + 0x6c]
test eax, eax
jns 0x6d13eb14
movzx ecx, byte [esp + 0x60]
xor eax, eax
mov edx, 0x10000
shrd eax, edx, cl
sar edx, cl
mov ebx, edx
sar ebx, 0x1f
and ecx, 0x20
cmovne eax, edx
cmovne edx, ebx
add dword [esp + 0x68], eax
adc dword [esp + 0x6c], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
not esi
not edi
xor ecx, ecx
xor ebx, ebx
and eax, esi
and edx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x84], ebx
mov esi, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [ebp], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0xc], eax
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, 0x6f
cmp ebx, esi
sbb ecx, edi
jge 0x6d13ec20
mov ecx, esi
xor ch, 0x40
or ecx, edi
jne 0x6d13eb74
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0x70]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
call sub.libgcc_s_dw2_1.dll___addtf3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
jmp 0x6d13eb74
mov eax, dword [esp + 0x38]
mov esi, 0xffffffff
mov ebx, dword [esp + 0x44]
mov edi, esi
lea ecx, [eax - 0x30]
mov dword [esp + 0x68], eax
xor eax, eax
shr edi, cl
shrd esi, esi, cl
test cl, 0x20
mov ecx, dword [esp + 0x40]
cmovne esi, edi
cmovne edi, eax
and ecx, esi
and ebx, edi
or ecx, ebx
je 0x6d13eb74
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
test eax, eax
js 0x6d13ece0
not esi
not edi
mov ecx, esi
mov ebx, edi
and ecx, dword [esp + 0x48]
and ebx, dword [esp + 0x4c]
jmp 0x6d13eb30
mov dword [esp + 0x60], 0
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x64], 0
test edi, edi
jns 0x6d13eb30
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
and edi, 0x7fffffff
or ecx, esi
or ebx, edi
mov eax, ecx
or eax, ebx
je 0x6d13ed40
mov dword [esp + 0x60], 0
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x64], 0xbfff0000
jmp 0x6d13eb30
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, eax
xor ecx, 0x30
or ecx, edx
je 0x6d13ed2f
mov eax, dword [esp + 0x68]
mov ecx, 0x70
xor edx, edx
sub ecx, eax
xor eax, eax
test cl, 0x20
sete al
setne dl
shl edx, cl
shl eax, cl
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
adc dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp ecx, eax
mov eax, ebx
sbb eax, dword [esp + 0x44]
jae 0x6d13ec6e
add dword [esp + 0x60], 1
adc dword [esp + 0x64], 0
jmp 0x6d13ec6e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x80000000
jmp 0x6d13eb30