Function at 0x489322
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1fc
mov eax, dword [0x6ad2ac]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
call fcn.00462d66
push esi
lea ecx, [esp + 0x48]
call fcn.004625ae
push 0x6983d8
lea ecx, [esp + 0xb8]
call fcn.004625ae
xor eax, eax
lea ecx, [esp + 0x44]
inc eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x48941a
push 0x6983f0
lea ecx, [esp + 0x9c]
call fcn.004625ae
push 3
pop eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ebx
lea eax, [esp + 0x9c]
push eax
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x48941a
push 0x6983f8
lea ecx, [esp + 0x80]
call fcn.004625ae
push 7
pop eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ebx
lea eax, [esp + 0x80]
push eax
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x48941a
push 0x6983e0
lea ecx, [esp + 0x64]
call fcn.004625ae
push 0xf
pop eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ebx
lea eax, [esp + 0x64]
push eax
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x48941a
mov byte [esp + 0xf], bl
jmp 0x489421
xor eax, eax
inc eax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test al, 8
je 0x48943d
and eax, 0xfffffff7
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00462a54
mov eax, dword [esp + 0x10]
test al, 4
je 0x489455
and eax, 0xfffffffb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.00462a54
mov eax, dword [esp + 0x10]
test al, 2
je 0x489470
and eax, 0xfffffffd
lea ecx, [esp + 0x98]
mov dword [esp + 0x10], eax
call fcn.00462a54
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
lea ecx, [esp + 0xb4]
mov dword [esp + 0x10], eax
call fcn.00462a54
mov eax, dword [0x6b5c08]
cmp byte [esp + 0xf], bl
push 1
pop ecx
cmovne eax, ecx
lea ecx, [esp + 0xec]
push 0x6983e8
mov dword [0x6b5c08], eax
call fcn.004625ae
or dword [esp + 0x10], 0x10
lea eax, [esp + 0xec]
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x4894f7
push 0x6984cc
lea ecx, [esp + 0xd4]
call fcn.004625ae
or dword [esp + 0x10], 0x20
lea eax, [esp + 0xd0]
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.004642b3
cmp eax, 0xffffffff
jne 0x4894f7
mov byte [esp + 0xf], bl
jmp 0x4894fe
xor eax, eax
inc eax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test al, 0x20
je 0x489512
lea ecx, [esp + 0xd0]
call fcn.00462a54
lea ecx, [esp + 0xec]
call fcn.00462a54
mov eax, dword [0x6b5994]
cmp byte [esp + 0xf], bl
push 1
pop ecx
cmovne eax, ecx
lea ecx, [esp + 0x108]
push esi
mov dword [0x6b5994], eax
call fcn.004625ae
cmp dword [0x6b5c0c], ebx
jne 0x489579
push 0x280
call fcn.00522cb9
pop ecx
mov ecx, eax
call fcn.0048c266
push ebx
push ebx
push ebx
push 0x48c257
push ebx
push ebx
mov dword [0x6b5c0c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x489579
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x6b5c0c]
lea eax, [esp + 0x10c]
push eax
lea ecx, [ecx + 0x48]
call fcn.00465045
lea ecx, [esp + 0x108]
call fcn.00462a54
push 0x6984d4
lea ecx, [esp + 0x128]
call fcn.004625ae
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x1ec]
call fcn.0044bb46
mov ecx, eax
call fcn.0046316a
push eax
push ecx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x1bc]
call fcn.0044bf20
mov edx, eax
lea ecx, [esp + 0x1a0]
call fcn.00464d31
pop ecx
pop ecx
mov esi, 0x6b5ca8
push eax
mov ecx, esi
call fcn.0044e7b0
lea ecx, [esp + 0x194]
call fcn.00462a54
lea ecx, [esp + 0x1b0]
call fcn.00462a54
lea ecx, [esp + 0x1cc]
call fcn.00462a54
lea ecx, [esp + 0x1e8]
call fcn.00462a54
lea ecx, [esp + 0x124]
call fcn.00462a54
push ecx
mov ecx, esi
call fcn.0044e763
mov dword [0x6b5cb0], 0xa00000
lea ecx, [esp + 0x140]
push str.start...
mov dword [0x6b5cb4], ebx
call fcn.004625ae
lea eax, [esp + 0x140]
push eax
push ecx
push 0x7e
push str.e:works10780uniaccess3_1_srcuniaccessagentprometheus2lva_setup_netlva_setup_net.cpp
push 3
mov ecx, esi
call fcn.0044eee9
pop ecx
mov ecx, eax
call fcn.0044deee
push eax
mov ecx, esi
call fcn.0044edf8
lea ecx, [esp + 0x140]
call fcn.00462a54
push str.7FE79C4A_F3C4_4d02_95F8_1A33F23ED672
lea ecx, [esp + 0x160]
call fcn.004625ae
lea ecx, [esp + 0x15c]
call fcn.00448433
test eax, eax
lea ecx, [esp + 0x15c]
setne bl
call fcn.00462a54
test bl, bl
jne 0x489716
push str.take_owner_failed...
lea ecx, [esp + 0x17c]
call fcn.004625ae
lea eax, [esp + 0x178]
push eax
push ecx
push 0x83
push str.e:works10780uniaccess3_1_srcuniaccessagentprometheus2lva_setup_netlva_setup_net.cpp
push 3
mov ecx, esi
call fcn.0044eee9
pop ecx
mov ecx, eax
call fcn.0044deee
push eax
mov ecx, esi
call fcn.0044edf8
lea ecx, [esp + 0x178]
call fcn.00462a54
xor ebx, ebx
jmp 0x4897e1
xor eax, eax
xor ebx, ebx
inc eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, edi
call fcn.00489803
push ebx
push edi
push ebx
push ebx
push ebx
mov eax, SysReAllocString
push eax
push ebx
push eax
push 0x86000000
push str.lva_setup_net
push 0x6aeb64
push 0x80008
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4897e1
cmp dword [0x6b5c08], ebx
je 0x489782
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x489793
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x6b5bdc], esi
call fcn.0048986d
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x4897bc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
call esi
test eax, eax
jne 0x4897a6
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp dword [0x6b59bc], ebx
je 0x4897e1
mov ebx, 0x3e9
lea ecx, [esp + 0x44]
call fcn.00462a54
mov ecx, dword [esp + 0x204]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00522ca8
mov esp, ebp
pop ebp
ret 0x10