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

Disassembly:
push 0xffffffffffffffff
push 0x4f8328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.004ddd65
xor ebx, ebx
push 0x506274
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], ebx
call fcn.00401fd0
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov byte [esp + 0x78], 1
call fcn.0047ba90
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x68], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485ba8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x506274
lea ecx, [esp + 0x20]
call fcn.00401fd0
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov byte [esp + 0x78], 2
call fcn.0047b9c0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x68], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485bf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x74]
push eax
push ebx
mov ecx, ebp
call fcn.004857b0
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov dword [esp + 0x18], ebx
jbe 0x485f05
mov dword [esp + 0x1c], ebx
jmp 0x485c20
mov ebp, dword [esp + 0x74]
lea ecx, [ecx]
test ebx, ebx
jl 0x485f33
cmp ebx, eax
jge 0x485f33
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x485c5d
cmp eax, dword [esi]
jne 0x485c5d
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x485c8f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x485f2e
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
push 0
push ecx
mov byte [esp + 0x74], 3
call fcn.0047a640
mov eax, dword [ebp]
add esp, 0xc
cmp ebx, eax
jae 0x485cbf
mov ebp, dword [ebp + 4]
add ebp, dword [esp + 0x1c]
jmp 0x485cc1
xor ebp, ebp
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00479410
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 0xc]
push 0x5c
push eax
mov byte [esp + 0x7c], 4
call fcn.004d0e7b
add esp, 0x14
test eax, eax
jne 0x485cf2
or eax, 0xffffffff
jmp 0x485cf8
sub eax, dword [esp + 0x14]
sar eax, 1
sub esi, eax
dec esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00478300
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x68], 5
je 0x485d69
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x485d5b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x485d5b
push eax
call fcn.0041afd0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x485d4e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x485d69
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041b2c0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x68], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485d8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0047a790
add esp, 0xc
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x68], 6
je 0x485dff
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x485df1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x485df1
push eax
call fcn.00401660
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x485de4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
jmp 0x485dff
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401880
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x68], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485e22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x485e3f
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.004013d0
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
inc esi
test eax, eax
je 0x485e50
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [ebp + 4], esi
call fcn.004df1be
add esp, 4
test edi, edi
mov dword [ebp + 8], eax
je 0x485e77
mov ecx, esi
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
and al, 0x10
neg al
mov byte [esp + 0x68], 3
sbb eax, eax
add eax, 2
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0xc], ecx
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x18], edx
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485ec6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485ee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc ebx
add edx, 0x20
cmp ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
jb 0x485c19
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.004dddb7
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret
jmp fcn.0041aab0
jmp fcn.004dced3