Function at 0x43f618
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x45bae4
call fcn.0044c66c
sub esp, 0x28
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push dword [ebp + 0xc]
call fcn.0040e55c
cmp eax, 0xd
jne 0x43f82f
push esi
push 0xb
push dword [ebp + 8]
call fcn.0040684e
mov ebx, eax
push 1
push ebx
call fcn.004036c1
mov edi, eax
mov dword [ebp - 0x28], edi
cmp dword [edi + 0x2c], esi
jne 0x43f665
push 1
pop eax
jmp 0x43f847
push 4
push ebx
call fcn.004036c1
push 1
push eax
mov dword [ebp - 0x14], eax
call fcn.004444be
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f82f
lea eax, [ebp - 0x18]
push eax
push esi
push 0x22
push ebx
call fcn.0040382e
push 1
pop ebx
cmp dword [ebp - 0x18], ebx
jne 0x43f6a4
push dword [ebp - 0x10]
jmp 0x43f6a5
push esi
push esi
push 0x15
push dword [ebp + 0xc]
call fcn.0040e537
lea eax, [ebp - 0x1c]
mov dword [edi + 0x2c], esi
push eax
push esi
push 0x10
push dword [ebp + 0xc]
call fcn.0040e55c
cmp dword [ebp - 0x1c], ebx
jne 0x43f704
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0043f856
pop ecx
test eax, eax
pop ecx
jne 0x43f6ed
push esi
mov dword [edi + 0x2c], ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x43f845
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004440aa
jmp 0x43f845
push 5
push 0x2c39
push esi
mov dword [ebp - 0x24], 2
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
cmp ebx, esi
je 0x43f828
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x20], eax
je 0x43f828
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x43f828
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call edi
mov ebx, eax
cmp ebx, esi
je 0x43f814
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.0044bf60
add esp, 0xc
lea ecx, [ebp - 0x34]
push ebx
call fcn.00404dca
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
sub eax, 0x404
je 0x43f7d1
sub eax, 0xd
je 0x43f7c8
dec eax
je 0x43f7bf
sub eax, 0x3f2
je 0x43f7b6
push 8
push str.MS_Sans_Serif
jmp 0x43f7d8
push 9
push 0x46415c
jmp 0x43f7d8
push 9
push 0x464154
jmp 0x43f7d8
push 9
push 0x464144
jmp 0x43f7d8
push 9
push 0x46413c
lea ecx, [ebp - 0x34]
call fcn.00404f75
push dword [ebp + 0xc]
push sym.DEMO32.EXE_DemoMenuDialog
push dword [ebp - 0x10]
push dword [ebp - 0x34]
call edi
push eax
push dword [0x46950c]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404e59
jmp 0x43f817
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, 2
jne 0x43f833
mov edi, dword [ebp - 0x28]
mov dword [edi + 0x2c], 1
xor eax, eax
jmp 0x43f847
add esi, 0xffffff9b
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043f50a
push 1
pop ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret