Function at 0x473870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x580693
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
push 1
push ecx
xor ebp, ebp
mov ecx, esp
mov dword [esp + 0x48], esp
lea esi, [edi + 0x11582c]
push 0x596192
mov dword [edi + 0x12a654], ebp
mov dword [esi], ebp
mov dword [edi + 0x129960], ebp
call fcn.00402a30
lea eax, [esp + 0x2c]
push 0x163
push eax
call fcn.00409b80
add esp, 0xc
mov eax, dword [eax]
push eax
mov dword [esp + 0x40], ebp
call fcn.00409e00
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47390d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x14
call fcn.00506f37
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
cmp ebx, ebp
mov dword [esp + 0x38], 1
je 0x473934
mov ecx, ebx
call fcn.005167d7
mov eax, ebx
jmp 0x473936
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
mov dword [edi + 0x12a654], eax
push edx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.00428a90
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebp
mov dword [esp + 0x38], 2
je 0x4739d5
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042ada0
add esp, 4
test al, al
je 0x4739d5
cmp dword [esp + 0x14], ebp
je 0x4739d5
push ebp
push 0x596192
call fcn.00409e00
mov eax, dword [esp + 0x24]
add esp, 8
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401b70
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push str.NL3AdvrCntr3.dll
mov byte [esp + 0x48], 3
call fcn.00402a30
push esi
mov byte [esp + 0x48], 2
call fcn.004730b0
add esp, 0x10
mov edi, 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00428a10
add esp, 8
cmp edi, ebp
mov byte [esp + 0x38], 4
jne 0x473a5b
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebp
je 0x473a5b
lea edx, [esp + 0x18]
push edx
call fcn.0042ada0
add esp, 4
test al, al
je 0x473a5b
push ebp
push 0x596192
call fcn.00409e00
mov eax, dword [esp + 0x20]
add esp, 8
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401b70
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push str.LibAdvrCntr2.dll
mov byte [esp + 0x48], 5
call fcn.00402a30
push esi
mov byte [esp + 0x48], 4
call fcn.004730b0
add esp, 0x10
mov edi, 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004288a0
add esp, 8
cmp edi, ebp
mov bl, 6
mov byte [esp + 0x38], bl
jne 0x473ade
mov edx, dword [esp + 0x40]
cmp dword [edx - 0xc], ebp
je 0x473ade
lea eax, [esp + 0x40]
push eax
call fcn.0042ada0
add esp, 4
test al, al
je 0x473ade
push ebp
push 0x596192
call fcn.00409e00
mov eax, dword [esp + 0x48]
add esp, 8
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebp, esp
push eax
call fcn.00401b70
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x596192
mov byte [esp + 0x48], 7
call fcn.00402a30
push esi
mov byte [esp + 0x48], bl
call fcn.004730b0
add esp, 0x10
xor ebp, ebp
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004287a0
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 8
call fcn.004025f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473b23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
jne 0x473b8b
mov ecx, dword [esp + 0x40]
cmp dword [ecx - 0xc], ebp
je 0x473b8b
lea edx, [esp + 0x40]
push edx
call fcn.0042ada0
add esp, 4
test al, al
je 0x473b8b
push ebp
push 0x596192
call fcn.00409e00
mov eax, dword [esp + 0x48]
add esp, 8
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
call fcn.00401b70
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x596192
mov byte [esp + 0x48], 9
call fcn.00402a30
push esi
mov byte [esp + 0x48], bl
call fcn.004730b0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00428820
add esp, 8
mov eax, dword [esp + 0x20]
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
mov byte [esp + 0x44], 0xa
call fcn.00401b70
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x596192
mov byte [esp + 0x48], 0xb
call fcn.00402a30
push esi
mov byte [esp + 0x48], 0xa
call fcn.004730b0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x473c03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473c28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473c75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret