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

Disassembly:
push 0xffffffffffffffff
push 0x5a3eb2
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18c]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
mov edi, edx
mov dword [esp + 0x54], eax
call fcn.0048dda0
xor ebx, ebx
push 0xff
lea edx, [esp + 0x79]
push ebx
mov dword [esp + 0x188], ebx
push edx
mov byte [esp + 0x80], bl
call fcn.004fe380
add esp, 0xc
lea ebp, [ebx + 0x10]
cmp esi, ebx
je 0x4899d0
push esi
push str.shell:am__startservice____a____s_
lea eax, [esp + 0x7c]
push 0xff
push eax
call fcn.004f9e18
mov esi, 0xf
lea eax, [esp + 0x84]
add esp, 0x10
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489905
sub eax, edx
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00409ea0
mov eax, str.____user___0_
mov byte [esp + 0x180], 1
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489930
sub eax, edx
push eax
push str.____user___0_
lea ecx, [esp + 0x5c]
call fcn.0042d800
lea edx, [esp + 0x54]
push edx
lea ebx, [esp + 0x18]
call fcn.0048dff0
xor ebx, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
jmp 0x489970
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489970
sub eax, edx
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409ea0
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x18]
mov byte [esp + 0x184], 2
call fcn.0048dff0
cmp dword [esp + 0x4c], ebp
jb 0x4899b1
mov edx, dword [esp + 0x38]
push edx
call fcn.004f6734
add esp, 4
mov byte [esp + 0x180], 0
cmp dword [esp + 0x6c], ebp
jb 0x4899cc
mov eax, dword [esp + 0x58]
push eax
call fcn.004f6734
add esp, 4
xor ebx, ebx
jmp 0x4899d5
mov esi, 0xf
cmp edi, ebx
je 0x489ad1
push edi
push str.shell:am__broadcast____a____s_
lea ecx, [esp + 0x7c]
push 0xff
push ecx
call fcn.004f9e18
lea eax, [esp + 0x84]
add esp, 0x10
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
jmp 0x489a10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489a10
sub eax, edx
push eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x5c]
call fcn.00409ea0
mov eax, str.____user___0_
mov byte [esp + 0x180], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489a38
sub eax, edx
push eax
push str.____user___0_
lea ecx, [esp + 0x5c]
call fcn.0042d800
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x18]
call fcn.0048dff0
xor ebx, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x489a73
sub eax, edx
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00409ea0
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x18]
mov byte [esp + 0x184], 4
call fcn.0048dff0
cmp dword [esp + 0x4c], ebp
jb 0x489ab4
mov eax, dword [esp + 0x38]
push eax
call fcn.004f6734
add esp, 4
mov byte [esp + 0x180], 0
cmp dword [esp + 0x6c], ebp
jb 0x489acf
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004f6734
add esp, 4
xor ebx, ebx
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x180], 5
mov ecx, dword [esp + 0x24]
mov edi, ecx
sub edi, dword [esp + 0x20]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x489c8d
mov dword [esp + 0x30], ebx
mov edi, dword [esi - 0x10]
cmp dword [esi - 0xc], ebx
lea eax, [esi - 0x10]
je 0x489b71
cmp dword [eax + 0xc], ebx
lea ecx, [eax + 0xc]
jge 0x489b47
cmp dword [esi - 8], ebx
jl 0x489d1b
xor ecx, ecx
mov dword [esi - 0xc], ebx
mov word [esi], cx
jmp 0x489b6d
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x489b5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
sub ecx, dword [esp + 0x20]
push edx
push 1
push 0x2710
lea eax, [esp + 0x60]
push 2
push eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor esi, esi
cmp ebp, ecx
jb 0x489ba6
call fcn.004f825e
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
add eax, edx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00409ca0
mov edx, dword [esp + 0x1b8]
mov ecx, esi
call fcn.004800a0
mov esi, dword [esp + 0x5c]
push esi
push str.AsyncStartDaemon_first_end_:::_s
call fcn.0049d036
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
add esp, 8
or eax, ecx
jge 0x489c12
mov ecx, edi
lea eax, [esp + 0x5c]
call fcn.004073a0
mov esi, dword [esp + 0x5c]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.004f8493
add esp, 8
cmp edi, ebx
jl 0x489d1b
cmp edi, dword [esi - 8]
jg 0x489d1b
xor edx, edx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
cmp dword [esi - 0xc], ebx
jl 0x489d25
push 0x5da734
push esi
call fcn.004f7373
add esp, 8
cmp eax, ebx
je 0x489d25
sub eax, esi
sar eax, 1
js 0x489d25
mov ecx, dword [esp + 0x24]
add dword [esp + 0x30], 0x1c
mov edi, ecx
sub edi, dword [esp + 0x20]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
jb 0x489b21
lea eax, [esi - 0x10]
mov byte [esp + 0x180], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x489cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x489cd6
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ecx
call fcn.0048fbf0
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.004f6734
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004f6734
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004f673f
add esp, 0x170
ret 8
push 0x80070057
call fcn.00401050
lea eax, [esi - 0x10]
mov byte [esp + 0x180], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x489d48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x489d6e
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ecx
call fcn.0048fbf0
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.004f6734
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004f6734
add esp, 4
mov eax, 1
jmp 0x489cf1