Function at 0x45a3d0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515af0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov byte [esp + 0x58], 1
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x45ab45
cmp dword [ebx + 0x18], 0
je 0x45ab45
push 0xb
push eax
call dword [0x51b430]
cmp dword [0x57c194], 3
jne 0x45a56e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0x551c90
lea ecx, [esp + 0x2c]
call fcn.00420550
push 0x551c60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.004204a0
mov byte [esp + 0x58], 3
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 4
call fcn.00421890
add esp, 4
mov byte [esp + 0x58], 5
cmp dword [ebx + 0xc], 0
je 0x45a4da
push 0
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x58], 4
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45a4ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x58], 3
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45a521
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x58], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45a543
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x58], 1
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ab48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ab48
mov ebx, dword [ebp + 8]
push 0x551c04
mov ecx, ebx
mov byte [esp + 0x18], 1
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a5b2
push 0x551c04
mov ecx, ebx
call fcn.0043a040
cmp byte [eax + 8], 5
jne 0x45a5b2
push 0x551c04
mov ecx, ebx
call fcn.0043a040
mov ecx, eax
call fcn.00439b00
mov byte [esp + 0x14], al
push 0x551c7c
mov ecx, ebx
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a793
push 0x551c7c
mov ecx, ebx
call fcn.0043a040
mov al, byte [eax + 8]
test al, al
je 0x45a5f1
cmp al, 7
jne 0x45a793
push 0x551c7c
mov ecx, ebx
call fcn.0043a040
push eax
lea ecx, [esp + 0x40]
call fcn.00439400
push 0x551cac
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 6
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a785
push ecx
push 0x551cac
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov al, byte [eax + 8]
cmp al, 1
je 0x45a64b
cmp al, 2
je 0x45a64b
cmp al, 5
je 0x45a64b
cmp al, 3
jne 0x45a785
push ecx
push 0x551cac
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov ecx, eax
call fcn.00439800
push 0x551cb0
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b], al
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a785
push ecx
push 0x551cb0
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov al, byte [eax + 8]
cmp al, 1
je 0x45a6a4
cmp al, 2
je 0x45a6a4
cmp al, 5
je 0x45a6a4
cmp al, 3
jne 0x45a785
push ecx
push 0x551cb0
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov ecx, eax
call fcn.00439800
push 0x551ca4
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a], al
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a785
push ecx
push 0x551ca4
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov al, byte [eax + 8]
cmp al, 1
je 0x45a6fd
cmp al, 2
je 0x45a6fd
cmp al, 5
je 0x45a6fd
cmp al, 3
jne 0x45a785
push ecx
push 0x551ca4
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov ecx, eax
call fcn.00439800
push 0x551ca8
lea ecx, [esp + 0x40]
mov byte [esp + 0x19], al
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a785
push ecx
push 0x551ca8
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov al, byte [eax + 8]
cmp al, 1
je 0x45a74e
cmp al, 2
je 0x45a74e
cmp al, 5
je 0x45a74e
cmp al, 3
jne 0x45a785
push ecx
push 0x551ca8
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov ecx, eax
call fcn.00439800
mov byte [esp + 0x37], al
mov al, byte [esp + 0x15]
mov byte [esp + 0x36], al
mov al, byte [esp + 0x16]
mov byte [esp + 0x35], al
mov al, byte [esp + 0x17]
mov byte [esp + 0x34], al
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 1
call fcn.00439570
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x551cc8
mov ecx, ebx
mov byte [esp + 0x5c], 7
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a835
push 0x551cc8
mov ecx, ebx
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x45a835
push 0x551cc8
mov ecx, ebx
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x45a7fc
push 0x2a9
push 0x54f290
push 0x54f324
call fcn.004ee7eb
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45a806
xor ecx, ecx
jmp 0x45a819
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x45a810
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a810
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0042ca60
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0042c120
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x38], 0
jne 0x45a901
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x45a901
push 0x551cd4
mov ecx, ebx
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a901
push 0x551cd4
mov ecx, ebx
call fcn.0043a040
mov al, byte [eax + 8]
cmp al, 1
je 0x45a884
cmp al, 2
je 0x45a884
cmp al, 5
je 0x45a884
cmp al, 3
jne 0x45a901
push 0x551cb4
mov ecx, ebx
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a901
push 0x551cb4
mov ecx, ebx
call fcn.0043a040
mov al, byte [eax + 8]
cmp al, 1
je 0x45a8b6
cmp al, 2
je 0x45a8b6
cmp al, 5
je 0x45a8b6
cmp al, 3
jne 0x45a901
push 0x551cd4
mov ecx, ebx
call fcn.0043a040
mov ecx, eax
call fcn.00439800
push 0x551cb4
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x28], eax
test eax, eax
jle 0x45a901
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x45a901
mov ecx, dword [esp + 0x18]
push eax
mov ecx, dword [ecx + 0x10]
push dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0x551cc0
mov ecx, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a95a
push 0x551cc0
mov ecx, ebx
call fcn.0043a040
mov al, byte [eax + 8]
cmp al, 1
je 0x45a943
cmp al, 2
je 0x45a943
cmp al, 5
je 0x45a943
cmp al, 3
jne 0x45a95a
push 0x551cc0
mov ecx, ebx
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x24], eax
push 0x551cf0
mov ecx, ebx
call fcn.0043a040
cmp eax, 0x57c240
je 0x45a9a5
push 0x551cf0
mov ecx, ebx
call fcn.0043a040
mov al, byte [eax + 8]
cmp al, 1
je 0x45a98c
cmp al, 2
je 0x45a98c
cmp al, 5
je 0x45a98c
cmp al, 3
jne 0x45a9a5
push 0x551cf0
mov ecx, ebx
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x28], eax
jmp 0x45a9a7
xor eax, eax
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x45a9c2
test eax, eax
jne 0x45a9c2
cmp byte [esp + 0x38], al
jne 0x45a9c2
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], edx
je 0x45a9e3
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov ecx, dword [ebx + 0x10]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
push edx
call dword [eax + 0x20]
jmp 0x45a9e7
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x45aaab
push 0xc
mov dword [esp + 0x2c], 0
call fcn.004ea433
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45aa26
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebx + 8], 0
jmp 0x45aa28
xor ebx, ebx
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov byte [ebx + 8], al
mov eax, dword [esp + 0x2c]
mov dword [ebx + 4], eax
lea eax, [esp + 0x28]
push eax
push 0
push ebx
push 0x450d90
push 0
push 0
mov dword [ebx], ecx
call fcn.004eb064
add esp, 0x18
test eax, eax
jne 0x45aa90
push ebx
call fcn.004ea3bd
mov byte [esp + 0x5c], 1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ab48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ab48
push eax
call dword [0x51b104]
mov byte [esp + 0x58], 1
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ebx, 0xffffffff
jmp 0x45a54f
push 5
push dword [ebx + 0x18]
mov ebx, dword [0x51b4a0]
call ebx
mov ecx, dword [esp + 0x18]
push 5
push dword [ecx + 0x14]
call ebx
mov ebx, dword [esp + 0x18]
push 1
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov al, byte [esp + 0x14]
push 0
test al, al
je 0x45aaff
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [esp + 0x58], 1
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ebx, 0xffffffff
jmp 0x45a54f
push 0xff
push 0x402
push dword [ebx + 0x18]
call dword [0x51b4d4]
push 2
push 0xff
push 0
push dword [ebx + 0x14]
call dword [0x51b49c]
push 0
push 0
push dword [ebx + 0x18]
call dword [0x51b464]
mov byte [esp + 0x58], 1
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ebx, 0xffffffff
jmp 0x45a54f
or ebx, 0xffffffff
add edi, 0xfffffff0
mov byte [esp + 0x58], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ab66
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x45ab85
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4