Function at 0x4bab80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574887
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x5c]
call fcn.0049aaa0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2f]
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0xac], 0
call fcn.0049a170
push 0
call fcn.00532406
mov ecx, eax
mov eax, dword [esp + 0x3c]
imul eax, eax, 0x15180
mov esi, edx
cdq
mov edi, ecx
sub edi, eax
mov eax, dword [esp + 0x40]
mov ebp, esi
sbb ebp, edx
imul eax, eax, 0x15180
cdq
sub ecx, eax
lea eax, [esp + 0x2c]
push eax
sbb esi, edx
mov ebx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00531fb9
mov edi, dword [eax + 0x14]
mov ebp, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x30]
push edx
add edi, 0x76c
add ebp, 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
call fcn.00531fb9
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add esp, 0xc
add esi, 0x76c
add ebx, 1
mov dword [esp + 0x70], eax
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bac7c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0xa0], 1
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bacae
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x70]
push ecx
push ebx
push esi
lea edx, [esp + 0x3c]
push str._04d__02d__02d
push edx
mov byte [esp + 0xb4], 2
call fcn.004020e0
mov eax, dword [esp + 0x9c]
push eax
push ebp
push edi
lea ecx, [esp + 0x54]
push str._04d__02d__02d
push ecx
call fcn.004020e0
add esp, 0x28
lea ecx, [esp + 0x44]
call fcn.00521e16
mov edx, dword [esp + 0x1c]
push str..
add edx, 0x1c
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xac], 3
call fcn.00402100
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 4
call fcn.00521ea2
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bad63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
test esi, esi
mov esi, dword [esp + 0x30]
je 0x4bb03b
mov bl, 6
lea ecx, [esp + 0x44]
call fcn.00521c1a
mov edx, dword [esp + 0x44]
mov ebp, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x48]
call eax
test eax, eax
je 0x4bb033
lea ecx, [esp + 0x44]
call fcn.00521ddd
test eax, eax
jne 0x4bb033
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.00522041
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 5
call fcn.005220d1
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0xa0], bl
test eax, eax
je 0x4bac72
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.00530c5f
add esp, 8
test eax, eax
setle al
test al, al
je 0x4baed2
push 0x584cec
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00402100
push str.oprlog.xml
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb8], 7
call fcn.00402100
add esp, 0x18
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bae54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x80]
call fcn.0051ea5b
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 0xa
call fcn.0051ee55
test eax, eax
je 0x4bae97
lea ecx, [esp + 0x80]
call fcn.0051e9f9
mov edx, dword [esp + 0x1c]
push edx
call fcn.0051e709
lea ecx, [esp + 0x80]
mov byte [esp + 0xa0], 9
call fcn.0051eb2f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xa0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4baed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x4bac72
mov ecx, dword [esp + 0x18]
push edi
push ecx
call fcn.00530c5f
add esp, 8
test eax, eax
setle al
test al, al
je 0x4bafc5
push 0x584cec
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00402100
push str.alarmlog.xml
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xb8], 0xb
call fcn.00402100
add esp, 0x18
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4baf53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x68]
call fcn.0051ea5b
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 0xe
call fcn.0051ee55
test eax, eax
je 0x4baf8d
lea ecx, [esp + 0x68]
call fcn.0051e9f9
mov edx, dword [esp + 0x20]
push edx
call fcn.0051e709
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], 0xd
call fcn.0051eb2f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xa0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bafc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004ebb10
add esp, 4
test eax, eax
je 0x4bafe3
lea edx, [esp + 0x14]
push edx
call fcn.004eb930
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb00b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x4bad75
lea ecx, [esp + 0x44]
call fcn.00521b4a
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 2
call fcn.00521e3a
lea eax, [edi - 0x10]
mov byte [esp + 0xa0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb09d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0049a910
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret