Function at 0x4bea54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4bf260
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x419d84]
call fcn.00404220
mov edx, dword [0x544d94]
mov dword [edx], eax
lea edx, [ebp - 0x40c]
mov eax, dword [0x544dc0]
mov eax, dword [eax]
call fcn.0045e2e0
mov edx, dword [ebp - 0x40c]
mov eax, dword [0x544d94]
mov eax, dword [eax]
call fcn.0041e9dc
lea ecx, [ebp - 0x410]
lea eax, [ebp - 0x408]
mov edx, 0x2e4
call fcn.0048e958
mov eax, dword [ebp - 0x410]
call fcn.00405350
mov ebx, eax
mov edx, ebx
neg edx
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov cx, 2
mov esi, dword [eax]
call dword [esi + 0x14]
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004056dc
lea eax, [ebp - 8]
call fcn.004055a8
mov edx, eax
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [0x5450cc]
mov ecx, 0x2e4
mov eax, dword [ebp - 8]
call fcn.0048e9cc
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x124]
mov edx, 0x104
call fcn.0048e958
mov eax, dword [ebp - 0x414]
call fcn.00405350
mov dword [ebp - 0xc], eax
add ebx, dword [ebp - 0xc]
mov eax, dword [0x5450cc]
add ebx, dword [eax + 0x10]
mov eax, dword [0x5450cc]
add ebx, dword [eax + 0x18]
mov eax, dword [0x5450cc]
add ebx, dword [eax + 0x20]
mov eax, dword [0x5450cc]
add ebx, dword [eax + 0x28]
mov eax, dword [0x5450cc]
add ebx, dword [eax + 0x30]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.00402dd8
mov edx, dword [0x544944]
mov dword [edx], eax
mov edx, dword [0x544944]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.0040306c
mov edx, ebx
neg edx
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov cx, 2
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x544944]
mov eax, dword [eax]
lea edx, [eax + 4]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004056dc
lea eax, [ebp - 8]
call fcn.004055a8
mov edx, eax
mov eax, dword [0x544944]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0xc]
call fcn.0040306c
lea edx, [ebp - 0x124]
mov ecx, 0x104
mov eax, dword [ebp - 8]
call fcn.0048e9cc
mov ebx, dword [ebp - 0x124]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0048e0a8
cmp eax, dword [ebp - 0x120]
jne 0x4bf226
mov ebx, dword [0x5450cc]
mov ebx, dword [ebx]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0048e0a8
mov edx, dword [0x5450cc]
cmp eax, dword [edx + 4]
jne 0x4bf218
mov eax, dword [0x544f90]
mov edx, dword [0x5450cc]
add edx, 0x38
call fcn.004052f4
mov esi, 0xa
mov ebx, dword [0x5450cc]
add ebx, 0x211
cmp byte [ebx], 0
je 0x4becfa
lea eax, [ebp - 0x418]
mov edx, ebx
call fcn.004052f4
mov edx, dword [ebp - 0x418]
mov eax, dword [0x544fb8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 0x15
dec esi
jne 0x4becd3
mov eax, dword [0x5450cc]
mov eax, dword [eax + 0x10]
test eax, eax
jle 0x4bee2d
mov edx, dword [0x5450cc]
mov ebx, eax
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4bed82
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5450cc]
mov edx, dword [edx + 0xc]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.004940f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bed89
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
mov eax, dword [0x5450cc]
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x4bef22
mov edx, dword [0x5450cc]
mov ebx, eax
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4beeaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5450cc]
mov edx, dword [edx + 0x14]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.004940f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beeb6
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
mov eax, dword [0x5450cc]
mov eax, dword [eax + 0x20]
test eax, eax
jle 0x4befed
mov edx, dword [0x5450cc]
mov ebx, eax
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4befa4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5450cc]
mov edx, dword [edx + 0x1c]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.004940f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4befab
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
mov eax, dword [0x5450cc]
mov eax, dword [eax + 0x28]
test eax, eax
jle 0x4bf0c7
mov edx, dword [0x5450cc]
mov ebx, eax
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4bf06f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5450cc]
mov edx, dword [edx + 0x24]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.004940f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf076
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
mov eax, dword [0x5450cc]
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x4bf232
mov edx, dword [0x5450cc]
mov ebx, eax
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4bf149
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5450cc]
mov edx, dword [edx + 0x2c]
mov eax, dword [0x544d94]
mov eax, dword [eax]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x544d94]
mov eax, dword [eax]
mov ecx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.004940f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf150
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
mov eax, dword [0x544dc0]
mov eax, dword [eax]
call fcn.0045dd0c
jmp 0x4bf232
mov eax, dword [0x544dc0]
mov eax, dword [eax]
call fcn.0045dd0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf267
lea eax, [ebp - 0x428]
mov edx, 8
call fcn.004050a4
lea eax, [ebp - 0x1c]
call fcn.00405080
lea eax, [ebp - 8]
call fcn.00405080
ret