Function at 0x4e1d90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52af3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.singleton_class_rcdefines_.0
mov dword [ebp - 4], 0
mov dword [esi], vtable.rcdefines.0
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea edi, [esi + 4]
mov ecx, 0x587944
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 8]
mov ecx, 0x587944
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0xc]
mov ecx, 0x587944
mov dword [ebp - 0x10], ebx
call edx
add eax, 0x10
mov ecx, ebx
mov dword [ecx], eax
mov byte [ebp - 4], 6
mov eax, dword [0x587944]
lea edx, [esi + 0x10]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 8
mov eax, dword [0x587944]
lea edx, [esi + 0x14]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x587944]
lea eax, [esi + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xc
mov edx, dword [0x587944]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x587944]
lea eax, [esi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x587944]
lea eax, [esi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x12
mov edx, dword [0x587944]
lea eax, [esi + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x14
mov edx, dword [0x587944]
lea eax, [esi + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x16
mov edx, dword [0x587944]
lea eax, [esi + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x18
mov eax, dword [0x587944]
lea edx, [esi + 0x34]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1a
mov eax, dword [0x587944]
lea edx, [esi + 0x38]
mov dword [ebp - 0x10], edx
mov ecx, 0x587944
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [0x587944]
lea edx, [esi + 0x3c]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1e
mov edx, dword [0x587944]
lea eax, [esi + 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x20
mov eax, dword [0x587944]
lea edx, [esi + 0x48]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x22
push 0x533edc
mov ecx, edi
call fcn.004dd6b0
lea edx, [ebp - 0x14]
push edx
call fcn.004de380
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x24
push eax
mov ecx, ebx
call fcn.00411920
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2057
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e207a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004de800
mov bl, 0x27
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x28
push eax
lea ecx, [esi + 0x18]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e20c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e20e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004dde00
mov bl, 0x2b
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [esi + 0x1c]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004ddc70
mov bl, 0x2f
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x30
push eax
lea ecx, [esi + 0x20]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e219e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e21c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004de030
mov bl, 0x33
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x34
push eax
lea ecx, [esi + 0x24]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e220b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e222e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004dd7f0
mov bl, 0x37
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x38
push eax
lea ecx, [esi + 0x28]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e229b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004dd910
mov bl, 0x3b
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x3c
push eax
lea ecx, [esi + 0x2c]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e22e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004ddb50
mov bl, 0x3f
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x40
push eax
lea ecx, [esi + 0x30]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x30]
call fcn.004114b0
mov ecx, eax
call fcn.00411530
lea ecx, [ebp - 0x10]
push ecx
call fcn.004de640
mov bl, 0x43
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ef40
add esp, 0xc
mov byte [ebp - 4], 0x44
push eax
lea ecx, [esi + 0x40]
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e23ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e23f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004dda50
mov byte [ebp - 4], 0x47
mov eax, dword [eax]
push eax
call fcn.004f02d0
add esp, 8
test eax, eax
setg dl
mov byte [esi + 0x44], dl
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e2434
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.004e15e0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret