Function at 0x42ce70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0x4452a4
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 [0x44525c], eax
call esi
lea ecx, [ebp - 0x64]
mov dword [0x445258], eax
mov eax, dword [0x445274]
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 0x42cf11
mov edx, dword [0x445274]
mov dword [ebp - 0x64], esi
xor esi, esi
push 0x7f00
push esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0x42d450
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 0x4452a4
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], eax
je 0x42cf65
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 0x42d244
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 0x42cf91
mov dword [ebp - 8], ecx
jmp 0x42cfbf
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.0043a490
mov eax, esp
push 0
push edi
push str.AtlAxWin
push eax
call fcn.0041ff60
mov dword [ebp - 8], eax
push ebx
call fcn.0042d290
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 0x42cff2
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 0x42d092
mov dword [ebp + 0xc], ecx
push esi
push ebx
call fcn.0042d340
add esp, 8
mov dword [ebp - 0x10], eax
test esi, esi
lea ecx, [ebx + 0x18]
jne 0x42d025
lea ecx, [ebx + 0x12]
cmp word [ecx], 0x7b
jne 0x42d07a
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 0x42d057
mov eax, dword [ebx + 0x14]
jmp 0x42d05d
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.0042d3c0
lea edi, [eax + edi + 3]
mov eax, dword [ebp - 0x10]
add esp, 0xc
and edi, 0xfffffffc
jmp 0x42d080
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 0x42d00e
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42d09a
mov esi, dword [ebp - 0x18]
jmp 0x42d208
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 0x42d0cd
add eax, 0x10
jmp 0x42d0d0
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 0x42d0e6
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
push edi
push esi
call fcn.0042d340
add esp, 8
mov dword [ebp - 0x10], eax
test edi, edi
je 0x42d102
lea ecx, [esi + 0x18]
mov dword [ebp - 0xc], ecx
jmp 0x42d108
lea edx, [esi + 0x12]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0x7b
jne 0x42d1cd
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 0x42d177
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x42d180
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.0042d3c0
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 0x42d1c8
add eax, 0x10
jmp 0x42d1ef
add eax, 8
jmp 0x42d1ef
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.0042d270
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 0x42d0e3
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_CreateDialogIndirectParamA]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp esi, eax
je 0x42d237
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 0x42d259
test edi, edi
je 0x42d259
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