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

Disassembly:
push 0xffffffffffffffff
push 0x946db8
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x460]
mov eax, dword [esp + 0x458]
mov esi, dword [esp + 0x450]
mov ebx, dword [esp + 0x454]
mov ebp, dword [esp + 0x45c]
mov edi, dword [esp + 0x464]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], edi
call fcn.008f06a0
mov dword [esp + 0x448], 0
test ebx, ebx
sete byte [esp + 0x17]
mov byte [esp + 0x16], 0
test ebx, ebx
jne 0x849d55
mov byte [esp + 0x16], 1
call dword [0x982244]
or dword [esi], 0x400
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x849d53
push ebx
push 2
lea ecx, [esp + 0x24]
call fcn.00847d80
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.0090df00
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.0090df00
mov ebx, dword [esp + 0x34]
jmp 0x849e57
mov ebx, eax
test dword [esi], 0x400
jne 0x849df4
xor eax, eax
cmp byte [ebx + eax], 0
jne 0x849d70
cmp byte [ebx + eax + 1], 0
je 0x849d73
inc eax
jmp 0x849d63
inc eax
push eax
push ebx
lea ecx, [esp + 0x50]
call fcn.0090a390
mov byte [esp + 0x448], 1
mov ecx, dword [esp + 0x4c]
inc ecx
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00847d80
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x849db1
call fcn.0091bc53
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x849df0
call fcn.0091bc53
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x849dca
call fcn.0091bc53
lea edx, [edi + edi + 2]
push edx
push ebp
push esi
call fcn.0091b5e0
add esp, 0xc
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.009098c0
mov ebp, dword [esp + 0x18]
jmp 0x849e53
mov eax, dword [eax]
jmp 0x849dc0
xor esi, esi
cmp word [ebx + esi*2], 0
jne 0x849e05
cmp word [ebx + esi*2 + 2], 0
je 0x849e08
inc esi
jmp 0x849df6
push 0
add esi, 2
push esi
lea ecx, [esp + 0x24]
call fcn.00847d80
mov eax, dword [esp + 0x28]
mov edi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x849e28
call fcn.0091bc53
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x84a09e
call fcn.0091bc53
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x849e45
call fcn.0091bc53
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.0091b5e0
add esp, 0xc
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
call fcn.0090a020
mov byte [esp + 0x448], 2
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.00846890
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.008491c0
add esp, 0x10
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.009098c0
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.008491c0
mov eax, dword [0x99aff8]
sub eax, dword [0x99aff4]
add esp, 8
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x849ef3
cmp esi, eax
jb 0x849ec9
call fcn.0091bc53
mov edx, dword [0x99aff4]
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.008491c0
mov eax, dword [0x99aff8]
sub eax, dword [0x99aff4]
inc esi
sar eax, 2
add esp, 8
cmp esi, eax
jb 0x849ec9
push ebp
lea ecx, [esp + 0x20]
push 0x95a644
push ecx
call fcn.00847880
push ebp
lea edx, [esp + 0x2c]
push str.TS_ORIGIN
push edx
call fcn.00847880
call fcn.00844620
push eax
lea eax, [esp + 0x38]
push str.TS_OPTIONS
push eax
call fcn.00847880
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x44]
push str.TS_USER_SID
push edx
call fcn.00847880
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x50]
push str.TS_TOKEN_INTEGRITY_LEVEL
push ecx
call fcn.00847880
mov edx, dword [esp + 0x78]
add esp, 0x3c
test byte [edx], 3
je 0x849f70
push 0x95b220
lea eax, [esp + 0x20]
push str.TS_DEBUGGED
push eax
call fcn.00847880
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.0090a020
mov byte [esp + 0x448], 3
push 0x7fff
lea ecx, [esp + 0x4c]
call fcn.00909d60
push 0
lea ecx, [esp + 0x4c]
call fcn.009094f0
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.009094f0
push esi
mov esi, dword [0x9822ac]
push eax
push str.TS_SVCINIT
call esi
test eax, eax
je 0x849fd7
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x20]
push str.TS_SVCINIT
push eax
call fcn.00847880
add esp, 0xc
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.009098c0
lea ecx, [esp + 0x190]
call fcn.0090a020
mov byte [esp + 0x448], 4
lea ecx, [esp + 0xec]
call fcn.0090a020
mov byte [esp + 0x448], 5
cmp byte [esp + 0x17], 0
jne 0x84a11d
call fcn.0088f9e0
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.0090a020
mov byte [esp + 0x448], 6
push edi
lea ecx, [esp + 0x4c]
push str._ls_SANDBOX_DIR
push ecx
call fcn.0090ab30
mov eax, dword [esp + 0x54]
add esp, 0xc
push 0x104
lea edx, [esp + 0x238]
push edx
push eax
call esi
test eax, eax
je 0x84a0a5
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x194]
push 0x95b0a0
push edx
call fcn.0090ab30
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xfc]
push 0x95b0a0
push ecx
call fcn.0090ab30
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x24c]
push edx
push eax
jmp 0x84a0fb
mov eax, dword [eax]
jmp 0x849e3b
push 0x104
lea edx, [esp + 0x238]
push edx
push str.THINSTALL_SANDBOX_DIR
call esi
test eax, eax
je 0x84a108
push str.THINSTALL_SANDBOX_DIR
lea eax, [esp + 0x194]
push 0x95b0a0
push eax
call fcn.0090ab30
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0xfc]
push 0x95b0a0
push edx
call fcn.0090ab30
lea eax, [esp + 0x24c]
push eax
push str.THINSTALL_SANDBOX_DIR
lea ecx, [esp + 0x3c]
push ecx
call fcn.00847880
add esp, 0x24
mov byte [esp + 0x448], 5
lea ecx, [esp + 0x48]
call fcn.009098c0
mov edi, dword [esp + 0x38]
mov esi, dword [0x9822a8]
push ebp
push 0x95a644
call esi
push ebp
push str.TS_ORIGIN
call esi
call fcn.00844620
push eax
push str.TS_OPTIONS
call esi
mov edx, dword [edi]
push edx
push str.TS_USER_SID
call esi
mov eax, dword [edi + 4]
push eax
push str.TS_TOKEN_INTEGRITY_LEVEL
call esi
mov edi, dword [esp + 0x3c]
test byte [edi], 3
je 0x84a16a
push 0x95b220
push str.TS_DEBUGGED
call esi
test byte [edi], 4
je 0x84a192
push 0x95b220
lea ecx, [esp + 0x20]
push str.TS_WAITINIT
push ecx
call fcn.00847880
add esp, 0xc
push 0x95b220
push str.TS_WAITINIT
call esi
cmp byte [esp + 0x17], 0
jne 0x84a1ab
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x190]
push edx
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, ecx
sub esi, eax
sar esi, 1
test dword [edi], 0x400
jne 0x84a23b
mov edi, eax
cmp eax, ecx
jbe 0x84a1cc
call fcn.0091bc53
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x84a237
call fcn.0091bc53
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x84a1e5
call fcn.0091bc53
push esi
push edi
lea ecx, [esp + 0x50]
call fcn.0090a320
mov byte [esp + 0x448], 7
lea ecx, [esp + 0x48]
call fcn.009098d0
inc eax
push eax
call fcn.0084dcb0
add esp, 4
push 1
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.009098d0
inc eax
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.009099a0
mov byte [esp + 0x448], 5
lea ecx, [esp + 0x48]
call fcn.009098c0
jmp 0x84a28d
mov eax, dword [eax]
jmp 0x84a1db
lea ebp, [esi + esi + 2]
push ebp
call fcn.0084dcb0
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov ebx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x84a25b
call fcn.0091bc53
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x84a301
call fcn.0091bc53
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x84a278
call fcn.0091bc53
push ebp
push ebx
push edi
call fcn.0091b5e0
mov ebx, dword [esp + 0x40]
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
cmp byte [esp + 0x16], 0
je 0x84a29b
push ebx
call dword [0x982330]
mov byte [esp + 0x448], 4
lea ecx, [esp + 0xec]
call fcn.009098c0
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x190]
call fcn.009098c0
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.009343d0
mov eax, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x438
ret
mov eax, dword [eax]
jmp 0x84a26e