Function at 0x4483f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4914b2
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
call fcn.0045e249
mov esi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
jne 0x448454
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
je 0x44843d
call dword [sym.imp.USER32.dll_CreateMenu]
push eax
mov ecx, ebx
call fcn.004630cb
test eax, eax
je 0x44843d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx ecx, word [eax + 2]
lea ebx, [ecx + eax + 4]
lea ecx, [esp + 0x40]
call fcn.00462d48
mov dword [esp + 0x40], vtable.CTypedPtrArray_class_CPtrArray__class_BCMenu__.0
mov dword [esp + 0x60], edi
mov dword [esp + 0x2c], vtable.CArray_int__int_.0
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x18]
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00462e95
mov edi, 1
lea esi, [esp + 0x2c]
call fcn.0044a050
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0
movzx eax, word [ebx]
mov esi, eax
add ebx, 2
and esi, 0x10
mov dword [esp + 0x20], eax
jne 0x4484fd
movzx edx, word [ebx]
mov dword [esp + 0x1c], edx
add ebx, 2
jmp 0x448505
mov dword [esp + 0x1c], 0
movzx eax, ax
mov dword [esp + 0x14], eax
test al, al
jns 0x448517
add eax, 0xffffff80
mov dword [esp + 0x14], eax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448520
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004542fb
mov edi, eax
mov edx, edi
add esp, 4
mov dword [esp + 0x24], edi
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x448555
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448570
sub eax, edx
sar eax, 1
lea eax, [ebx + eax*2 + 2]
mov dword [esp + 0x28], eax
test si, si
je 0x448674
test byte [esp + 0x20], 0x80
je 0x4485b9
mov eax, dword [esp + 0x48]
add eax, 0xffffffff
js 0x44879b
cmp eax, dword [esp + 0x34]
jge 0x44879b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], 1
push 0x418
call fcn.004542c1
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x60], 2
test eax, eax
je 0x4485dd
push eax
call fcn.00445910
mov esi, eax
jmp 0x4485df
xor esi, esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x60], 1
mov edx, dword [eax + 0x50]
mov dword [esi + 0x50], edx
mov ecx, dword [eax + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [eax + 0x44]
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], 1
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, esi
call fcn.004630cb
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 1]
test eax, eax
jl 0x44879b
cmp eax, ecx
jge 0x44879b
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + eax*4]
push ecx
push eax
mov eax, dword [esp + 0x1c]
call fcn.00447f90
mov ecx, dword [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x48]
call fcn.00462e95
mov ebx, dword [esp + 0x34]
mov eax, ebx
test eax, eax
jl 0x44879b
lea edi, [eax + 1]
lea esi, [esp + 0x2c]
call fcn.0044a050
mov edx, dword [esp + 0x30]
mov dword [edx + ebx*4], 0
jmp 0x44877b
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 1]
test eax, eax
jl 0x44879b
cmp eax, ecx
jge 0x44879b
movzx ecx, word [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + eax*4]
push ecx
push eax
mov eax, dword [esp + 0x1c]
call fcn.00447f90
test byte [esp + 0x20], 0x80
je 0x4486cf
mov eax, dword [esp + 0x48]
add eax, 0xffffffff
js 0x44879b
mov ebx, dword [esp + 0x34]
cmp eax, ebx
jge 0x44879b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], 1
jmp 0x4486d3
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
lea esi, [ecx - 1]
test esi, esi
jl 0x44877b
mov edx, dword [esp + 0x30]
lea eax, [edx + esi*4]
lea edi, [esi + 1]
mov dword [esp + 0x14], eax
jmp 0x4486f6
mov ecx, dword [esp + 0x48]
test esi, esi
jl 0x44879b
cmp esi, ebx
jge 0x44879b
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
je 0x44877b
lea eax, [ecx - 1]
test eax, eax
jl 0x44879b
cmp eax, ecx
jge 0x44879b
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00448910
push 1
push esi
lea ecx, [esp + 0x48]
call fcn.00462f6f
cmp edi, ebx
jg 0x44879b
cmp edi, esi
jl 0x44879b
cmp edi, 1
jl 0x44879b
mov eax, ebx
sub eax, edi
je 0x448767
mov ecx, dword [esp + 0x14]
add eax, eax
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push eax
push ecx
call fcn.00471bb4
push eax
call fcn.00405df0
add esp, 0x14
sub dword [esp + 0x14], 4
dec ebx
dec esi
dec edi
mov dword [esp + 0x34], ebx
test esi, esi
jge 0x4486f2
mov eax, dword [esp + 0x24]
push eax
call fcn.004542f0
mov ecx, dword [esp + 0x4c]
dec ecx
add esp, 4
cmp ecx, 0xffffffff
je 0x4487a0
mov ebx, dword [esp + 0x28]
jmp 0x4484e0
call fcn.004555b6
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 4]
push edx
xor esi, esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4488a9
test esi, esi
jl 0x44879b
cmp esi, dword [ebx + 0x10]
jge 0x44879b
mov eax, dword [ebx + 0xc]
lea edi, [esi*4]
mov edx, dword [eax + edi]
add eax, edi
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00445850
mov byte [esp + 0x60], 3
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00463096
test eax, eax
je 0x44882f
cmp esi, dword [ebx + 0x10]
jge 0x44879b
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0xc], 0x410
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x14]
push esi
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00463096
mov eax, dword [eax + 4]
push edi
push eax
mov eax, dword [ebx + 4]
push 0x410
push esi
push eax
jmp 0x44886b
cmp esi, dword [ebx + 0x10]
jge 0x44879b
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0xc], 0x400
cmp esi, dword [ebx + 0x10]
jge 0x44879b
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + edi]
mov ecx, dword [esp + 0x14]
add eax, edi
mov eax, dword [edx + 0x10]
mov edx, dword [ebx + 4]
push ecx
push eax
push 0x400
push esi
push edx
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448896
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 4]
push ecx
inc esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp esi, eax
jl 0x4487b8
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4488bf
push eax
call fcn.004542f0
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x60], 0xffffffff
call fcn.00462d5f
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4