Function at 0x4e8ea0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51d76f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xd8]
call fcn.004f6880
xor ebx, ebx
mov dword [esp + 0x14], 0x522c78
mov dword [esp + 0x3a0], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3a4], 1
call fcn.004f6ce0
mov eax, dword [esp + 0x18]
mov edx, eax
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x58], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x5c], edi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x60], edx
lea edx, [eax + 0x30]
mov edi, dword [eax + 0x30]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
add eax, 0x30
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 0x10]
add ecx, 0x20
mov edi, eax
mov edx, dword [edi]
mov dword [esp + 0x54], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x58], edx
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x60], edi
mov edi, dword [ecx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
add eax, 0x20
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
lea ecx, [esp + 0xd8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
push eax
call fcn.004f6e20
mov dword [esp + 0x3c], 0x522d18
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a8], 2
call fcn.004de680
mov edi, dword [esi + 0xe40]
mov dword [esp + 0x10], ebx
cmp edi, ebx
jle 0x4e9054
mov ecx, dword [esi + 0xe3c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x4e9047
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
mov byte [ecx + 0x141], bl
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.004de680
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x4e8fff
mov edi, 0x522d18
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a8], 3
call fcn.004de680
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x98]
mov dword [eax], edx
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.004e4ce0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004ab470
add esp, 0x24
test al, al
je 0x4e92e9
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x7c]
call fcn.0047dc60
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
push eax
push ecx
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x3b0], 4
call fcn.0047df90
lea ecx, [esi + 0x5f8]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x58]
call fcn.0047dc60
lea ecx, [esi + 0x338]
mov byte [esp + 0x3a0], 5
call fcn.0048e7d0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x70], edx
call fcn.0047da00
add esp, 8
cmp eax, 3
je 0x4e91ff
lea ecx, [esp + 0x54]
mov byte [esp + 0x3a0], 4
call fcn.00507a00
lea ecx, [esp + 0x78]
mov byte [esp + 0x3a0], 3
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a0], 6
cmp eax, ebx
je 0x4e91ab
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x3a0], 7
cmp eax, ebx
je 0x4e91d1
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], 0x522c78
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3a0], 8
cmp eax, ebx
je 0x4e91f6
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x4e932f
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xb8]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
lea ecx, [esp + 0x54]
mov byte [esp + 0x3a0], 4
call fcn.00507a00
lea ecx, [esp + 0x78]
mov byte [esp + 0x3a0], 3
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a0], 9
cmp eax, ebx
je 0x4e926a
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x3a0], 0xa
cmp eax, ebx
je 0x4e9290
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], 0x522c78
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3a0], 0xb
cmp eax, ebx
je 0x4e92b5
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x3a0], 0xffffffff
call fcn.004f6940
mov al, 1
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a0], 0xc
cmp eax, ebx
je 0x4e9306
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 0x520384
mov byte [esp + 0x3a0], 1
call fcn.004309c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], bl
call fcn.00430960
lea ecx, [esp + 0xd8]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.004f6940
mov ecx, dword [esp + 0x398]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14