Function at 0x4131d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x580
mov eax, dword [0x481a58]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [0x48da64], 1
jne 0x413411
push 0
push 1
push 0x1003
mov eax, dword [0x48598c]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x48598c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x1003
mov edx, dword [0x485990]
push edx
call fcn.00437390
add esp, 0x10
push 5
mov eax, dword [0x485990]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x485998]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 1
push 0
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [0x485998], eax
push 0x6f
call fcn.00431b80
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [ebp - 0x420], eax
push 0xff
mov edx, dword [ebp - 0x420]
push edx
mov eax, dword [0x485998]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], 0
jmp 0x4132bb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 4]
jge 0x4133b9
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x448], 0xffffffff
mov edx, dword [ebp - 0x41c]
movsx eax, byte [edx + 0x401]
cmp eax, 2
jne 0x413304
mov ecx, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.0045ad80
add esp, 8
jmp 0x41333d
push 0x400
lea eax, [ebp - 0x418]
push eax
call fcn.00459040
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
call fcn.0043cf40
add esp, 4
mov edx, dword [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0045ad90
add esp, 8
push 0x101
push 0x160
lea ecx, [ebp - 0x580]
push ecx
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00439fe0
add esp, 0x14
test eax, eax
je 0x4133a2
mov eax, dword [ebp - 0x580]
push eax
push 0xffffffffffffffff
mov ecx, dword [0x485998]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
test eax, eax
jl 0x413395
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp - 8]
mov dword [edx + 0x448], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x580]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x44c]
mov dword [ebp - 0x41c], ecx
jmp 0x4132b2
mov edx, dword [0x485998]
push edx
push 1
push 0x1003
mov eax, dword [0x48598c]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x48598c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x485998]
push edx
push 1
push 0x1003
mov eax, dword [0x485990]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x485990]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x413467
mov edx, dword [0x485994]
push edx
push 1
push 0x1003
mov eax, dword [0x48598c]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x48598c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x485994]
push edx
push 1
push 0x1003
mov eax, dword [0x485990]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x485990]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0045a968
mov esp, ebp
pop ebp
ret