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

Disassembly:
mov eax, 0x40
call fcn.004ae7f0
mov eax, dword [0x5f7448]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
push esi
xor edx, edx
push edi
mov dword [esp + 0x10], eax
xor eax, eax
xor edi, edi
test ecx, ecx
cmovs ecx, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
mov esi, 0x5876d8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
test cl, 0x40
jne 0x4eb013
test edx, edx
jg 0x4eaff0
jl 0x4eafe0
test ebx, ebx
jae 0x4eaff0
neg ebx
adc edx, eax
mov dword [esp + 0x1c], 0x2d
neg edx
jmp 0x4eb013
test cl, 2
je 0x4eafff
mov dword [esp + 0x1c], 0x2b
jmp 0x4eb013
test cl, 4
mov dword [esp + 0x20], 0x20
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
test cl, 8
je 0x4eb041
cmp eax, 8
jne 0x4eb02c
mov esi, 0x582488
mov dword [esp + 0x14], esi
jmp 0x4eb041
cmp dword [esp + 0x6c], 0x10
mov eax, 0x5a6314
cmovne eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
test cl, 0x20
mov ecx, 1
mov esi, edi
cmovne esi, ecx
test esi, esi
mov ecx, 0x57f8ac
mov dword [esp + 0x20], str.0123456789abcdef
cmove ecx, dword [esp + 0x20]
mov esi, ecx
push 0
push eax
push edx
push ebx
call fcn.004bba80
mov cl, byte [ecx + esi]
mov dword [esp + 0x24], ebx
mov byte [esp + edi + 0x30], cl
mov ebx, eax
mov ecx, ebx
inc edi
or ecx, edx
je 0x4eb08b
mov eax, dword [esp + 0x6c]
cmp edi, 0x1a
jl 0x4eb064
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], edi
cmp edi, 0x1a
jne 0x4eb0a3
mov edi, 0x19
mov dword [esp + 0x20], edi
jmp 0x4eb0a9
jae 0x4eb21f
mov ebx, dword [esp + 0x74]
mov edx, esi
mov ecx, ebx
mov byte [esp + edi + 0x30], 0
sub ecx, edi
lea esi, [edx + 1]
jmp 0x4eb0c0
mov al, byte [edx]
inc edx
test al, al
jne 0x4eb0c0
sub edx, esi
mov esi, dword [esp + 0x70]
cmp ebx, edi
mov eax, edi
cmovge eax, ebx
sub esi, eax
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
sub esi, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
sub esi, edx
cmovs esi, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], esi
test al, 0x10
je 0x4eb10c
cmp ecx, esi
cmovge esi, ecx
mov dword [esp + 0x28], esi
xor esi, esi
mov dword [esp + 0x70], esi
test al, 1
je 0x4eb116
neg esi
mov dword [esp + 0x70], esi
mov ebx, dword [esp + 0x2c]
test esi, esi
jle 0x4eb140
mov edi, dword [esp + 0x18]
push 0x20
push dword [esp + 0x14]
push edi
push ebx
push ebp
call fcn.004eaaf0
dec esi
add esp, 0x14
test esi, esi
jg 0x4eb122
mov edi, dword [esp + 0x20]
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4eb15b
push eax
push dword [esp + 0x14]
push dword [esp + 0x20]
push ebx
push ebp
call fcn.004eaaf0
add esp, 0x14
mov eax, dword [esp + 0x14]
mov al, byte [eax]
test al, al
je 0x4eb197
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea ecx, [ecx]
movsx eax, al
push eax
push edi
push esi
push ebx
push ebp
call fcn.004eaaf0
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
mov al, byte [eax]
add esp, 0x14
test al, al
jne 0x4eb170
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jle 0x4eb1c9
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push 0x30
push edi
push esi
push ebx
push ebp
call fcn.004eaaf0
mov eax, dword [esp + 0x3c]
dec eax
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jg 0x4eb1a6
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
test edi, edi
jle 0x4eb1ef
mov esi, dword [esp + 0x18]
movsx eax, byte [esp + edi + 0x2f]
dec edi
push eax
push dword [esp + 0x14]
push esi
push ebx
push ebp
call fcn.004eaaf0
add esp, 0x14
test edi, edi
jg 0x4eb1d1
mov esi, dword [esp + 0x70]
test esi, esi
jns 0x4eb20c
neg esi
push 0x20
push dword [esp + 0x14]
push dword [esp + 0x20]
push ebx
push ebp
call fcn.004eaaf0
add esp, 0x14
dec esi
jne 0x4eb1f5
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004adbd4
add esp, 0x40
ret
call fcn.004b1037
int3