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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x561be8]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0xe0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4e1ed2
mov al, byte [esp + 0xe0]
test al, al
je 0x4e1f00
lea eax, [esp + 0xe0]
mov edi, edi
cmp byte [eax], 0x2f
jne 0x4e1ef8
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4e1ef0
push ebx
push ebp
push esi
lea eax, [esp + 0xec]
push edi
push eax
call fcn.005071de
mov edi, dword [0x56a6d8]
mov esi, dword [esp + 0x30c]
add esp, 4
test edi, edi
mov dword [esp + 0x300], eax
mov dword [esp + 0x10], edi
je 0x4e230d
test esi, esi
je 0x4e1f5e
cmp byte [esi], 0
je 0x4e1f5e
push esi
call fcn.004e1470
mov esi, eax
push esi
push edi
mov dword [esp + 0x314], esi
call fcn.004a5029
add esp, 0xc
test eax, eax
jne 0x4e22f7
mov eax, dword [edi + 0x14c]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4e1f79
push edi
call fcn.004de060
add esp, 4
mov dword [esp + 0x14], eax
push eax
call fcn.004dd650
add esp, 4
test eax, eax
jne 0x4e22d4
mov esi, dword [esp + 0x300]
mov eax, esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
jmp 0x4e1fb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e1fb0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.0040279a
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
add esi, 0x140
mov ecx, esi
call fcn.004cfff0
mov ebp, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4e2041
cmp dword [eax + 0x24], 0x10
mov ebx, dword [eax + 0x20]
jb 0x4e1ff3
mov eax, dword [eax + 0x10]
jmp 0x4e1ff6
add eax, 0x10
mov ecx, dword [esp + 0x38]
cmp ecx, ecx
mov edx, ecx
jae 0x4e2000
test edx, edx
je 0x4e202c
cmp edx, ebx
mov ecx, edx
jb 0x4e200c
mov ecx, ebx
cmp dword [esp + 0x3c], 0x10
mov esi, dword [esp + 0x28]
jae 0x4e201b
lea esi, [esp + 0x28]
mov edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4e2028
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e2039
cmp edx, ebx
jb 0x4e2041
xor eax, eax
cmp edx, ebx
setne al
test eax, eax
jl 0x4e2041
lea eax, [esp + 0x18]
jmp 0x4e2049
mov dword [esp + 0x44], ebp
lea eax, [esp + 0x44]
mov esi, dword [eax]
cmp dword [esp + 0x3c], 0x10
jb 0x4e205f
mov edx, dword [esp + 0x28]
push edx
call fcn.00507ed8
add esp, 4
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x144]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
je 0x4e2099
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004dde00
add esp, 8
test eax, eax
jne 0x4e22b8
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0x104
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.004dd610
mov al, byte [esp + 0x214]
add esp, 0x20
test al, al
je 0x4e20e5
lea eax, [esp + 0x1f4]
cmp byte [eax], 0x2f
jne 0x4e20dd
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4e20d5
lea eax, [esp + 0x1f4]
push eax
call fcn.005071de
mov edi, eax
mov eax, dword [esp + 0x304]
add esp, 4
mov dword [esp + 0x1c], edi
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e212c
test cl, cl
je 0x4e2128
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e212c
add eax, 2
add esi, 2
test cl, cl
jne 0x4e2104
xor eax, eax
jmp 0x4e2131
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e233b
mov eax, edi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e2153
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x50]
call fcn.0040279a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x48]
add esi, 0x140
push eax
mov ecx, esi
call fcn.004cfff0
mov ebx, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4e21e4
cmp dword [eax + 0x24], 0x10
mov ebp, dword [eax + 0x20]
jb 0x4e2196
mov eax, dword [eax + 0x10]
jmp 0x4e2199
add eax, 0x10
mov ecx, dword [esp + 0x5c]
cmp ecx, ecx
mov edx, ecx
jae 0x4e21a3
test edx, edx
je 0x4e21cf
cmp edx, ebp
mov ecx, edx
jb 0x4e21af
mov ecx, ebp
cmp dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x4c]
jae 0x4e21be
lea esi, [esp + 0x4c]
mov edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4e21cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e21dc
cmp edx, ebp
jb 0x4e21e4
xor eax, eax
cmp edx, ebp
setne al
test eax, eax
jl 0x4e21e4
lea eax, [esp + 0x18]
jmp 0x4e21ec
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x40]
mov esi, dword [eax]
cmp dword [esp + 0x60], 0x10
jb 0x4e2202
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00507ed8
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x144]
xor ebp, ebp
cmp esi, eax
mov ebx, 0xf
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
jne 0x4e22b8
mov edx, dword [esp + 0x14]
push edx
call fcn.004dddd0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, esi
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e2250
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.0040279a
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x88]
call fcn.004d04d0
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [edi + 0x140]
call fcn.004e1c70
lea ecx, [esp + 0x80]
call fcn.004e16b0
cmp dword [esp + 0x7c], 0x10
jb 0x4e22ab
mov eax, dword [esp + 0x68]
push eax
call fcn.00507ed8
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004dd6a0
add esp, 4
test eax, eax
je 0x4e1f8a
mov esi, dword [esp + 0x308]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e22f3
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
jne 0x4e22f3
push eax
call fcn.004de070
add esp, 4
test esi, esi
jne 0x4e2315
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x150]
test edi, edi
mov dword [esp + 0x10], edi
jne 0x4e1f34
test esi, esi
je 0x4e2432
cmp byte [esi], 0
je 0x4e2432
mov eax, dword [esp + 0x300]
push esi
push eax
push str.Cant_find__s_from_packs__s.
push 0
call fcn.004d40b0
add esp, 0x10
jmp 0x4e2449
mov ebx, dword [esp + 0x10]
mov cl, byte [ebx + 0x100]
mov ebp, dword [esp + 0x14]
lea eax, [ebx + 0x100]
neg cl
sbb ecx, ecx
and eax, ecx
push eax
push ebp
call fcn.004de390
add esp, 8
test eax, eax
je 0x4e2385
mov edx, dword [esp + 0x300]
push ebx
push edx
push str.Cant_load__s_from_packs__s.
push 0
call fcn.004d40b0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x4e23e4
mov eax, dword [esp + 0xbc]
push eax
mov edi, eax
call fcn.004a340f
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e23b6
mov eax, dword [esp + 0x300]
push ebx
push eax
push str.Cant_load__s_from_packs__s.
push esi
call fcn.004d40b0
add esp, 0x10
jmp 0x4e23e4
push edi
push esi
push ebp
call fcn.004dda80
add esp, 0xc
test eax, eax
jge 0x4e23e4
push esi
call fcn.004a235d
mov ecx, dword [esp + 0x304]
push ebx
push ecx
xor esi, esi
push str.Cant_load__s_from_packs__s.
push esi
call fcn.004d40b0
add esp, 0x14
push ebp
call fcn.004ddd40
add esp, 4
test ebp, ebp
je 0x4e2404
mov eax, dword [ebx + 0x14c]
test eax, eax
jne 0x4e2404
push ebp
call fcn.004de070
add esp, 4
mov eax, dword [esp + 0x304]
test eax, eax
je 0x4e2419
mov edx, esi
neg edx
sbb edx, edx
and edx, edi
mov dword [eax], edx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
call fcn.004a2d97
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x300]
push ecx
push str.Cant_find__s_from_all_packs.
push 0
call fcn.004d40b0
add esp, 0xc
mov ecx, dword [esp + 0x2f8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.004a2d97
add esp, 0x2ec
ret