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

Disassembly:
sub esp, 0xec
mov eax, dword [0x87a020]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
push edi
xor eax, 0x69746572
xor esi, esi
lea edi, [esp + 0x18]
mov word [esp + 0x1c], si
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], eax
call fcn.004d0610
mov ebp, eax
cmp ebp, esi
je 0x477375
mov edi, edi
cmp word [ebp + 2], 0xffff
mov dword [esp + 0x14], esi
jne 0x477362
mov eax, dword [ebp + 0x12c]
mov edx, dword [ebp + 0x130]
cmp eax, edx
jle 0x476f17
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x476f30
jge 0x476f29
mov ecx, dword [ebp + 0x120]
sub ecx, edx
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x476f30
mov dword [esp + 0x10], esi
lea ecx, [ecx]
mov edi, dword [ebp + 0x12c]
mov esi, dword [ebp + 0x130]
cmp edi, esi
jle 0x476f46
mov eax, edi
sub eax, esi
jmp 0x476f56
jge 0x476f54
mov eax, dword [ebp + 0x120]
sub eax, esi
add eax, edi
jmp 0x476f56
xor eax, eax
cmp eax, dword [0x6887bc]
jg 0x476f9d
mov edx, esi
xor ecx, ecx
cmp edx, edi
je 0x476f91
jmp 0x476f70
mov eax, dword [ebp + 0x128]
mov eax, dword [eax + edx*4]
mov ebx, dword [eax + 4]
lea eax, [edx + 1]
add ecx, ebx
cdq
mov ebx, 0x78
idiv ebx
cmp edx, dword [ebp + 0x12c]
jne 0x476f70
cmp ecx, dword [0x6887c0]
jle 0x47730e
or eax, 0xffffffff
or ebx, 0xffffffff
cmp esi, edi
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
je 0x477024
mov ecx, dword [ebp + 0x128]
mov ebx, dword [ecx + esi*4]
dec dword [ebx + 4]
jne 0x476ff3
mov eax, dword [ebp + 0x130]
cmp eax, dword [ebp + 0x12c]
je 0x4770da
mov edx, dword [ebp + 0x128]
mov ebx, dword [edx + eax*4]
inc eax
cdq
idiv dword [ebp + 0x120]
mov dword [ebp + 0x130], edx
mov esi, ebx
mov ecx, 0xb
lea edi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xc]
mov ebx, dword [esp + 0xcc]
lea edi, [ebp + 0x13c]
mov ecx, 8
mov byte [ebp + 0x138], 1
rep movsd dword es:[edi], dword [esi]
or eax, 0xffffffff
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
inc esi
dec ecx
cmp edx, ecx
mov dword [esp + 0x14], esi
jne 0x4770e6
cmp word [0x719648], 1
jne 0x4770e6
cmp word [ebp + 2], ax
jne 0x4770e6
mov ecx, dword [ebp + 0x34]
cmp ecx, eax
je 0x4770e6
mov edx, ecx
xor edi, edi
sar edx, 0x10
test cx, cx
jl 0x4770a0
mov esi, dword [0x85ff50]
cmp cx, word [esi + 0x20]
jge 0x4770a0
movsx eax, word [esi + 0x22]
movsx ecx, cx
imul eax, ecx
add eax, dword [esi + 0x34]
mov cx, word [eax]
test cx, cx
je 0x4770a0
test dx, dx
je 0x47709e
cmp cx, dx
jne 0x4770a0
mov edi, eax
test edi, edi
je 0x4770e6
mov cl, byte [edi + 3]
mov edx, 1
shl edx, cl
test dl, 3
je 0x4770e6
mov esi, dword [edi + 8]
test esi, esi
je 0x4770e6
mov ecx, dword [esi + 0x218]
call fcn.00477380
mov dword [esi + 0x4bc], ebx
test al, al
mov ebx, esi
mov eax, ebp
jne 0x4770e1
call fcn.004774c0
jmp 0x4770e6
xor ebx, ebx
jmp 0x476ff3
call fcn.00477600
mov eax, dword [ebp + 0x34]
cmp eax, 0xffffffff
mov ecx, 8
lea esi, [esp + 0xd8]
lea edi, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
je 0x476f30
mov edx, dword [0x85ff50]
mov edx, dword [edx + 0x34]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov edi, dword [edx + ecx*4 + 8]
mov ecx, dword [edi + 0x204]
shr ecx, 6
test cl, 1
je 0x476f30
mov edx, dword [0x87a018]
mov cl, byte [edx + 0x11]
test cl, cl
jne 0x4771ef
mov ax, word [esp + 0xac]
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
lea esi, [esp + 0x50]
call fcn.00473f10
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x38], edx
mov dx, word [esp + 0xc6]
mov dword [esp + 0x40], eax
mov ax, word [esp + 0xc8]
mov dword [esp + 0x34], ecx
mov cx, word [esp + 0xc4]
mov word [esp + 0x2e], dx
mov word [esp + 0x30], ax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x28], 3
mov word [esp + 0x2c], cx
mov byte [esp + 0x29], 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
jmp 0x4772bf
mov edx, dword [edi + 0x1f8]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x4772c7
cmp dword [edi + 0x1f4], ecx
jne 0x4772c7
mov edx, dword [0x696714]
mov esi, dword [edx]
mov dword [esp + 0x74], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], esi
lea edx, [edi + 0x224]
mov esi, dword [edx]
mov dword [esp + 0x84], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], esi
lea edx, [edi + 0x230]
mov esi, dword [edx]
mov dword [esp + 0x90], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x98], edx
lea edx, [edi + 0x254]
mov dword [esp + 0x94], esi
mov esi, dword [edx]
mov dword [esp + 0x9c], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa4], edx
mov byte [esp + 0x68], 3
mov byte [esp + 0x69], 0
mov word [esp + 0x6a], 0
mov word [esp + 0x6c], cx
mov word [esp + 0x6e], cx
mov word [esp + 0x70], cx
mov dword [esp + 0x80], 0
mov dword [esp + 0xa0], esi
push ecx
lea edx, [esp + 0x6c]
call fcn.00563e20
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.00477380
test al, al
je 0x4772f1
mov al, byte [0x6894a1]
test al, al
je 0x4772f1
mov eax, dword [edi + 0x11c]
push eax
call fcn.004f8090
add esp, 4
jmp 0x476f30
mov ecx, dword [ebp + 0x34]
push ecx
call fcn.005629e0
mov edx, dword [ebp + 0x34]
add esp, 4
push edx
call fcn.005594d0
add esp, 4
jmp 0x476f30
mov ecx, dword [ebp + 0x12c]
mov edx, dword [ebp + 0x130]
cmp ecx, edx
jle 0x477324
sub ecx, edx
mov eax, ecx
jmp 0x477334
jge 0x477332
mov eax, dword [ebp + 0x120]
sub eax, edx
add eax, ecx
jmp 0x477334
xor eax, eax
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, esi
jle 0x477362
push ecx
push eax
mov eax, dword [0x6f1c94]
mov ecx, dword [eax + 0xc]
push ecx
push str.__d_:_Caught_up_on___d__updates____d__ticks._n
push 1
mov eax, ebp
call fcn.004e60d0
add esp, 0x14
lea edi, [esp + 0x18]
call fcn.004d0610
mov ebp, eax
cmp ebp, esi
jne 0x476ef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret