Function at 0x48e840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb3f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x50]
call fcn.004806e0
mov dword [esp + 0x2dc], 0
lea ecx, [esp + 0xc0]
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x30], ax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
movlpd qword [esp + 0x10], xmm0
call fcn.004927d0
mov dword [esp + 0xc0], vtable.blackbone::AsmHelper32.0
push 0
push 0
push 4
mov byte [esp + 0x2e8], 1
lea eax, [esp + 0x74]
mov ecx, dword [edi]
push 0x104
add ecx, 0x58
push eax
call fcn.00482260
mov byte [esp + 0x2dc], 2
cmp dword [edi + 0xc], 0
mov byte [esp + 0x78], 0
je 0x48ec97
mov eax, dword [edi]
lea ecx, [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x4c], 7
push 9
push 0x535a30
mov eax, dword [eax + 8]
mov dword [esp + 0x50], 0
cmp byte [eax + 0xc], bl
sete bl
xor eax, eax
mov dword [esp + 0x14], ebx
mov word [esp + 0x40], ax
call fcn.0046b720
mov byte [esp + 0x2dc], 3
lea edx, [esp + 0x38]
mov esi, dword [edi]
lea ecx, [esp + 0x18]
call fcn.004806e0
push 0x53545c
push ebx
push 0
lea eax, [esp + 0x24]
mov byte [esp + 0x2e8], 4
push eax
lea ecx, [esi + 0x10]
call fcn.004898d0
mov byte [esp + 0x2dc], 3
mov esi, eax
cmp dword [esp + 0x2c], 8
jb 0x48e96f
push dword [esp + 0x18]
call fcn.004cd56c
add esp, 4
mov ecx, dword [edi]
xor eax, eax
push 0x535a14
push str.RtlAllocateHeap
mov word [esp + 0x20], ax
add ecx, 0x10
push esi
lea eax, [esp + 0x8c]
mov dword [esp + 0x38], 7
push eax
mov dword [esp + 0x38], 0
call fcn.00489db0
cmp dword [esp + 0xb4], 0x10
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
jb 0x48e9c5
push dword [esp + 0xa0]
call fcn.004cd56c
add esp, 4
cmp dword [esp + 0x9c], 8
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
jb 0x48e9fc
push dword [esp + 0x88]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov byte [esp + 0x2dc], 2
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
jb 0x48ea37
push dword [esp + 0x38]
call fcn.004cd56c
add esp, 4
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x130]
push 0x537248
push 0x537248
push 0x537248
push 0x5328c8
push 0x1f3
call dword [eax + 0x18]
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x130]
push 0x537248
push 0x537248
push 0x5328b8
push 0x5328c8
push 0x123
call dword [eax + 0x18]
push dword [edi + 0xc]
lea ecx, [esp + 0x214]
call fcn.0047b2f0
push 8
lea ecx, [esp + 0x254]
call fcn.0047b2f0
push 0x78
lea ecx, [esp + 0x294]
call fcn.0047b2f0
mov byte [esp + 0x2dc], 5
lea eax, [esp + 0x2d0]
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x218]
mov dword [esp + 0x24], 0
push eax
push 0
mov dword [esp + 0x30], 0
call fcn.0047f930
push esi
lea ecx, [esp + 0x84]
call fcn.0047b2f0
push 1
lea eax, [esp + 0x1c]
mov byte [esp + 0x2e0], 7
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xcc]
call fcn.00492b90
mov byte [esp + 0x2dc], 6
mov esi, dword [esp + 0xb8]
test esi, esi
je 0x48eb61
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x48eb5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x48eb5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x48eb82
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0047fa80
push esi
call fcn.004cd56c
add esp, 0xc
push fcn.0047b470
push 3
push 0x40
lea eax, [esp + 0x21c]
mov byte [esp + 0x2e8], 2
push eax
call fcn.004ceb9d
mov ecx, dword [edi]
lea eax, [esp + 0xc0]
sub esp, 8
add ecx, 0x110
push ebx
push eax
call fcn.00483c90
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x130]
push 0x537248
push 0x537248
push 0x5328c8
push 0x5328b8
push 0x123
call dword [eax + 0x18]
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x130]
push 0x537248
push 0x537248
push 0x537248
push 0x5328c8
push 0x1c6
call dword [eax + 0x18]
push 0x537248
push 0x537248
push 0x537248
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x140]
push 0x21c
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
call dword [eax + 0x18]
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0x10]
sub eax, dword [esp + 0x168]
add eax, dword [esp + 0x174]
mov esi, dword [edi]
push ecx
push eax
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x138]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x110]
call fcn.00482c60
mov ebx, dword [esp + 0x10]
jmp 0x48ecb5
mov ecx, dword [edi]
lea eax, [esp + 0x38]
push 0
push 0
push 4
push 0xa0
add ecx, 0x58
push eax
call fcn.00482260
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x48efce
mov eax, dword [edi]
push 0
push 4
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebx + 0x18]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
push 0
push 4
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 0x20]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
push 0
push 4
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebx + 0x1c]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
mov dword [esp + 0xc], 0xffffffff
push 0
push 4
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 0x38]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
push 0x14
push 0x535a18
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.004762c0
mov byte [esp + 0x2dc], 8
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
push 0x560ad0
cmovae eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0047aed0
mov eax, dword [esp + 0xc]
push 0x560ad0
cmp eax, dword [0x560ab0]
je 0x48edca
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x48edd0
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
call esi
jmp 0x48edd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x2dc], 2
cmp dword [esp + 0x4c], 0x10
jb 0x48edeb
push dword [esp + 0x38]
call fcn.004cd56c
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.0048fb80
mov ecx, dword [ebp + 0x18]
lea esi, [esp + 0x50]
cmp dword [esp + 0x64], 8
push 0
cmovae esi, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x64]
mov edx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [esp + 0x70]
push esi
push dword [esp + 0x78]
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
push 0
push 8
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 0x2c]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
push 0x14
push 0x535a48
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.004762c0
mov esi, dword [ebp + 0x10]
mov byte [esp + 0x2dc], 9
cmp dword [esi + 0x14], 8
jb 0x48ee97
mov eax, dword [esi]
mov dword [esp + 0xc], eax
jmp 0x48ee9b
mov dword [esp + 0xc], esi
push 0x560ad0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047aed0
mov eax, dword [esp + 0x18]
push 0x560ad0
cmp eax, dword [0x560ab0]
je 0x48eee8
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48eeee
push dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
call eax
jmp 0x48eeee
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x2dc], 2
cmp dword [esp + 0x4c], 0x10
jb 0x48ef09
push dword [esp + 0x38]
call fcn.004cd56c
add esp, 4
cmp dword [esi + 0x14], 8
mov ecx, dword [esp + 0x68]
lea eax, [ecx + 0x800]
mov dword [esp + 0x34], eax
jb 0x48ef25
mov eax, dword [esi]
mov dword [esp + 0xc], eax
jmp 0x48ef29
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x6c]
add ecx, 0x800
mov esi, dword [esi + 0x10]
adc eax, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
push 0
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 8]
lea eax, [esi*2 + 2]
push eax
push dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x24]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
push 0
push 8
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 0x24]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
lea esi, [ebx + 0x50]
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push 0
push 4
mov eax, dword [eax + 0xa4]
push edx
push 0
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x10], esi
push 0
push 4
mov eax, dword [eax + 0xa4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x18]
push eax
lea eax, [ebx + 0x54]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
jmp 0x48efd0
xor ebx, ebx
mov byte [esp + 0x2dc], 0
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], vtable.blackbone::AsmHelper32.0
call fcn.00492850
cmp dword [esp + 0x64], 8
jb 0x48f002
push dword [esp + 0x50]
call fcn.004cd56c
add esp, 4
mov ecx, dword [esp + 0x2d4]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14