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

Disassembly:
push 0xffffffffffffffff
push 0x54f720
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0046f200
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp dword [eax + 0xc8], ebx
je 0x471def
mov edi, dword [esp + 0x88]
cmp edi, ebx
je 0x471def
cmp dword [edi + 0x20], ebx
je 0x471def
mov ecx, esi
call fcn.0046e400
mov ecx, eax
call fcn.0048ae80
mov ecx, dword [edi + 0x20]
push ecx
call dword [0x560658]
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x1bc]
mov ecx, edi
call edx
cmp dword [esi + 0x34], ebx
jne 0x47153c
mov dword [esi + 0x40], ebx
jmp 0x471def
mov ecx, esi
call fcn.0046e3d0
mov ebp, eax
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], ebp
call fcn.0042a5e2
add ebp, 0xbc
push ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], ebx
call fcn.004ad8a0
mov esi, dword [esi + 0x34]
lea ebp, [esi - 1]
cmp ebp, ebx
mov byte [esp + 0x80], 1
jl 0x471640
test ebp, ebp
jl 0x4717da
mov eax, dword [esp + 0x14]
add eax, 0x2c
cmp ebp, dword [eax + 8]
jge 0x4717da
mov ecx, dword [eax + 4]
mov esi, dword [ecx + ebp*4]
mov edx, dword [esi + 0x54]
lea eax, [ecx + ebp*4]
mov eax, dword [edx - 0xc]
lea ebx, [esi + 0x54]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov dword [esi + 0x7c], eax
test eax, eax
jne 0x471637
mov edx, dword [esi + 0x58]
lea edi, [esi + 0x58]
cmp dword [edx - 0xc], ecx
jne 0x4715ef
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
push 1
push ebp
add ecx, 0x2c
call fcn.00469800
jmp 0x471637
mov ecx, edi
call fcn.00407461
mov eax, dword [edi]
push eax
call fcn.0048e880
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
add esp, 4
cmp dword [edx - 0xc], 0
jne 0x47162f
inc eax
push eax
mov ecx, edi
call fcn.004017f8
movzx eax, ax
push eax
mov ecx, ebx
call fcn.00470f90
call fcn.004bcb70
mov ecx, eax
call fcn.005363d0
jmp 0x471637
push ecx
mov ecx, ebx
call fcn.004074a5
sub ebp, 1
jns 0x471585
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebp + 0x34]
xor edi, edi
mov dword [esp + 0x18], ebx
test ebx, ebx
jle 0x471b77
test edi, edi
jl 0x4717da
cmp edi, dword [ebp + 0x34]
jge 0x4717da
mov ecx, dword [ebp + 0x30]
mov esi, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov eax, dword [esi + 0x54]
sub eax, 0x10
push eax
call fcn.004019c6
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x40]
call fcn.0046e540
mov edx, dword [esp + 0x48]
push esi
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 3
call fcn.0046e730
push 0x56a320
lea ecx, [esp + 0x90]
call fcn.00401476
inc edi
cmp edi, dword [esp + 0x18]
mov byte [esp + 0x80], 4
mov dword [esp + 0x3c], edi
mov ebx, edi
jge 0x4717ad
nop
test ebx, ebx
jl 0x4717da
cmp ebx, dword [ebp + 0x34]
jge 0x4717da
mov eax, dword [ebp + 0x30]
mov esi, dword [eax + ebx*4]
lea eax, [eax + ebx*4]
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], 0
jl 0x471c4e
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
movzx eax, word [eax]
jl 0x471c4e
movzx ecx, word [ecx]
cmp ax, cx
jne 0x47179e
mov ecx, dword [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x48]
call fcn.0046e730
mov edx, dword [esi + 0x54]
cmp dword [edx - 0xc], 2
jne 0x47179e
mov esi, edx
cmp dword [esi - 0xc], 1
jl 0x471c4e
mov edx, dword [esp + 0x8c]
mov edi, dword [edx - 0xc]
movzx ebp, word [esi + 2]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x47176e
push esi
lea ecx, [esp + 0x90]
call fcn.004018b5
mov edx, dword [esp + 0x8c]
mov word [edx + edi*2], bp
test esi, esi
jl 0x471c4e
mov eax, dword [esp + 0x8c]
cmp esi, dword [eax - 8]
jg 0x471c4e
mov ebp, dword [esp + 0x14]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov word [ecx + esi*2], ax
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x4716d0
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
cmp edx, 2
jge 0x4717df
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x471b26
call fcn.00427c17
xor eax, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x34], eax
test edx, edx
jle 0x471b07
test eax, eax
jl 0x4717da
cmp eax, edx
jge 0x4717da
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + eax*4]
lea ecx, [ebx + 0x54]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 1
jg 0x471af6
mov eax, dword [ebx + 0x58]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
xor esi, esi
test ecx, ecx
jle 0x471915
mov ecx, dword [esp + 0x8c]
test esi, esi
jl 0x471c4e
cmp esi, edx
jg 0x471c4e
movzx edi, word [eax + esi*2]
cmp di, 0x20
jne 0x471887
lea edi, [esi + 1]
test edi, edi
jl 0x471c4e
cmp edi, edx
jg 0x471c4e
cmp dword [ecx - 0xc], 0
movzx eax, word [eax + esi*2 + 2]
jle 0x47189a
push eax
push ecx
call fcn.00449c15
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
je 0x47189a
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x47189a
mov eax, dword [ebx + 0x58]
mov edx, dword [eax - 0xc]
inc esi
lea edi, [edx - 1]
cmp esi, edi
jl 0x471831
jmp 0x47191c
lea eax, [esi + 1]
test eax, eax
jl 0x471c4e
mov edx, dword [ebx + 0x58]
cmp eax, dword [edx - 0xc]
jg 0x471c4e
movzx esi, word [edx + eax*2]
mov ebp, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, edx
jge 0x4718e0
push edi
lea ecx, [esp + 0x90]
call fcn.004018b5
mov ecx, dword [esp + 0x8c]
mov word [ecx + ebp*2], si
test edi, edi
jl 0x471c4e
mov eax, dword [esp + 0x8c]
cmp edi, dword [eax - 8]
jg 0x471c4e
mov dword [eax - 0xc], edi
mov eax, dword [esp + 0x8c]
xor edx, edx
mov word [eax + edi*2], dx
test si, si
jne 0x471aa1
mov ecx, dword [esp + 0x8c]
mov eax, dword [ebx + 0x58]
mov edi, dword [eax - 0xc]
test edi, edi
jl 0x471c4e
movzx esi, word [eax]
xor edx, edx
cmp si, 0x26
sete dl
mov esi, edx
test esi, esi
jl 0x471c4e
cmp esi, edi
jg 0x471c4e
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
cmp dword [edx - 0xc], 0
movzx ebp, word [eax + esi*2]
jl 0x471c4e
movzx edx, word [edx]
cmp bp, dx
jne 0x471965
inc esi
cmp esi, edi
jge 0x471a25
lea ecx, [ecx]
test esi, esi
jl 0x471c4e
cmp esi, edi
jg 0x471c4e
cmp dword [ecx - 0xc], 0
movzx eax, word [eax + esi*2]
jle 0x4719b5
push eax
push ecx
call fcn.00449c15
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
je 0x4719b5
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x4719b5
mov eax, dword [ebx + 0x58]
mov edi, dword [eax - 0xc]
inc esi
cmp esi, edi
jl 0x471970
jmp 0x471a25
mov eax, dword [ebx + 0x58]
cmp esi, dword [eax - 0xc]
jg 0x471c4e
movzx esi, word [eax + esi*2]
mov ebp, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, edx
jge 0x4719f0
push edi
lea ecx, [esp + 0x90]
call fcn.004018b5
mov ecx, dword [esp + 0x8c]
mov word [ecx + ebp*2], si
test edi, edi
jl 0x471c4e
mov eax, dword [esp + 0x8c]
cmp edi, dword [eax - 8]
jg 0x471c4e
mov dword [eax - 0xc], edi
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov word [ecx + edi*2], ax
test si, si
jne 0x471aa1
call fcn.00427609
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x471c58
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push 0x56a318
push edx
mov byte [esp + 0x8c], 5
call fcn.0040197a
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [eax - 0xc], 0
jl 0x471c4e
movzx esi, word [eax]
inc dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471aa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov ebp, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x471ac6
push edi
mov ecx, ebx
call fcn.004018b5
mov eax, dword [ebx]
mov word [eax + ebp*2], si
test edi, edi
jl 0x471c4e
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x471c4e
mov ebp, dword [esp + 0x14]
mov dword [eax - 0xc], edi
mov ecx, dword [ebx]
mov eax, dword [esp + 0x34]
xor edx, edx
mov word [ecx + edi*2], dx
mov edx, dword [esp + 0x48]
inc eax
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x4717f5
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471b32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 2
call fcn.0046e560
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x80], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471b6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
cmp edi, ebx
jl 0x471655
mov ecx, ebp
call fcn.0046e240
mov dword [esp + 0x3c], eax
mov dword [esp + 0x8c], 0
test ebx, ebx
jle 0x471d8b
mov eax, dword [esp + 0x8c]
lea esp, [esp]
test eax, eax
jl 0x4717da
cmp eax, dword [ebp + 0x34]
jge 0x4717da
mov ecx, dword [ebp + 0x30]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x70], 0
lea eax, [ecx + eax*4]
je 0x471d6a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x78]
push eax
call dword [0x560118]
mov eax, dword [esp + 0x30]
add eax, 2
cmp eax, 0xf
mov ebx, eax
jg 0x471bef
mov ebx, 0xf
mov eax, dword [esp + 0x2c]
add eax, 6
cmp eax, 0x10
mov ebp, eax
jg 0x471c02
mov ebp, 0x10
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x68]
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0x60]
push eax
push 0x560f14
call fcn.0042beee
add esp, 8
test eax, eax
jne 0x471c3b
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [0x560530]
mov ecx, dword [esi + 0x78]
test cl, 4
je 0x471c62
mov eax, ebx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x471c70
push 0x80070057
call fcn.00401a5c
push 0x80004005
call fcn.00401a5c
mov edx, ecx
and dl, 8
movzx edi, dl
neg edi
sbb edi, edi
and edi, ebx
test cl, 1
je 0x471c7e
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
jmp 0x471c90
cmp dword [esp + 0x3c], 0
jne 0x471c8e
test cl, 2
jne 0x471c8e
xor eax, eax
jmp 0x471c90
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x40], edx
add edx, ebp
mov dword [esp + 0x44], ecx
add ecx, ebx
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
je 0x471cca
cmp dword [esi + 0x6c], 0
jne 0x471cca
mov ebp, 1
jmp 0x471ccc
xor ebp, ebp
mov ecx, dword [esp + 0x88]
mov edi, dword [esi]
push 0
push 0
push ecx
lea edx, [esp + 0x4c]
push edx
push 0x80000000
push 0
push 0
push 0
push 0
push 0x800
add edi, 0x58
call fcn.0042570a
mov edx, dword [edi]
push eax
mov eax, ebp
neg eax
sbb eax, eax
and eax, 0x80000
or eax, 0x80
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0x210
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x48]
sub edx, ecx
push edx
push eax
push ecx
push 0x5c3ad0
mov ecx, esi
call fcn.0042688b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
push 1
push esi
push 0
call edx
test ebp, ebp
je 0x471d6a
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xe8]
push 2
push 0x96
push 0
push eax
call edx
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
jl 0x471ba0
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x471dca
test esi, esi
jl 0x4717da
cmp esi, dword [ebp + 0x34]
jge 0x4717da
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x70], 0
lea eax, [eax + esi*4]
je 0x471dc5
push 0x257
push 0
push 0
push 0
push 0
push 0
call fcn.0042688b
inc esi
cmp esi, ebx
jl 0x471d91
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.004ad8e0
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042a636
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8