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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4efb9d
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor ebx, ebx
xor ebp, ebp
jmp 0x4ef913
lea esi, [edx + ebx*8]
mov edi, dword [esi + 4]
mov dword [esp + 0x3c], edi
mov esi, dword [esi]
mov dword [esp + 0x38], esi
shr edi, 1
mov dword [esp + 0x6c], edi
shr esi, 1
mov edi, dword [esp + 0x3c]
shl edi, 0x1f
or edi, esi
and edi, 0x55555555
mov esi, dword [esp + 0x6c]
and esi, 0x55555555
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x3c]
and esi, 0x55555555
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x38]
and esi, 0x55555555
inc ebx
add esi, edi
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
adc edi, esi
mov dword [esp + 0x64], edi
mov esi, edi
shr edi, 2
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x28]
shr edi, 2
shl esi, 0x1e
or esi, edi
and esi, 0x33333333
mov edi, dword [esp + 0x6c]
and edi, 0x33333333
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x64]
and edi, 0x33333333
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x28]
and edi, 0x33333333
add edi, esi
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
adc esi, edi
mov dword [esp + 0x64], esi
mov edi, esi
shr esi, 4
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x28]
shr esi, 4
shl edi, 0x1c
or edi, esi
mov esi, dword [esp + 0x28]
add edi, esi
mov dword [esp + 0x68], edi
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
adc esi, edi
and esi, 0xf0f0f0f
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x68]
and edi, 0xf0f0f0f
mov dword [esp + 0x28], edi
shr esi, 8
mov dword [esp + 0x6c], esi
shr edi, 8
mov esi, dword [esp + 0x2c]
shl esi, 0x18
or esi, edi
mov edi, dword [esp + 0x28]
add edi, esi
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
adc esi, edi
mov dword [esp + 0x64], esi
mov edi, esi
shr esi, 0x10
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x28]
shr esi, 0x10
shl edi, 0x10
or edi, esi
mov esi, dword [esp + 0x28]
add edi, esi
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
adc esi, edi
mov edi, dword [esp + 0x28]
add esi, edi
and esi, 0x7f
add ebp, esi
cmp ebx, ecx
jl 0x4ef7bc
mov dword [esp + 0x50], ebp
lea eax, [0x560820]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebp
call fcn.00449500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x50]
xor ebp, ebp
xor esi, esi
jmp 0x4ef968
inc ebp
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp ebp, ecx
jge 0x4ef97d
mov dword [esp + 0x4c], ebp
lea edi, [edx + ebp*8]
mov edx, dword [edi]
mov edi, dword [edi + 4]
jmp 0x4efa13
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
lea eax, [0x58638b]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004be6c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
lea edx, [0x5bfcc0]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x5bfcc4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044d040
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
mov dword [ebx], ecx
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
mov edi, edx
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x74], eax
test edx, edx
setne cl
test edi, edi
setne al
or eax, ecx
test al, al
je 0x4ef95b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
bsf eax, edx
jne 0x4efa41
mov eax, 0x20
mov dword [esp + 0x6c], eax
bsf ecx, edi
jne 0x4efa4f
mov ecx, 0x20
lea ebx, [esi + 1]
mov dword [esp + 0x5c], ebx
shl ebp, 6
cmp edx, 1
sbb esi, esi
xor esi, 0xffffffff
xchg esi, ebx
not ebx
xchg esi, ebx
and esi, ecx
mov dword [esp + 0x68], esi
lea ecx, [eax + esi]
mov dword [esp + 0x58], ecx
add ebp, ecx
mov dword [esp + 0x48], ebp
sar ebp, 0x1f
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 8], 0xa
call fcn.004743a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jb 0x4efab3
mov ebp, dword [esp + 0x74]
jmp 0x4efaf1
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x560820]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], edx
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x6c4f80]
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
lea edx, [edx + edi - 0x20]
mov dword [esp + 0x6c], edx
mov ecx, edx
mov edi, 1
shl edi, cl
mov ecx, dword [esp + 0x58]
mov eax, 1
shl eax, cl
neg edx
mov ecx, edx
mov esi, 1
shr esi, cl
lea ebx, [ebp + ebx*8 - 8]
mov ebp, dword [esp + 0x6c]
cmp ebp, 0x20
sbb ebp, ebp
and ebp, edi
mov edi, dword [esp + 0x58]
cmp edi, 0x20
sbb edi, edi
and edi, eax
xchg edi, ebx
not ebx
xchg edi, ebx
mov eax, dword [esp + 0x40]
and eax, edi
cmp ecx, 0x20
sbb edx, edx
and esi, edx
or esi, ebp
xchg esi, ebx
not ebx
xchg esi, ebx
mov edx, dword [esp + 0x44]
and edx, esi
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x4efb88
mov ecx, dword [esp + 0x70]
jmp 0x4ef9f9
call fcn.00460f00
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
jmp 0x4ef9f9
call fcn.0045faf0
jmp fcn.004ef790