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

Disassembly:
push 0xffffffffffffffff
push 0x6002dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x48]
push ebx
push ebp
mov ebp, dword [0x65622c]
push esi
mov esi, dword [0x656230]
push edi
mov edi, ecx
sub esi, ebp
sar esi, 5
lea ecx, [edi + 0x8c]
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
call fcn.00488030
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x18], ebx
jbe 0x489964
xor ebp, ebp
mov dword [esp + 0x58], ebp
jmp 0x489690
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x58]
xor ebx, ebx
jmp 0x489690
push 0x100
call fcn.005d0282
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x50], ebx
je 0x4896c8
cmp edi, ebx
je 0x4896b2
lea edx, [edi + 0x7c]
jmp 0x4896b4
xor edx, edx
mov esi, dword [esp + 0x10]
push edx
push esi
mov ecx, eax
call fcn.0050c9b0
inc esi
mov dword [esp + 0x10], esi
jmp 0x4896ca
xor eax, eax
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x34], eax
call fcn.00486dc0
mov esi, dword [esp + 0x2c]
push 0x60c437
lea ecx, [esi + 0x78]
push 0x60c437
mov dword [esp + 0x58], 1
call fcn.00413300
cmp dword [0x655ca8], ebx
jne 0x489734
mov al, byte [0x655cac]
test al, al
jne 0x489979
call fcn.00411ea0
push 0x411f00
mov dword [0x655ca8], eax
call fcn.005e0ca0
add esp, 4
mov edx, dword [0x65622c]
mov ecx, dword [0x655ca8]
mov ecx, dword [ecx + 0x4f0]
lea eax, [edx + ebp]
push eax
call fcn.00512740
mov edi, eax
cmp edi, ebx
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov byte [esi + 0x68], 1
je 0x4897a4
mov edx, dword [0x65622c]
mov ebx, dword [esi]
mov ecx, edi
add ebp, edx
call fcn.00429740
push eax
mov ecx, edi
call fcn.00486c90
fld dword [ebp + 0x10]
push eax
call fcn.005e0b1c
fld dword [ebp + 0xc]
push eax
call fcn.005e0b1c
push eax
mov ecx, esi
call dword [ebx + 0x64]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 8
mov byte [esp + 0x54], 3
call fcn.00401cc0
mov ebp, eax
mov edi, ebp
lea ecx, [ebp + 8]
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov byte [ebp], 0
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov byte [esp + 0x50], 4
mov dword [esp + 0x34], esi
je 0x48982c
push 1
lea esi, [ebx + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x48981c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x489807
mov edx, dword [ebx + 4]
push 0
inc edx
push esi
mov dword [ebx + 4], edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [0x65622c]
mov eax, dword [esp + 0x58]
lea eax, [eax + edx + 0x14]
lea ecx, [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x38], ebx
je 0x489863
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0040c800
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
sub edi, ebp
jne 0x48988a
xor ecx, ecx
mov edi, 0x60c437
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x48987b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48988a
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
push 1
call dword [eax + 0x58]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
add esi, 0x8c
cmp ecx, eax
je 0x4898c5
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
test ecx, ecx
mov byte [esp + 0x50], 5
je 0x4898bf
lea edx, [esp + 0x34]
push edx
call fcn.00487610
add dword [esi + 4], 0x14
jmp 0x4898db
push 1
push 1
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, esi
call fcn.00487d80
mov eax, dword [esp + 0x44]
sub eax, ebp
test ebp, ebp
mov byte [esp + 0x50], 1
je 0x489924
cmp eax, 0x80
jbe 0x4898f9
push ebp
call fcn.005e05ca
jmp 0x489921
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [esi]
mov dword [ebp], eax
mov dword [esi], ebp
mov dword [0x655bd8], 0
add esp, 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x489931
call fcn.0041ba80
test ebx, ebx
mov dword [esp + 0x50], 0xffffffff
je 0x489944
mov ecx, ebx
call fcn.0041ba80
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
inc eax
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], edx
jb 0x489681
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
call fcn.0040c870
int3