Function at 0x4a32ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x597bc1
call fcn.004cfcb8
mov dword [ebp - 0x28], 1
mov word [ebp - 0x14], 8
mov word [ebp - 0x14], 8
xor edi, edi
xor ebx, ebx
mov byte [ebp - 0x35], 0
call fcn.004552dc
mov dword [ebp - 0x28], 0x14
mov al, byte [0x597bac]
cmp al, 1
jne 0x4a330a
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4a3968
mov dword [ebp - 0x28], 0x1e
mov byte [0x597bac], 1
call sub.USER32.dll_CreatePopupMenu
mov esi, eax
mov al, byte [0x518d62]
test al, al
jne 0x4a3332
mov dl, byte [0x518d52]
test dl, dl
je 0x4a3334
mov bl, 1
lea eax, [ebp - 0x1038]
push eax
push 1
call fcn.0044f8f8
add esp, 8
lea edx, [ebp - 0x1038]
push edx
push 0
push 2
push esi
call sub.USER32.dll_AppendMenuA
push 0x5dc1b5
push 0x3fff
push 0x802
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov cl, byte [0x51869e]
test cl, cl
je 0x4a34db
push 0x5dc1ba
push 0x400a
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x1d
call fcn.00454c6c
pop ecx
push eax
push 0x1d
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x400a
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc1d6
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc1db
push 0x4009
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x10
call fcn.00454c6c
pop ecx
push eax
push 0x10
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4009
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc1f4
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov al, byte [0x518699]
test al, al
je 0x4a349e
push 0x5dc1f9
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a34cf
push 0x5dc204
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0x32
jmp 0x4a387f
cmp bl, 1
jne 0x4a355a
call sub.USER32.dll_CreatePopupMenu
mov edi, eax
push 0x5dc20c
push 0x3fff
push 2
push edi
call sub.USER32.dll_AppendMenuA
mov byte [ebp - 0x35], 1
push 0x5dc20e
push edi
push 0x10
push esi
call sub.USER32.dll_AppendMenuA
push 0x1a
call fcn.00454c6c
pop ecx
push eax
push 0x1a
call fcn.00454c6c
pop ecx
push eax
push 0
push edi
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc224
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov eax, dword [0x519085]
cmp eax, 0xebc
jne 0x4a36fa
mov dword [ebp - 0x28], 0x50
push 0x800
lea edx, [ebp - 0x1038]
push edx
call fcn.0048ebcc
add esp, 8
lea ecx, [ebp - 0x1038]
mov dword [ebp - 0x28], 0x64
push ecx
push 0x4002
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x12
call fcn.00454c6c
pop ecx
push eax
push 0x12
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4002
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc229
push 0x4003
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x13
call fcn.00454c6c
pop ecx
push eax
push 0x13
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4003
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc243
push 0x4006
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x14
call fcn.00454c6c
pop ecx
push eax
push 0x14
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4006
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc26e
push 0x4004
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x11
call fcn.00454c6c
pop ecx
push eax
push 0x11
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4004
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc286
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc28b
push 0x4005
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x15
call fcn.00454c6c
pop ecx
push eax
push 0x15
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4005
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0x96
cmp bl, 1
jne 0x4a3768
push 0x5dc294
push 0x4000
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x18
call fcn.00454c6c
pop ecx
push eax
push 0x18
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4000
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a3768
mov dword [ebp - 0x28], 0xaa
push 0x5dc2a8
push 0x4005
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x15
call fcn.00454c6c
pop ecx
push eax
push 0x15
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4005
push esi
call sub.USER32.dll_SetMenuItemBitmaps
cmp bl, 1
jne 0x4a3768
push 0x5dc2b1
push 0x4000
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x18
call fcn.00454c6c
pop ecx
push eax
push 0x18
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4000
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0xb4
push 0x5dc2c5
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc2ca
push 0x4009
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x10
call fcn.00454c6c
pop ecx
push eax
push 0x10
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4009
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dc2e3
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0x17
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov al, byte [0x518d61]
test al, al
jne 0x4a387f
mov dl, byte [0x518699]
test dl, dl
je 0x4a384e
push 0x5dc2e8
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a387f
push 0x5dc2f3
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0x19
call fcn.00454c6c
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0xd2
mov cl, byte [ebp - 0x35]
cmp cl, 1
jne 0x4a38a5
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x4a31b8
push 0
push 0
call sub.KERNEL32.dll_CreateThread
jmp 0x4a38bb
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0x4a31b8
push 0
push 0
call sub.KERNEL32.dll_CreateThread
mov dword [ebp - 0x28], 0xdc
lea ecx, [ebp - 0x34]
push ecx
call sub.USER32.dll_GetCursorPos
mov dword [ebp - 0x28], 0xe6
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_SetForegroundWindow
mov dword [ebp - 0x28], 0xf0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov eax, dword [ebp - 0x34]
push eax
push 8
push esi
call sub.USER32.dll_TrackPopupMenu
mov dword [ebp - 0x28], 0xfa
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_PostMessageA
mov dword [ebp - 0x28], 0x104
push esi
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a3927
push esi
call sub.USER32.dll_DestroyMenu
mov word [ebp - 0x14], 0
jmp 0x4a3952
mov byte [0x597bac], 0
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x1044]
mov esi, dword [ebp - 0x1040]
mov ebx, dword [ebp - 0x103c]
pop ebp
ret 4