Function at 0x476e60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51904a
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4c0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4b4], 1
call fcn.004ae777
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b4], 2
call fcn.004a95c5
push 0x53ef10
lea ecx, [esp + 0x4c0]
mov byte [esp + 0x4b8], 3
call fcn.0045ab40
push 0x526774
lea eax, [esp + 0x4c0]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0044cf90
add esp, 0xc
mov eax, dword [eax]
xor ebp, ebp
push ebp
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4bc], 4
call fcn.004ae80f
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x476f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x477303
mov bl, 7
lea ecx, [ecx]
lea ecx, [esp + 0x4c]
call fcn.004ae58c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], eax
call fcn.004ae738
test eax, eax
jne 0x4772f9
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x50]
call eax
test eax, eax
je 0x476fba
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004aea3c
mov edx, dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x4bc], 5
call fcn.004a9a9b
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4b4], 3
add eax, 0xfffffff0
jmp 0x4772e0
push 0x1fe
lea edx, [esp + 0x2ae]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x2b4], cx
call fcn.004d5720
add esp, 0xc
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x50]
call fcn.004aea3c
mov eax, dword [eax]
push 0x100
lea ecx, [esp + 0x2ac]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call fcn.004d8112
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
add esp, 0x24
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2a8]
push 0x100
push ecx
call fcn.004d8d4f
add esp, 8
push 0x526768
lea edx, [esp + 0x2ac]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x477062
cmp dword [esp + 0x4c8], ebp
je 0x4772f9
call fcn.0049f0da
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x477313
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4b4], 6
call fcn.0049f0da
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x477313
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebp
push 0x53f778
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], bl
call fcn.0044c940
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x50]
call fcn.004aea3c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b8], 8
call fcn.0044cdc0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47710f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
push 0x53f778
lea ecx, [esp + 0x28]
call fcn.0044c940
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x50]
call fcn.004ae7d1
mov esi, eax
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x4b8], 9
call fcn.004ae7d1
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
mov ecx, dword [esp + 0x4c4]
sub edx, dword [ecx - 0xc]
mov ecx, eax
push edx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x4bc], 0xa
call fcn.0044caf0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4b8], 0xb
call fcn.0044cdc0
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x53ef10
lea ecx, [esp + 0x28]
call fcn.0044cc80
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x50]
call fcn.004aeacd
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4bc], 0xc
call fcn.0044cc80
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47724e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
push ecx
push esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
call fcn.00492563
test eax, eax
je 0x4772b5
mov edx, dword [esp + 0x94]
sub esp, 0x10
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], edx
call fcn.004769f0
mov ecx, edi
call fcn.00476c80
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4772dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4772f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], ebp
jne 0x476f50
xor esi, esi
cmp dword [esp + 0x40], ebp
jle 0x477485
mov bl, 0xd
jmp 0x477324
push 0x80004005
call fcn.0044b810
lea ecx, [ecx]
mov edi, dword [esp + 0x30]
push 0x53f778
lea ecx, [esp + 0x18]
call fcn.0044d470
cmp esi, ebp
mov byte [esp + 0x4b4], bl
jl 0x47752f
cmp esi, dword [esp + 0x40]
jge 0x47752f
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx - 0xc]
mov edx, dword [esp + 0x4c4]
sub eax, dword [edx - 0xc]
lea ecx, [ecx + esi*4]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0044caf0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b8], 0xe
call fcn.0044cdc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4773a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x53ef10
lea ecx, [esp + 0x1c]
call fcn.0044cc80
cmp esi, dword [esp + 0x40]
jge 0x47752f
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov dword [esp + 0x44], esp
lea eax, [ecx + esi*4]
mov ecx, esp
push 1
push ebp
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00476ba0
mov ecx, edi
call fcn.00476c80
mov eax, dword [esp + 0x4c8]
push eax
mov eax, dword [esp + 0x4c8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.0044c460
add eax, 0x10
add esp, 4
mov dword [edi], eax
cmp esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x4bc], 0xf
push ecx
jge 0x47752f
mov edx, dword [esp + 0x48]
mov eax, dword [edx + esi*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.0044c460
mov ecx, dword [esp + 0x78]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x4c4], bl
call fcn.00476e60
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47747a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [esp + 0x40]
jl 0x477320
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b4], 2
call fcn.004a9908
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4b4], 1
call fcn.004ae7a0
mov eax, dword [esp + 0x4bc]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4774d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c4]
add eax, 0xfffffff0
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004d6555
add esp, 0x4a4
ret 0x10
call fcn.004922b4
int3