Function at 0x4a3df0
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, 0x599149
call fcn.004d08c0
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.004558a4
mov dword [ebp - 0x28], 0x14
mov al, byte [0x599134]
cmp al, 1
jne 0x4a3e4e
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4a44ac
mov dword [ebp - 0x28], 0x1e
mov byte [0x599134], 1
call sub.USER32.dll_CreatePopupMenu
mov esi, eax
mov al, byte [0x51a2ba]
test al, al
jne 0x4a3e76
mov dl, byte [0x51a2aa]
test dl, dl
je 0x4a3e78
mov bl, 1
lea eax, [ebp - 0x1038]
push eax
push 1
call fcn.0044fe28
add esp, 8
lea edx, [ebp - 0x1038]
push edx
push 0
push 2
push esi
call sub.USER32.dll_AppendMenuA
push 0x5dd773
push 0x3fff
push 0x802
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov cl, byte [0x519bf6]
test cl, cl
je 0x4a401f
push 0x5dd778
push 0x400a
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x1d
call fcn.00455234
pop ecx
push eax
push 0x1d
call fcn.00455234
pop ecx
push eax
push 0
push 0x400a
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd794
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd799
push 0x4009
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x10
call fcn.00455234
pop ecx
push eax
push 0x10
call fcn.00455234
pop ecx
push eax
push 0
push 0x4009
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd7b2
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov al, byte [0x519bf1]
test al, al
je 0x4a3fe2
push 0x5dd7b7
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00455234
pop ecx
push eax
push 0x19
call fcn.00455234
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a4013
push 0x5dd7c2
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00455234
pop ecx
push eax
push 0x19
call fcn.00455234
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0x32
jmp 0x4a43c3
cmp bl, 1
jne 0x4a409e
call sub.USER32.dll_CreatePopupMenu
mov edi, eax
push 0x5dd7ca
push 0x3fff
push 2
push edi
call sub.USER32.dll_AppendMenuA
mov byte [ebp - 0x35], 1
push 0x5dd7cc
push edi
push 0x10
push esi
call sub.USER32.dll_AppendMenuA
push 0x1a
call fcn.00455234
pop ecx
push eax
push 0x1a
call fcn.00455234
pop ecx
push eax
push 0
push edi
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd7e2
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov eax, dword [0x51a5dd]
cmp eax, 0xebc
jne 0x4a423e
mov dword [ebp - 0x28], 0x50
push 0x800
lea edx, [ebp - 0x1038]
push edx
call fcn.0048f5a0
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.00455234
pop ecx
push eax
push 0x12
call fcn.00455234
pop ecx
push eax
push 0
push 0x4002
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd7e7
push 0x4003
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x13
call fcn.00455234
pop ecx
push eax
push 0x13
call fcn.00455234
pop ecx
push eax
push 0
push 0x4003
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd801
push 0x4006
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x14
call fcn.00455234
pop ecx
push eax
push 0x14
call fcn.00455234
pop ecx
push eax
push 0
push 0x4006
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd82c
push 0x4004
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x11
call fcn.00455234
pop ecx
push eax
push 0x11
call fcn.00455234
pop ecx
push eax
push 0
push 0x4004
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd844
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd849
push 0x4005
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x15
call fcn.00455234
pop ecx
push eax
push 0x15
call fcn.00455234
pop ecx
push eax
push 0
push 0x4005
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0x96
cmp bl, 1
jne 0x4a42ac
push 0x5dd852
push 0x4000
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x18
call fcn.00455234
pop ecx
push eax
push 0x18
call fcn.00455234
pop ecx
push eax
push 0
push 0x4000
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a42ac
mov dword [ebp - 0x28], 0xaa
push 0x5dd866
push 0x4005
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x15
call fcn.00455234
pop ecx
push eax
push 0x15
call fcn.00455234
pop ecx
push eax
push 0
push 0x4005
push esi
call sub.USER32.dll_SetMenuItemBitmaps
cmp bl, 1
jne 0x4a42ac
push 0x5dd86f
push 0x4000
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x18
call fcn.00455234
pop ecx
push eax
push 0x18
call fcn.00455234
pop ecx
push eax
push 0
push 0x4000
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov dword [ebp - 0x28], 0xb4
push 0x5dd883
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd888
push 0x4009
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x10
call fcn.00455234
pop ecx
push eax
push 0x10
call fcn.00455234
pop ecx
push eax
push 0
push 0x4009
push esi
call sub.USER32.dll_SetMenuItemBitmaps
push 0x5dd8a1
push 0x3fff
push 0x800
push esi
call sub.USER32.dll_AppendMenuA
push 0x17
call fcn.00455234
pop ecx
push eax
push 0x17
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
push esi
call sub.USER32.dll_SetMenuItemBitmaps
mov al, byte [0x51a2b9]
test al, al
jne 0x4a43c3
mov dl, byte [0x519bf1]
test dl, dl
je 0x4a4392
push 0x5dd8a6
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00455234
pop ecx
push eax
push 0x19
call fcn.00455234
pop ecx
push eax
push 0
push 0x4008
push esi
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4a43c3
push 0x5dd8b1
push 0x4008
push 0
push esi
call sub.USER32.dll_AppendMenuA
push 0x19
call fcn.00455234
pop ecx
push eax
push 0x19
call fcn.00455234
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 0x4a43e9
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x4a3cfc
push 0
push 0
call sub.KERNEL32.dll_CreateThread
jmp 0x4a43ff
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0x4a3cfc
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 0x4a446b
push esi
call sub.USER32.dll_DestroyMenu
mov word [ebp - 0x14], 0
jmp 0x4a4496
mov byte [0x599134], 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