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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5ef7bc
sub esp, 0x8c
mov ecx, dword [esp + 0x90]
mov ebx, dword [ecx + 0x26c]
mov dword [esp + 0x50], ebx
mov ebp, dword [ecx + 0x268]
mov dword [esp + 0x60], ebp
mov esi, dword [ecx + 0x270]
mov dword [esp + 0x54], esi
xor eax, eax
jmp 0x5ef48d
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046ca7b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x64]
call fcn.0046cf5e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.005ed960
movzx ecx, byte [esp + 0x3d]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
cmp eax, ebx
jge 0x5ef534
mov dword [esp + 0x48], eax
mov edx, dword [ecx + 0x190]
mov edi, dword [edx]
mov dword [esp + 0x5c], edi
lea edi, [esp]
xor eax, eax
call fcn.0046ca7b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
call ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
movzx ecx, byte [esp + 0x36]
test cl, cl
jne 0x5ef50b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
movzx ecx, byte [esp + 0x31]
test cl, 8
sete cl
jmp 0x5ef50d
xor ecx, ecx
test cl, cl
je 0x5ef417
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.005ee610
mov eax, dword [esp + 0x90]
xor ecx, ecx
xor edx, edx
jmp 0x5ef5b6
mov dword [ecx + 0x26c], 0
mov dword [ecx + 0x270], 0
mov eax, dword [0xf34078]
test eax, eax
je 0x5ef568
mov eax, dword [ecx + 0x268]
call fcn.0046c7e0
mov dword [edi], eax
mov eax, dword [ecx + 0x25c]
mov dword [edi + 4], eax
mov dword [ecx + 0x268], 0
lea eax, [0x7f32f4]
mov dword [ecx + 0x25c], eax
mov dword [esp], ecx
call fcn.005f1550
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x8c
ret
inc ecx
mov ebx, dword [esp + 0x44]
lea edx, [edi + ebx]
mov dword [esp + 0x44], edx
cmp dword [eax + 0x184], ecx
jle 0x5ef679
cmp ecx, 0x20
jae 0x5ef7af
lea ebx, [eax + ecx*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
cmp edx, 0x80
ja 0x5ef7a3
lea ebx, [edx - 0x80]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
movzx esi, byte [esp + 0x24]
movzx edi, byte [esp + 0x25]
add edi, esi
xchg edi, eax
movzx eax, al
xchg edi, eax
lea ebx, [eax + ebx + 0x1d4]
cmp edi, 0x80
ja 0x5ef797
xchg esi, eax
movzx eax, al
xchg esi, eax
cmp esi, edi
ja 0x5ef78e
sub edi, esi
lea edx, [esi - 0x80]
neg edx
neg edx
sar edx, 0x1f
and edx, esi
lea edx, [eax + edx + 0x100]
cmp ebp, edi
jg 0x5ef645
mov edi, ebp
cmp edx, ebx
je 0x5ef5ae
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], edi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.0046d170
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
jmp 0x5ef5ae
nop
mov dword [eax + 0x184], 0
mov byte [eax + 0x180], 0
cmp edx, 0x80
ja 0x5ef782
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046ca7b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x78]
call fcn.0046cf5e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.005ed960
movzx ecx, byte [esp + 0x3d]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jb 0x5ef77d
mov edx, dword [esp + 0x54]
sub edx, eax
sub ecx, eax
mov ebx, dword [esp + 0x90]
mov dword [ebx + 0x26c], ecx
mov dword [ebx + 0x270], edx
mov ecx, dword [0xf34078]
neg edx
sar edx, 0x1f
and edx, eax
mov eax, dword [esp + 0x60]
add eax, edx
test ecx, ecx
je 0x5ef74d
call fcn.0046c7e0
mov dword [edi], eax
mov ecx, dword [ebx + 0x268]
mov dword [edi + 4], ecx
mov dword [ebx + 0x268], eax
lea eax, [ebx + 0x1d4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], pe_nt_image_headers32
add esp, 0x8c
ret
call fcn.0046c8b0
mov ecx, edx
mov edx, pe_nt_image_headers32
call fcn.0046c870
mov eax, esi
mov ecx, edi
call fcn.0046c8b0
mov ecx, edi
mov edx, pe_nt_image_headers32
call fcn.0046c870
mov eax, edx
mov ecx, pe_nt_image_headers32
call fcn.0046c8b0
mov eax, ecx
mov ecx, 0x20
call fcn.0046c850
nop
call fcn.0046b3d0
jmp fcn.005ef3d0