Function at 0x4c86c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0x108], ebp
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 0x110]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x4d1390
mov edx, dword fs:[0]
mov dword [ecx], edx
mov dword fs:[0], ecx
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x4a], xmm0
movdqa xmmword [esi + 0x40], xmm0
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
mov edi, dword [eax + 0x1c]
lock inc dword [edi + 4]
mov dword [esi + 0x68], 0x6bedb0
mov dword [esi + 0x6c], 0x4cf140
mov eax, dword [0x6bedb0]
cmp eax, 0xffffffff
mov dword [esi + 0xc], edi
jne 0x4c8b71
mov eax, dword [0x6bedb4]
lea edx, [eax - 1]
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x4c8b62
mov edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x4c8b62
mov eax, dword [edi]
mov ebx, dword [eax + 0x18]
mov dword [esi + 0x118], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x118], 2
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push 0x5dbdba
push str.0123456789abcdefABCDEFxX_pPiInN
call ebx
xor eax, eax
dec eax
mov ebx, dword [esi + 0xc]
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x4c87c4
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x118], 1
push eax
push 0xa
call fcn.004fd430
cmp byte [esi + 0x23], 0
lea ecx, [esi + 0x18]
jns 0x4c87ef
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x14], ecx
mov dword [eax], ecx
mov ebx, dword [ebp + 0xc]
lea edi, [esi + 0x68]
push 0xa0
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [esi + 0x3c]
mov dword [eax], edi
lea eax, [esi + 0x38]
mov dword [eax], 0
test ebx, ebx
je 0x4c886e
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
mov edi, dword [esi + 0x14]
je 0x4c8838
mov eax, dword [esi + 0x10]
jmp 0x4c8876
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, ebx
mov dword [esi + 0xc], ebx
call edi
mov edx, dword [esi + 0xc]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x4c8870
mov ebx, edx
jmp 0x4c8870
xor ebx, ebx
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
test eax, eax
mov dword [esi + 0xc], ebx
jne 0x4c8999
xor eax, eax
test ebx, ebx
je 0x4c89ed
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x4c889c
mov edx, dword [esi + 0x1c]
lea ecx, [edi + edx]
cmp eax, ecx
jne 0x4c88ed
mov dword [esi + 0x14], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004fd430
mov eax, dword [esi + 0x20]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x23], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004fd430
mov ebx, dword [esi + 0xc]
cmp byte [esi + 0x23], 0
lea edi, [esi + 0x18]
jns 0x4c88e5
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
add eax, edi
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
mov dword [esi + 0x14], edi
je 0x4c88fd
movzx eax, byte [eax]
jmp 0x4c8925
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, ebx
call edi
mov edi, dword [esi + 0x14]
movsx ecx, al
mov edx, 0x10
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x28]
push eax
push 0
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x24]
push eax
push edi
call fcn.005572d0
add esp, 0x20
mov ebx, dword [esi + 0xc]
test eax, eax
jne 0x4c89f6
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4c896c
inc eax
mov dword [ebx + 0xc], eax
jmp 0x4c8824
mov eax, dword [ebx]
mov edi, dword [eax + 0x24]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, ebx
call edi
mov ebx, dword [esi + 0xc]
jmp 0x4c8824
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 0x10]
jne 0x4c89e3
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, ebx
call edi
mov ebx, dword [esi + 0xc]
cmp eax, 0xffffffff
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
je 0x4c8881
test ebx, ebx
je 0x4c888b
jmp 0x4c89f9
mov dword [esi + 0x10], 0
jmp 0x4c89f9
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
sub eax, edi
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.004fd430
mov ebx, dword [esi + 0xc]
mov eax, dword [0x6be6bc]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4c8b07
mov eax, dword [0x6be6b4]
cmp byte [esi + 0x23], 0
lea edx, [esi + 0x18]
jns 0x4c8a3e
mov edx, dword [esi + 0x18]
sub esp, 0x10
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.00557530
add esp, 0x10
cmp eax, 1
je 0x4c8a65
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
test ebx, ebx
mov edi, dword [ebp + 8]
je 0x4c8b00
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4c8ac8
cmp dword [esi + 0x10], 0
jne 0x4c8ba3
test ebx, ebx
jne 0x4c8a8c
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov dword [edi], ebx
cmp byte [esi + 0x23], 0
jns 0x4c8a9f
push dword [esi + 0x18]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4c8ab0
push dword [esi + 0x28]
call fcn.0050fc7c
add esp, 4
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, ebx
call edi
mov ebx, dword [esi + 0xc]
xor ecx, ecx
cmp eax, 0xffffffff
cmove ebx, ecx
mov edi, dword [ebp + 8]
jmp 0x4c8a78
xor ebx, ebx
jmp 0x4c8a78
push 0x6be6bc
call fcn.00510c6d
add esp, 4
cmp dword [0x6be6bc], 0xffffffff
jne 0x4c8a2d
mov edi, esp
mov ebx, 0x5db3ea
push ebx
push 0
call fcn.00511046
add esp, 8
mov dword [0x6be6b4], eax
mov dword [0x6be6b8], ebx
mov ebx, dword [esi + 0xc]
mov esp, edi
push fcn.00548450
call fcn.00511031
add esp, 4
push 0x6be6bc
call fcn.00510d9d
add esp, 4
jmp 0x4c8a2d
mov dword [esi + 0x118], 2
call fcn.00549c10
lea eax, [esi + 0x68]
lea ecx, [esi + 0x18]
mov dword [ecx], eax
lea eax, [esi + 0x24]
mov dword [eax], ecx
mov dword [esi + 0x118], 2
push 0x4d0fa0
push eax
push 0x6bedb0
call fcn.004148d0
add esp, 0xc
mov edi, dword [esi + 0xc]
jmp 0x4c8740
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 0x10]
jne 0x4c8bef
mov dword [esi + 0x10], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x118], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 1
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
call edi
mov ebx, dword [esi + 0xc]
cmp eax, 0xffffffff
mov edi, dword [ebp + 8]
je 0x4c8a82
test ebx, ebx
jne 0x4c8a86
jmp 0x4c8a8c