Function at 0x411d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0x4290ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.WM_ATLGETHOST
call esi
push str.WM_ATLGETCONTROL
mov dword [0x428d84], eax
call esi
lea ecx, [ebp - 0x64]
mov dword [0x428d80], eax
mov eax, dword [0x42907c]
push ecx
mov esi, 0x30
push str.AtlAxWin
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x411dd1
mov edx, dword [0x42907c]
mov dword [ebp - 0x64], esi
xor esi, esi
push 0x7f00
push esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0x411ad0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x44], 6
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], str.AtlAxWin
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x4290ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
call ebx
push 0xf0
push edi
push esi
mov dword [ebp - 0x20], eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x30], edi
cmp edi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], 0xffffffff
je 0x411e29
push edi
push esi
call ebx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x412108
push eax
push esi
call ebx
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, str.AtlAxWin
mov ebx, eax
test ecx, ecx
mov dword [ebp - 0x18], ebx
jne 0x411e55
mov dword [ebp - 8], ecx
jmp 0x411e83
push str.AtlAxWin
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00417a10
mov eax, esp
push 0
push edi
push str.AtlAxWin
push eax
call fcn.00407970
mov dword [ebp - 8], eax
push ebx
call fcn.00407e30
mov cx, word [ebx + 2]
mov edi, eax
add esp, 4
sub edi, ebx
xor edx, edx
cmp cx, 0xffff
sete dl
mov esi, edx
cmp cx, 0xffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], esi
lea edx, [ebx + 0x10]
je 0x411eb6
lea edx, [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov cx, word [edx]
mov ebx, eax
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x411f56
mov dword [ebp + 0xc], ecx
push esi
push ebx
call fcn.00407ee0
add esp, 8
mov dword [ebp - 0x10], eax
test esi, esi
lea ecx, [ebx + 0x18]
jne 0x411ee9
lea ecx, [ebx + 0x12]
cmp word [ecx], 0x7b
jne 0x411f3e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], 1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 6
add ecx, 0x12
add ecx, edi
test esi, esi
lea edi, [ecx + eax*2 + 0x52]
je 0x411f1b
mov eax, dword [ebx + 0x14]
jmp 0x411f21
xor eax, eax
mov ax, word [ebx + 0x10]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x34]
push edx
push ecx
push eax
call fcn.00407f60
lea edi, [eax + edi + 3]
mov eax, dword [ebp - 0x10]
add esp, 0xc
and edi, 0xfffffffc
jmp 0x411f44
mov edx, eax
sub edx, ebx
add edi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jne 0x411ed2
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x411f5e
mov esi, dword [ebp - 0x18]
jmp 0x4120cc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
mov ebx, eax
mov edx, ecx
mov edi, ebx
add ebx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x14], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp word [eax + 2], 0xffff
jne 0x411f91
add eax, 0x10
jmp 0x411f94
add eax, 8
mov esi, dword [ebp - 0x20]
mov word [eax], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x20], eax
jmp 0x411faa
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
push edi
push esi
call fcn.00407ee0
add esp, 8
mov dword [ebp - 0x10], eax
test edi, edi
je 0x411fc6
lea ecx, [esi + 0x18]
mov dword [ebp - 0xc], ecx
jmp 0x411fcc
lea edx, [esi + 0x12]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0x7b
jne 0x412091
mov eax, edi
mov edi, ebx
neg eax
sbb eax, eax
and eax, 6
add eax, 0x12
mov ecx, eax
add ebx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov edi, ebx
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
mov ecx, 0x13
mov edi, ebx
add ebx, 0x4e
rep movsd dword es:[edi], dword [esi]
test eax, eax
movsw word es:[edi], word [esi]
je 0x41203b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x412044
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ecx + 0x10]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x28]
push edx
push ecx
push eax
call fcn.00407f60
mov ecx, eax
mov word [ebx], ax
mov esi, dword [ebp - 0x28]
add ebx, 2
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
add ebx, eax
mov ecx, edx
mov eax, ebx
add esp, 0xc
not eax
and ecx, 3
inc eax
and eax, 3
add ebx, eax
mov eax, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
cmp word [eax + 2], 0xffff
jne 0x41208c
add eax, 0x10
jmp 0x4120b3
add eax, 8
jmp 0x4120b3
sub eax, esi
mov edi, ebx
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00407e10
add esp, 4
inc word [eax]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x20], eax
jne 0x411fa7
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp esi, eax
je 0x4120fb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41211d
test edi, edi
je 0x41211d
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
lea esp, [ebp - 0x70]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14