Function at 0x431df5
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x431e68
mov ebx, eax
lea ecx, [edi + 0x68]
lea eax, [ebx + 0x238]
push eax
call fcn.004286b9
lea eax, [ebx + 0x250]
lea esi, [edi + 0x80]
push eax
mov ecx, esi
call fcn.004286b9
lea eax, [ebx + 0x268]
lea ecx, [edi + 0x98]
push eax
call fcn.004286b9
lea eax, [ebx + 0x2b4]
push eax
lea ecx, [edi + 0xe0]
call fcn.004286b9
lea eax, [ebx + 0x32c]
jmp 0x431eae
test ebx, ebx
je 0x43213e
lea eax, [ebx + 4]
push eax
lea ecx, [edi + 0x68]
call fcn.004286b9
lea eax, [ebx + 0x1c]
lea esi, [edi + 0x80]
push eax
mov ecx, esi
call fcn.004286b9
lea eax, [ebx + 0x34]
lea ecx, [edi + 0x98]
push eax
call fcn.004286b9
lea eax, [ebx + 0x4c]
push eax
lea ecx, [edi + 0xe0]
call fcn.004286b9
lea eax, [ebx + 0x64]
push eax
lea ecx, [edi + 0xf8]
call fcn.004286b9
push 8
pop ebx
mov edx, esi
cmp dword [esi + 0x14], ebx
jb 0x431ec6
mov edx, dword [esi]
mov ecx, esi
jb 0x431ecc
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
mov ecx, esi
jb 0x431ed8
mov ecx, dword [esi]
push sub.msvcrt.dll_towlower
push edx
push eax
push ecx
lea eax, [ebp - 0x870]
push eax
call fcn.004311ac
add esp, 0x14
lea eax, [ebp - 0x61c]
push 0x208
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [edi + 0x98]
push eax
lea eax, [ebp - 0x83c]
push 0x530038
push eax
call fcn.0042ba61
add esp, 0x18
lea eax, [ebp - 0x83c]
cmp dword [ebp - 0x828], ebx
jb 0x431f5b
mov eax, dword [ebp - 0x83c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0xb0]
call fcn.00410dd4
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x824]
push 0x104
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x86c]
push str..cab
push esi
push 0x52d594
push eax
call fcn.0042ba61
add esp, 0xc
push eax
lea eax, [ebp - 0x854]
push eax
call fcn.00424243
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x432004
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x854]
call fcn.00410d88
lea ecx, [ebp - 0x86c]
call fcn.00410d88
lea eax, [ebp - 0x414]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0xc8]
call fcn.00410dd4
lea ecx, [ebp - 0x83c]
call fcn.00410d88
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x55a
push dword [edi - 0x1c]
call ebx
push 0x40
push 0xf
push 0x13e
push 0xd0
push 0x1f4
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push esi
push 0x402
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x55a
push dword [edi - 0x1c]
call ebx
push str._._colorrgb_102_102_102___._0_
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [edi - 0x20]
mov ecx, esi
call fcn.00431c8c
mov ecx, dword [edi + 0x114]
push ecx
test eax, eax
je 0x43211d
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x55a
push dword [edi - 0x1c]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str._._colorrgb_102_102_102___._
push 0x4ed
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x55a
push dword [edi - 0x1c]
call ebx
push str._._colorrgb_102_102_102___._0_
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
push esi
push 0x4327a6
push eax
push eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [edi + 0x64], eax
jmp 0x43213e
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
push eax
push eax
push esi
push 0x432976
push eax
push eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8