Function at 0x419760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1131
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, dword [0x87a768]
push ebx
push esi
mov dword [esp + 8], eax
mov esi, dword [esp + 0xa8]
xor ebx, ebx
mov eax, 0xa
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x28], 0x5e869c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], 0x5e8690
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
cmp esi, ebx
mov byte [esp + 0xa0], 2
jne 0x419816
push 8
call fcn.005b449a
add esp, 4
cmp eax, ebx
je 0x419806
mov dword [eax], vtable.CMenu.0
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x419808
xor esi, esi
call dword [sym.imp.USER32.dll_CreateMenu]
push eax
mov ecx, esi
call fcn.005b5783
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0x400
push ebx
push ecx
call edi
cmp eax, ebx
je 0x41983d
mov edx, dword [esi + 4]
push 0x400
push ebx
push edx
call edi
cmp eax, ebx
jne 0x41982d
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x419851
push esi
lea ecx, [esp + 0x14]
call fcn.0041cd60
jmp 0x419874
mov ecx, dword [eax]
mov edi, eax
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0041ce10
mov dword [eax + 8], esi
mov ecx, dword [edi]
cmp ecx, ebx
je 0x41986e
mov dword [ecx + 4], eax
jmp 0x419872
mov dword [esp + 0x18], eax
mov dword [edi], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x419888
push ebx
lea ecx, [esp + 0x30]
call fcn.0041cd60
jmp 0x4198ab
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push edx
push eax
mov esi, eax
call fcn.0041ce10
mov dword [eax + 8], ebx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4198a5
mov dword [ecx + 4], eax
jmp 0x4198a9
mov dword [esp + 0x34], eax
mov dword [esi], eax
mov eax, dword [esp + 0xb0]
cmp eax, ebx
jbe 0x419ccf
mov ecx, dword [esp + 0xb4]
push ebp
mov dword [esp + 0x58], eax
lea edi, [ecx + 4]
mov dword [esp + 0x5c], edi
cmp dword [edi + 4], ebx
je 0x419cb4
mov ebp, dword [edi - 4]
lea ecx, [esp + 0x10]
call fcn.005b46e9
call fcn.00596b38
lea esi, [eax + 0x1c]
mov ecx, eax
push esi
push ebp
call fcn.00403e80
test eax, eax
je 0x41997b
push 1
mov ecx, esi
call fcn.005b4ba6
cmp eax, ebx
je 0x41997b
call fcn.00596b38
lea esi, [eax + 0x1c]
mov ecx, eax
push esi
push ebp
call fcn.00403e80
test eax, eax
je 0x419928
push 1
mov ecx, esi
call fcn.005b4ba6
jmp 0x41992a
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.005b48f8
push 0x637c20
lea ecx, [esp + 0x14]
call fcn.005ace06
cmp eax, 0xffffffff
je 0x419989
lea edx, [esp + 0x60]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.005acd6c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 3
call fcn.005b48a8
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.005b4761
jmp 0x419989
push str.Unknown
lea ecx, [esp + 0x14]
call fcn.005b48f8
push 0x637c18
lea ecx, [esp + 0x14]
call fcn.005ace06
mov esi, eax
cmp esi, 0xffffffff
je 0x419a70
mov eax, dword [0x87a768]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x64]
push esi
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 4
call fcn.005acd6c
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 5
call fcn.005b48a8
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 4
call fcn.005b4761
mov edx, dword [0x87a768]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x68]
mov byte [esp + 0xa8], 6
mov eax, dword [eax - 8]
sub eax, esi
sub eax, 2
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005accf0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 7
call fcn.005b48a8
lea ecx, [esp + 0x68]
mov byte [esp + 0xa8], 6
call fcn.005b4761
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_t_s
push ecx
call fcn.005ad17a
add esp, 0x10
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 4
call fcn.005b4761
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x54]
jmp 0x419ab3
mov edx, dword [0x87a768]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
push 0x637c04
push ecx
mov byte [esp + 0xb4], 8
call fcn.005ad17a
add esp, 0xc
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.005b48a8
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x4c]
call fcn.005b4761
mov eax, dword [edi]
mov dword [esp + 0x70], 0x30
cmp eax, ebx
mov dword [esp + 0x74], 0x20
mov dword [esp + 0x90], ebp
je 0x419c91
cmp eax, 0xfffffffe
je 0x419c00
cmp eax, 0xffffffff
je 0x419b1d
mov eax, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x14]
mov edi, dword [eax + 8]
call fcn.005b4ba6
mov ecx, dword [edi + 4]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [edi + 4]
lea edx, [esp + 0x70]
push edx
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
jmp 0x419ca9
push 8
call fcn.005b449a
add esp, 4
cmp eax, ebx
je 0x419b38
mov dword [eax], vtable.CMenu.0
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x419b3a
xor edi, edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, edi
call fcn.005b5783
mov ecx, dword [esp + 0x1c]
push 1
mov ebp, dword [ecx + 8]
lea ecx, [esp + 0x14]
call fcn.005b4ba6
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 4]
push eax
push ecx
push 0x10
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x70]
push eax
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov edx, dword [esp + 0x38]
inc esi
mov dword [edx + 8], esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x419b99
push edi
lea ecx, [esp + 0x18]
call fcn.0041cd60
jmp 0x419bbc
mov ecx, dword [eax]
mov esi, eax
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041ce10
mov dword [eax + 8], edi
mov ecx, dword [esi]
cmp ecx, ebx
je 0x419bb6
mov dword [ecx + 4], eax
jmp 0x419bba
mov dword [esp + 0x1c], eax
mov dword [esi], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x419bd3
push ebx
lea ecx, [esp + 0x34]
call fcn.0041cd60
jmp 0x419cb4
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push edx
push eax
mov esi, eax
call fcn.0041ce10
mov dword [eax + 8], ebx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x419bf5
mov dword [ecx + 4], eax
mov dword [esi], eax
jmp 0x419cb4
mov dword [esp + 0x38], eax
mov dword [esi], eax
jmp 0x419cb4
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x6c]
cmp esi, eax
je 0x419c23
mov ecx, esi
call fcn.005b57b0
cmp esi, ebx
je 0x419c23
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x419c36
mov dword [eax], ebx
jmp 0x419c3a
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jne 0x419c58
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov eax, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x419c6d
mov dword [eax], ebx
jmp 0x419c71
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x40]
mov dword [ecx], edx
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
jne 0x419cb4
lea ecx, [esp + 0x30]
call fcn.0041cde0
jmp 0x419cb4
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push 0x800
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
inc eax
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
add edi, 0xc
dec eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], eax
jne 0x4198cd
pop ebp
mov dword [esp + 0x10], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa4], 9
cmp eax, ebx
pop edi
je 0x419cee
mov eax, dword [eax]
cmp eax, ebx
jne 0x419ce8
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call fcn.005af0e0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0x5e869c
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa0], 0xa
cmp eax, ebx
je 0x419d29
mov eax, dword [eax]
cmp eax, ebx
jne 0x419d23
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.005af0e0
lea ecx, [esp + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xa0], 0xffffffff
call fcn.005b4761
mov ecx, dword [esp + 0x98]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 0xc