Function at 0x47d550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522c30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push edi
mov dword [esp + 4], ecx
mov ecx, dword [eax + 4]
xor edi, edi
cmp ecx, edi
je 0x47d586
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp eax, edi
jne 0x47d59a
xor eax, eax
pop edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 8
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004a3909
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
xor ebx, ebx
mov byte [esp + 0x5c], 2
xor esi, esi
nop
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x47d6a4
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x47d6a4
lea eax, [esi + ecx]
push eax
lea ecx, [esp + 0x38]
call fcn.0046ca90
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x60], 3
call fcn.0047d3c0
test eax, eax
je 0x47d637
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
call fcn.0046fae0
mov ebp, dword [esp + 0x48]
jmp 0x47d65a
mov edx, dword [esp + 0x68]
cmp dword [esp + 0x3c], edx
jne 0x47d64c
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
jmp 0x47d655
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046fae0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47d67d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d69b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebx
add esi, 0x10
jmp 0x47d5e0
cmp ebp, edi
je 0x47d777
mov edi, dword [esp + 0x4c]
sub edi, ebp
sar edi, 4
test edi, edi
mov dword [esp + 0x68], edi
je 0x47d777
call fcn.004a3916
xor edx, edx
div edi
mov esi, dword [esp + 0x10]
lea ebx, [esi + 0x20]
mov ecx, ebx
shl edx, 4
add edx, ebp
lea eax, [edx + 4]
push eax
call fcn.00406609
add esi, 0x10
push ebx
mov ecx, esi
call fcn.0047d490
mov dword [esp + 0x64], 0
add ebp, 4
cmp dword [esp + 0x64], edi
jae 0x47d777
mov eax, dword [ebp]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.004a36c4
add esp, 8
test eax, eax
je 0x47d76e
mov edx, dword [esi + 4]
test edx, edx
jne 0x47d71b
xor ecx, ecx
jmp 0x47d723
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x47d760
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x47d760
mov eax, dword [esp + 0x64]
mov edi, dword [esi + 8]
push eax
push esi
push ebp
push 1
push edi
call fcn.0047bbc0
mov ecx, dword [esp + 0x78]
add edi, 4
add esp, 0x14
inc ecx
mov dword [esi + 8], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x64], ecx
add ebp, 0x10
jmp 0x47d6f7
mov eax, dword [esi + 8]
push ebp
push 1
push eax
mov ecx, esi
call fcn.0047ceb0
inc dword [esp + 0x64]
add ebp, 0x10
jmp 0x47d6f7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d8a0
mov esi, dword [esp + 0x2c]
mov edx, eax
sub esi, edx
sar esi, 4
test esi, esi
mov dword [esp + 0x68], esi
je 0x47d8a0
call fcn.004a3916
xor edx, edx
div esi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
lea ebx, [esi + 0x20]
mov ecx, ebx
shl edx, 4
add edx, edi
lea eax, [edx + 4]
push eax
call fcn.00406609
mov eax, dword [esi + 0x14]
add esi, 0x10
test eax, eax
jne 0x47d7cc
xor edx, edx
jmp 0x47d7d4
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x47d801
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x47d801
mov ecx, dword [esp + 0x64]
mov ebp, dword [esi + 8]
push ecx
push esi
push ebx
push 1
push ebp
call fcn.0047bbc0
add esp, 0x14
add ebp, 4
mov dword [esi + 8], ebp
jmp 0x47d80f
mov eax, dword [esi + 8]
push ebx
push 1
push eax
mov ecx, esi
call fcn.0047ceb0
mov dword [esp + 0x64], 0
lea ebp, [edi + 4]
lea ebx, [ebx]
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x68]
jae 0x47d8a0
mov eax, dword [ebp]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.004a36c4
add esp, 8
test eax, eax
je 0x47d897
mov edx, dword [esi + 4]
test edx, edx
jne 0x47d848
xor ecx, ecx
jmp 0x47d850
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x47d889
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x47d889
mov eax, dword [esp + 0x64]
mov edi, dword [esi + 8]
push eax
push esi
push ebp
push 1
push edi
call fcn.0047bbc0
mov ecx, dword [esp + 0x78]
add edi, 4
add esp, 0x14
inc ecx
mov dword [esi + 8], edi
mov dword [esp + 0x64], ecx
add ebp, 0x10
jmp 0x47d820
mov eax, dword [esi + 8]
push ebp
push 1
push eax
mov ecx, esi
call fcn.0047ceb0
inc dword [esp + 0x64]
add ebp, 0x10
jmp 0x47d820
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47da08
mov esi, dword [esp + 0x1c]
mov edx, eax
sub esi, edx
sar esi, 4
test esi, esi
mov dword [esp + 0x68], esi
je 0x47da08
call fcn.004a3916
xor edx, edx
div esi
mov ebx, dword [esp + 0x18]
shl edx, 4
mov ecx, dword [edx + ebx + 4]
add edx, ebx
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 0x20]
lea ebp, [ebx + 0x20]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
mov dword [esp + 0x64], ebp
je 0x47d939
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x47d92d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47d92d
push eax
call fcn.00405d76
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47d920
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add ebp, 0x10
mov dword [eax], ebp
mov ebp, eax
jmp 0x47d939
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00405682
mov edx, dword [ebx + 0x14]
test edx, edx
lea esi, [ebx + 0x10]
jne 0x47d947
xor ecx, ecx
jmp 0x47d94f
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x47d97c
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x47d97c
mov ecx, dword [esp + 0x64]
mov edi, dword [esi + 8]
push ecx
push esi
push ebp
push 1
push edi
call fcn.0047bbc0
add esp, 0x14
add edi, 4
mov dword [esi + 8], edi
jmp 0x47d98a
mov eax, dword [esi + 8]
push ebp
push 1
push eax
mov ecx, esi
call fcn.0047ceb0
mov ebp, dword [esp + 0x18]
xor ebx, ebx
add ebp, 4
cmp ebx, dword [esp + 0x68]
jae 0x47da08
mov eax, dword [ebp]
mov edx, dword [esp + 0x64]
mov ecx, dword [edx]
push eax
push ecx
call fcn.004a36c4
add esp, 8
test eax, eax
je 0x47da02
mov edx, dword [esi + 4]
test edx, edx
jne 0x47d9bb
xor ecx, ecx
jmp 0x47d9c3
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x47d9f4
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x47d9f4
mov eax, dword [esp + 0x64]
mov edi, dword [esi + 8]
push eax
push esi
push ebp
push 1
push edi
call fcn.0047bbc0
add edi, 4
add esp, 0x14
inc ebx
mov dword [esi + 8], edi
add ebp, 0x10
jmp 0x47d993
mov eax, dword [esi + 8]
push ebp
push 1
push eax
mov ecx, esi
call fcn.0047ceb0
inc ebx
add ebp, 0x10
jmp 0x47d993
mov ebx, dword [esp + 0x48]
test ebx, ebx
mov byte [esp + 0x5c], 1
je 0x47da69
mov edi, dword [esp + 0x4c]
cmp ebx, edi
mov esi, ebx
je 0x47da60
nop
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47da3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47da59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0x10
cmp esi, edi
jne 0x47da20
push ebx
call fcn.00507ed8
add esp, 4
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov byte [esp + 0x5c], 0
je 0x47dac9
mov edi, dword [esp + 0x1c]
cmp ebx, edi
mov esi, ebx
je 0x47dac0
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47da9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0x10
cmp esi, edi
jne 0x47da80
push ebx
call fcn.00507ed8
add esp, 4
mov ebx, dword [esp + 0x28]
test ebx, ebx
mov dword [esp + 0x5c], 0xffffffff
je 0x47db2c
mov edi, dword [esp + 0x2c]
cmp ebx, edi
mov esi, ebx
je 0x47db23
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47db00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47db1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0x10
cmp esi, edi
jne 0x47dae3
push ebx
call fcn.00507ed8
add esp, 4
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x50
ret 8