Function at 0x428764
Capabilities:
Get thread local storage value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x428a71
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x428806
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x4287d8
push 0
push 0x484
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x428801
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x428801
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x428a6c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x428851
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x42884c
push 0x1a4a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x428a6c
push 3
lea ecx, [ebp - 0x18]
call fcn.0042f328
mov dword [ebp - 4], 0x84257392
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x44], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0x48], 0xfffffffd
mov dword [ebp - 0xc], 0
jmp 0x42888e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x4288a4
push dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0042f416
or dword [eax], 0xffffffff
jmp 0x428887
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
push 2
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp dword [eax], 1
jl 0x4288c6
mov dword [ebp - 0x28], 1
jmp 0x4288ca
and dword [ebp - 0x28], 0
mov eax, 0x6cd33356
sub eax, dword [ebp - 0x28]
je 0x4288ec
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp dword [eax], 0
je 0x4288ec
mov dword [ebp - 0x3c], 1
jmp 0x4288f0
and dword [ebp - 0x3c], 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
je 0x428919
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp dword [eax], 0
je 0x428919
mov dword [ebp - 0x30], 1
jmp 0x42891d
and dword [ebp - 0x30], 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0042f416
mov esi, dword [ebp - 0x30]
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp esi, dword [eax]
jl 0x428943
mov dword [ebp - 0x1c], 1
jmp 0x428947
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42896b
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp dword [eax], 0
je 0x42896b
mov dword [ebp - 0x38], 1
jmp 0x42896f
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 1
ja 0x42897e
mov dword [ebp - 0x20], 1
jmp 0x428982
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42898c
cmp dword [ebp - 4], 0
xor eax, eax
add eax, 9
je 0x4289ab
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
cmp dword [eax], 0
je 0x4289ab
mov dword [ebp - 0x24], 1
jmp 0x4289af
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x981c
jl 0x4289c1
mov dword [ebp - 0x74], 1
jmp 0x4289c5
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
push 1
lea ecx, [ebp - 0x18]
call fcn.0042f416
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 4], eax
je 0x4289ea
mov dword [ebp - 0x2c], 1
jmp 0x4289ee
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x44]
add eax, 0x4d92
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
mov dword [ebp - 8], 0
jmp 0x428a0f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x428a64
cmp dword [ebp - 0x48], 0
je 0x428a1d
jmp 0x428a64
mov dword [ebp - 4], 0x1b
jmp 0x428a2d
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jne 0x428a62
push 1
push 0
push 0x72b3
push 0x6850
push 1
push 0x2be8
push 0x5e0a
lea eax, [ebp - 0x34]
push eax
push 0x2a3f
push 1
call fcn.0041192b
add esp, 0x28
jmp 0x428a26
jmp 0x428a08
lea ecx, [ebp - 0x18]
call fcn.0042f3fa
jmp 0x428b03
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x428af5
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
push 0
push 0x4459
push dword [ebp - 0x80]
push dword [ebp - 0x88]
push dword [ebp - 0x90]
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
call fcn.0041a18b
add esp, 0x1c
jmp 0x428b03
push 0x4756
push 0
call fcn.00409d94
pop ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret