Function at 0x440940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x58ada8]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x58ada8
mov dword [esp + 0x20], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push ebp
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], 0
mov dword [esi + 0x40], 2
call fcn.0043f1b0
lea ecx, [esi + 0x3c]
push eax
mov byte [esp + 0x30], 1
call fcn.0040f010
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4409c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x440bf9
movsx eax, byte [edi]
push eax
call fcn.004bb735
add esp, 4
test eax, eax
je 0x4409e8
dec ebp
inc edi
jmp 0x440bf1
test ebp, ebp
je 0x440bf9
mov eax, edi
mov bl, byte [edi]
cmp bl, 0x3d
mov byte [esp + 0x38], bl
je 0x440a0d
cmp bl, 0x3b
je 0x440a0d
dec ebp
inc edi
test ebp, ebp
jne 0x4409f2
jmp 0x440bf9
test ebp, ebp
je 0x440bf9
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00443510
add esp, 0xc
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x2c], 2
je 0x440a8d
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x440a7b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x440a7b
push eax
call fcn.00404780
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x440a6e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x440a89
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004046c0
mov bl, byte [esp + 0x38]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
dec ebp
cmp bl, 0x3b
je 0x440bf1
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x18], edi
je 0x440ad0
cmp byte [edi], 0x3b
je 0x440ad0
dec ebp
inc edi
cmp ebp, ebx
jne 0x440ac5
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x440beb
mov dword [esp + 0x34], ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
mov byte [esp + 0x34], 3
call fcn.00404780
mov ecx, dword [esp + 0x28]
add eax, 0x10
add esp, 4
add ecx, 0x14
mov dword [esi], eax
call fcn.0040fa30
mov esi, eax
cmp dword [esi], ebx
jne 0x440b83
test byte [0x5873e8], 1
jne 0x440b48
mov edx, dword [0x5873e8]
mov eax, 1
or edx, eax
push 0x5340d0
mov dword [0x5873e8], edx
mov dword [0x58d590], eax
mov dword [0x58d58c], 0x55fdf4
call fcn.004baa4a
add esp, 4
mov ecx, dword [0x58d58c]
lea eax, [esp + 0x38]
push eax
push 0x54858c
push ebx
push 0x58d58c
mov dword [esp + 0x48], ebx
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x440b83
mov edx, dword [esp + 0x38]
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push edx
push esi
call ebx
test eax, eax
je 0x440b89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x440b89
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x14], 0
je 0x440baa
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
push 0x55fc78
push esi
call dword [edx]
test eax, eax
jl 0x440bc0
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
je 0x440bc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, edi
sub edx, eax
push edx
push eax
call fcn.0044cb30
push 0
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x34], 0
call ebx
test eax, eax
je 0x440beb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebp, ebp
je 0x440bf9
inc edi
dec ebp
test ebp, ebp
jne 0x4409d1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8