Function at 0x44934a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [ebp - 0xd0], ecx
call fcn.005934de
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
push 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4493ac
mov dword [ebp - 0x14], 0
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4493b9
xor eax, eax
jmp 0x4499e4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4493d7
xor eax, eax
jmp 0x4499e4
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd0]
call dword [edx + 0x1c]
call dword [sym.imp.user32.dll_CreateMenu]
push eax
mov ecx, dword [ebp - 0xd0]
call fcn.0057f120
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x449410
xor eax, eax
jmp 0x4499e4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov dx, word [ecx + 2]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x24], 0
mov word [ebp - 0x64], 0
mov word [ebp - 0x10], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x58]
call fcn.00577b36
mov dword [ebp - 0x58], 0x5b0d04
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0x5ae954
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00577ad9
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x8c], edx
push 0
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044fc90
mov ecx, dword [ebp - 0x5c]
mov dx, word [ecx]
mov word [ebp - 0x64], dx
mov eax, dword [ebp - 0x5c]
add eax, 2
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
and ecx, 0x10
test ecx, ecx
jne 0x4494ff
mov edx, dword [ebp - 0x5c]
mov ax, word [edx]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp - 0x5c]
add ecx, 2
mov dword [ebp - 0x5c], ecx
jmp 0x449505
mov word [ebp - 0x10], 0
mov edx, dword [ebp - 0x64]
and edx, 0xffff
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
and eax, 0x80
test eax, eax
je 0x449529
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x80
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0052ffc4
add esp, 4
lea eax, [eax + eax + 2]
push eax
call fcn.0057d63c
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0052ff9f
add esp, 8
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0052ffc4
add esp, 4
mov edx, dword [ebp - 0x5c]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
and ecx, 0x10
test ecx, ecx
je 0x4496be
mov edx, dword [ebp - 0x64]
and edx, 0xffff
and edx, 0x80
test edx, edx
je 0x4495bb
mov eax, dword [ebp - 0x50]
sub eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x90]
mov dword [ecx + edx*4], 1
push 0x54
call fcn.0057d63c
add esp, 4
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x4495e2
mov ecx, dword [ebp - 0x78]
call fcn.0044317c
mov dword [ebp - 0xd4], eax
jmp 0x4495ec
mov dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x40], 1
call dword [sym.imp.user32.dll_CreatePopupMenu]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.0057f120
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + ecx*4 - 4]
call fcn.00447108
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x58]
call fcn.00577ad9
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0x34]
jl 0x4496a9
push 0xffffffffffffffff
mov edx, dword [ebp - 0x98]
add edx, 1
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040c030
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0
jmp 0x4497f9
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + edx*4 - 4]
call fcn.00447108
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
and ecx, 0x80
test ecx, ecx
je 0x449710
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + ecx*4], 1
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jl 0x4497f9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
je 0x4497f9
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + eax*4 - 4]
call fcn.00449d9d
push 1
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x58]
call fcn.00577d7b
mov eax, dword [ebp - 0x24]
add eax, 1
mov ecx, dword [ebp - 0x34]
sub ecx, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
lea ecx, [edx + eax*4]
mov dword [ebp - 0xa8], ecx
jmp 0x449797
mov edx, dword [ebp - 0xa8]
add edx, 4
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
sub ecx, 1
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x4497b2
jmp 0x449788
cmp dword [ebp - 0xa4], 0
je 0x4497e2
mov edx, dword [ebp - 0xa4]
shl edx, 2
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
lea edx, [eax + ecx*4 + 4]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
lea edx, [eax + ecx*4]
push edx
call fcn.0052f4d0
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x449719
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0057d665
add esp, 4
mov ecx, dword [ebp - 0x50]
sub ecx, 1
cmp ecx, 0xffffffff
jne 0x4494c7
mov dword [ebp - 0x20], 0
jmp 0x44982c
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.user32.dll_GetMenuItemCount]
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0xb0]
jge 0x44994f
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + eax*4]
call fcn.0044303d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.0044e4ff
test eax, eax
je 0x4498e0
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx*4]
mov dword [edx + 0x10], 0x410
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.0044e4ff
mov edx, dword [eax + 4]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
push 0x410
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.user32.dll_ModifyMenuA]
jmp 0x44993e
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx*4]
mov dword [edx + 0x10], 0x400
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
push 0x400
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.user32.dll_ModifyMenuA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0057cfde
jmp 0x449823
mov edx, dword [ebp - 0xd0]
mov dword [edx + 0x50], 1
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], 0x5ae954
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0
je 0x4499ce
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc8], ecx
jmp 0x44999b
mov edx, dword [ebp - 0xc8]
add edx, 4
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xcc]
sub ecx, 1
mov dword [ebp - 0xcc], ecx
test eax, eax
je 0x4499b6
jmp 0x44998c
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
push eax
call fcn.0057d665
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00577b69
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4