Function at 0x463460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54b528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], eax
mov eax, dword [0x5b06b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5b06b0
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0x1c]
cdq
mov ecx, 3
idiv ecx
lea edi, [esp + 0x30]
imul eax, eax, 0x62
imul edx, edx, 0xfa
add eax, 0x26
add edx, 0x14
lea esi, [eax + 0x58]
push esi
lea ecx, [edx + 0xf0]
push ecx
push eax
push edx
push str._d__d__d__d
call fcn.00405800
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x46353b
mov eax, dword [esp + 0x30]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00404ef0
add eax, 0x10
mov dword [esi], eax
push ecx
mov edx, esp
mov dword [esp + 0x40], esp
push edx
mov ecx, 0x58bedc
mov byte [esp + 0x34], 1
call fcn.00412880
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
mov byte [esp + 0x30], 0
call eax
call fcn.00416f60
mov ecx, dword [ebp + 0x14]
push ecx
push eax
mov eax, ebx
call fcn.00414330
mov esi, eax
test esi, esi
mov dword [esp + 0x34], esi
jne 0x463585
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46357e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x463715
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4635b5
mov ecx, dword [esi + 0xc]
push ecx
add eax, 0x128
mov ecx, 3
call fcn.00448740
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x128
mov ecx, 4
call fcn.00448740
lea ebx, [ebp + 0x24]
lea eax, [esi + 0x14]
mov edi, ebx
call fcn.00412ba0
mov eax, dword [esp + 0x34]
lea esi, [ebp + 0x30]
add eax, 0x18
mov edi, esi
call fcn.00412ba0
mov edx, dword [0x5b06b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5b06b0
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call fcn.0041d520
add esp, 4
test eax, eax
je 0x463647
mov ecx, dword [ebp + 0xc]
push str.path
add ecx, 0x128
push 2
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004487a0
mov eax, dword [ebp + 0xc]
add eax, 0x128
je 0x46362c
lea ecx, [eax - 0x128]
jmp 0x46362e
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
push 2
call eax
test eax, eax
je 0x4636a1
lea ebx, [eax + 0x18]
mov esi, eax
call fcn.0042b6e0
jmp 0x4636a1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
lea ecx, [ebp + 8]
call eax
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esi]
lea ecx, [ebp + 4]
push ecx
push edx
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.00412ca0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x34], 3
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00412ca0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x38], 4
call fcn.0041d120
push eax
mov byte [esp + 0x3c], 2
call fcn.0041cd40
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x2c], 0
mov eax, dword [ebp + 0xc]
mov ecx, 8
je 0x4636b7
push 1
jmp 0x4636b9
push 0
add eax, 0x128
call fcn.00448840
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4636e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc