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

Disassembly:
sub esp, 0xec
mov eax, dword [0x8154e0]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
push edi
xor eax, 0x69746572
xor ebx, ebx
lea edi, [esp + 0x18]
mov word [esp + 0x1c], bx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], eax
call fcn.004d39d0
mov ebp, eax
cmp ebp, ebx
je 0x479f46
mov edi, edi
cmp word [ebp + 2], 0xffff
mov dword [esp + 0x14], ebx
jne 0x479f33
mov eax, dword [ebp + 0x12c]
mov ecx, dword [ebp + 0x130]
cmp eax, ecx
jle 0x479b57
sub eax, ecx
mov dword [esp + 0x10], eax
jmp 0x479b70
jge 0x479b69
mov edx, dword [ebp + 0x120]
sub edx, ecx
add edx, eax
mov dword [esp + 0x10], edx
jmp 0x479b70
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
mov ecx, dword [ebp + 0x12c]
mov edx, dword [ebp + 0x130]
cmp ecx, edx
jle 0x479b86
mov eax, ecx
sub eax, edx
jmp 0x479b96
jge 0x479b94
mov eax, dword [ebp + 0x120]
sub eax, edx
add eax, ecx
jmp 0x479b96
xor eax, eax
cmp eax, dword [0x623d7c]
jg 0x479bd5
xor esi, esi
cmp edx, ecx
je 0x479bc9
mov edi, dword [ebp + 0x128]
lea ebx, [ebx]
mov eax, dword [edi + edx*4]
mov ebx, dword [eax + 4]
lea eax, [edx + 1]
add esi, ebx
cdq
mov ebx, 0x78
idiv ebx
cmp edx, ecx
jne 0x479bb0
xor ebx, ebx
cmp esi, dword [0x623d80]
jle 0x479ee1
lea eax, [ebp + 0x120]
push eax
lea eax, [esp + 0xd0]
call fcn.0047cd00
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xd4]
add esp, 4
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xd4]
dec ecx
cmp eax, ecx
jne 0x479cc0
cmp word [0x6b46e8], 1
jne 0x479cc0
cmp word [ebp + 2], 0xffff
jne 0x479cc0
mov ecx, dword [ebp + 0x34]
cmp ecx, 0xffffffff
je 0x479cc0
mov edx, ecx
xor esi, esi
sar edx, 0x10
cmp cx, bx
jl 0x479c69
mov edi, dword [0x7fb2d0]
cmp cx, word [edi + 0x20]
jge 0x479c69
movsx eax, word [edi + 0x22]
movsx ecx, cx
imul eax, ecx
add eax, dword [edi + 0x34]
mov cx, word [eax]
cmp cx, bx
je 0x479c69
cmp dx, bx
je 0x479c67
cmp cx, dx
jne 0x479c69
mov esi, eax
cmp esi, ebx
je 0x479cc0
mov cl, byte [esi + 3]
mov edx, 1
shl edx, cl
test dl, 3
je 0x479cc0
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x479cc0
mov ecx, dword [esi + 0x218]
call fcn.00479f60
test al, al
mov ebx, esi
jne 0x479caa
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x4bc], eax
mov eax, ebp
call fcn.0047a0a0
jmp 0x479cbe
mov ecx, dword [esp + 0xcc]
mov eax, ebp
mov dword [esi + 0x4bc], ecx
call fcn.0047a1e0
xor ebx, ebx
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 0x479b70
mov ecx, eax
and ecx, 0xffff
lea edx, [ecx + ecx*2]
mov ecx, dword [0x7fb2d0]
mov ecx, dword [ecx + 0x34]
mov edi, dword [ecx + edx*4 + 8]
mov edx, dword [edi + 0x204]
shr edx, 6
test dl, 1
je 0x479b70
mov ecx, dword [0x8154d8]
cmp byte [ecx + 0x11], bl
jne 0x479dc6
mov dx, word [esp + 0xac]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
lea esi, [esp + 0x50]
mov word [esp + 0x2a], dx
call fcn.00476b40
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 + 0xb8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
mov ax, word [esp + 0xc4]
mov dword [esp + 0x40], edx
mov dx, word [esp + 0xc8]
mov dword [esp + 0x38], ecx
mov cx, word [esp + 0xc6]
mov word [esp + 0x2c], ax
mov eax, dword [ebp + 0x34]
mov word [esp + 0x30], dx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x28], 3
mov word [esp + 0x2e], cx
mov byte [esp + 0x29], bl
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
jmp 0x479e93
mov edx, dword [edi + 0x1f8]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x479e9b
cmp dword [edi + 0x1f4], ecx
jne 0x479e9b
mov edx, dword [0x631d04]
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], bl
mov word [esp + 0x6a], bx
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.00567370
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.00479f60
test al, al
je 0x479ec4
cmp byte [0x624a85], bl
je 0x479ec4
mov eax, dword [edi + 0x11c]
push eax
call fcn.004fb9a0
add esp, 4
jmp 0x479b70
mov ecx, dword [ebp + 0x34]
push ecx
call fcn.00565f30
mov edx, dword [ebp + 0x34]
add esp, 4
push edx
call fcn.0055ca10
add esp, 4
jmp 0x479b70
mov ecx, dword [ebp + 0x12c]
mov edx, dword [ebp + 0x130]
cmp ecx, edx
jle 0x479ef7
sub ecx, edx
mov eax, ecx
jmp 0x479f07
jge 0x479f05
mov eax, dword [ebp + 0x120]
sub eax, edx
add eax, ecx
jmp 0x479f07
xor eax, eax
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x479f33
push ecx
push eax
mov eax, dword [0x68cca8]
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.004e99f0
add esp, 0x14
lea edi, [esp + 0x18]
call fcn.004d39d0
mov ebp, eax
cmp ebp, ebx
jne 0x479b30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret