Function at 0x4b49c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52c108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
lea esi, [edi + 0xc]
mov dword [esp + 0x6c], esi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [edi + 0x30]
mov dword [esp + 0x64], 0
mov ecx, ebp
call fcn.00405370
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
call dword [edx + 0x14]
cmp ebx, 0xffffffff
jne 0x4b4e3f
lea ecx, [esp + 0x2c]
call fcn.0040d100
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 8]
push eax
mov dword [esp + 0x68], 1
call ebx
or eax, 0xffffffff
mov ecx, esi
mov dword [edi + 0x250], eax
mov dword [edi + 0x254], eax
mov edx, dword [esi]
call dword [edx + 0x14]
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x21c]
and eax, 0xfff
cmp eax, 0x1a
je 0x4b4a6f
cmp eax, 0x1b
jne 0x4b4a7d
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [edx + 0x14]
jmp 0x4b4a93
mov dword [edi + 0x274], 0
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [eax + 0x14]
push 1
lea ecx, [esp + 0x30]
push 1
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.004b9f30
mov ebx, eax
mov edx, ebx
and edx, 0xffff0000
cmp edx, 0x10000
je 0x4b4ad0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0040d280
mov eax, ebx
jmp 0x4b4e82
mov ebx, dword [esp + 0x44]
lea eax, [esi + 8]
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ecx, ebp
mov byte [esp + 0x68], 3
call fcn.00405390
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [edx + 0x14]
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00507aaf
call fcn.00499f70
add esp, 4
lea ecx, [esp + 0x1c]
mov ebx, eax
mov dword [esp + 0x28], edx
push 0xf4240
push 0
push esi
call fcn.004295c0
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x250], ebx
mov dword [edi + 0x254], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xf4240
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.004295c0
mov eax, dword [edi + 0x21c]
and eax, 0xfff
cmp eax, 0x1a
je 0x4b4b6a
cmp eax, 0x1b
jne 0x4b4b7a
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x64], 1
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x4b4b92
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x274], 0
mov byte [esp + 0x64], 1
mov edx, dword [ecx]
call dword [edx + 0x14]
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004a5480
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 5
push ecx
mov ecx, edi
call fcn.004a01d0
mov ecx, 0x571fb8
mov byte [esp + 0x64], 6
call fcn.00480970
test eax, eax
je 0x4b4c61
push 0xf4240
push 0
push esi
lea ecx, [esp + 0x28]
call fcn.004295c0
mov ecx, ebp
mov byte [esp + 0x64], 7
call fcn.00405370
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov byte [esp + 0x64], 6
mov edx, dword [ecx]
call dword [edx + 0x14]
test ebx, ebx
jne 0x4b4c61
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 4
jl 0x4b4c61
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.00505015
mov edx, dword [esp + 0x14]
push str..lnk
push edx
call fcn.004f298c
add esp, 8
test eax, eax
jne 0x4b4c53
push 0xf4240
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.004295c0
push 3
mov ecx, ebp
mov byte [esp + 0x68], 9
call fcn.00405390
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x64], 8
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 6
call fcn.00507d3a
push 0xf4240
push 0
push esi
lea ecx, [esp + 0x28]
call fcn.004295c0
mov ecx, ebp
mov byte [esp + 0x64], 0xa
call fcn.00405370
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov byte [esp + 0x64], 6
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp ebx, 1
jne 0x4b4cdc
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00507aaf
mov ecx, 0x571fb8
call fcn.00480d40
push 0xf4240
push 0
push esi
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.004295c0
push ebx
mov ecx, ebp
mov byte [esp + 0x68], 0xb
call fcn.00405390
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x64], 6
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x6c]
push eax
call fcn.00422860
add esp, 4
test eax, eax
je 0x4b4e12
push 0xf4240
push 0
push esi
lea ecx, [esp + 0x28]
call fcn.004295c0
mov ecx, ebp
mov byte [esp + 0x64], 0xc
call fcn.00405370
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov byte [esp + 0x64], 6
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp ebx, 3
jne 0x4b4e12
mov eax, dword [0x569c90]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov bl, 0xe
push ecx
mov ecx, edi
mov byte [esp + 0x6c], bl
call fcn.004ae740
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00507aaf
call fcn.0040e680
mov ecx, dword [esp + 0x7c]
add esp, 0x10
test eax, eax
lea edx, [esp + 0x20]
je 0x4b4d87
mov eax, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00424830
add esp, 0xc
mov byte [esp + 0x64], 0xf
jmp 0x4b4d9b
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.00424830
add esp, 0xc
mov byte [esp + 0x64], 0x10
lea ecx, [esp + 0x6c]
push eax
call fcn.00507e73
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.00507d3a
mov eax, dword [esp + 0x6c]
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0x20c]
push edx
mov byte [esp + 0x68], 0x11
call fcn.00507ec3
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x64], 0xe
call dword [eax + 0x14]
push 0
push 0
push 4
mov ecx, edi
call fcn.004d1c70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0xd
call fcn.00507d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 6
call fcn.00507d3a
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 5
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.00507d3a
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0040d280
lea ecx, [esi + 8]
mov dword [esp + 0x6c], esi
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebp
mov dword [esp + 0x64], 0x12
call fcn.00405370
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
push edi
test ebx, ebx
jne 0x4b4e7d
call fcn.004b1080
jmp 0x4b4e82
call fcn.004bce80
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4