Function at 0x401a60
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
push 0x41ce24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.WM_ATLGETHOST
call esi
push str.WM_ATLGETCONTROL
mov dword [0x41cebc], eax
call esi
lea ecx, [esp + 0x3c]
mov dword [0x41ceb8], eax
mov eax, dword [0x41cdf4]
push ecx
mov esi, 0x30
push str.AtlAxWin
push eax
mov dword [esp + 0x48], esi
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x401b0e
mov edx, dword [0x41cdf4]
mov dword [esp + 0x3c], esi
xor esi, esi
push 0x7f00
push esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0x401310
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x5c], 6
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x68], str.AtlAxWin
mov dword [esp + 0x6c], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x41ce24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
push esi
push ebp
call edi
push 0xf0
push esi
push ebp
mov ebx, eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ebp, ebp
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x74], ebp
je 0x401b6d
mov ecx, dword [esp + 0x70]
push eax
push ecx
call esi
push eax
mov dword [esp + 0x2c], eax
call edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
test ebx, ebx
je 0x401e74
mov edx, dword [esp + 0x70]
push ebx
push edx
call esi
push eax
mov dword [esp + 0x38], eax
call edi
mov ebx, eax
push ebx
mov dword [esp + 0x1c], ebx
call fcn.00401ec0
mov ebp, eax
mov ax, word [ebx + 2]
mov edi, ebp
add esp, 4
sub edi, ebx
xor ecx, ecx
cmp ax, 0xffff
mov dword [esp + 0x2c], ebp
sete cl
mov esi, ecx
cmp ax, 0xffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
lea ecx, [ebx + 0x10]
je 0x401bc0
lea ecx, [ebx + 8]
xor eax, eax
mov dword [esp + 0x10], 0
mov ax, word [ecx]
test eax, eax
mov dword [esp + 0x30], eax
jle 0x401cba
mov dword [esp + 0x14], eax
test esi, esi
lea eax, [ebp + 0x18]
jne 0x401be7
lea eax, [ebp + 0x12]
mov cx, word [eax]
cmp cx, 0xffff
jne 0x401bf6
add eax, 4
jmp 0x401c09
add eax, 2
test cx, cx
je 0x401c09
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x401bfe
mov cx, word [eax]
cmp cx, 0xffff
jne 0x401c18
add eax, 4
jmp 0x401c2b
add eax, 2
test cx, cx
je 0x401c2b
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401c20
xor edx, edx
mov dx, word [eax]
lea ebx, [edx + eax + 5]
lea eax, [ebp + 0x18]
and ebx, 0xfffffffc
test esi, esi
jne 0x401c41
lea eax, [ebp + 0x12]
cmp word [eax], 0x7b
jne 0x401c97
push str.AtlAxWin
mov dword [esp + 0x14], 1
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 0x401c75
mov eax, dword [ebp + 0x14]
jmp 0x401c7b
xor eax, eax
mov ax, word [ebp + 0x10]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.00401ff0
lea edi, [eax + edi + 3]
add esp, 0xc
and edi, 0xfffffffc
jmp 0x401c9d
mov edx, ebx
sub edx, ebp
add edi, edx
mov eax, dword [esp + 0x14]
mov ebp, ebx
dec eax
mov dword [esp + 0x14], eax
jne 0x401bdd
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x401cc1
mov ebx, dword [esp + 0x18]
mov edi, ebx
jmp 0x401e33
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push eax
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ecx, edx
mov edi, ebx
mov ebp, ecx
mov dword [esp + 0x18], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
add ebx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00401ea0
mov ebp, dword [esp + 0x30]
mov word [eax], 0
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
push esi
push ebp
call fcn.00401f70
add esp, 8
mov dword [esp + 0x2c], eax
test esi, esi
je 0x401d25
lea ecx, [ebp + 0x18]
mov dword [esp + 0x10], ecx
jmp 0x401d2c
lea edx, [ebp + 0x12]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
cmp word [ecx], 0x7b
jne 0x401df0
mov eax, esi
mov esi, ebp
neg eax
sbb eax, eax
mov edi, ebx
and eax, 6
push str.AtlAxWin
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]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov esi, str.AtlAxWin
mov ecx, eax
mov edi, ebx
mov edx, ecx
add ebx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
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 0x401da3
mov eax, dword [ebp + 0x14]
jmp 0x401da9
xor eax, eax
mov ax, word [ebp + 0x10]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call fcn.00401ff0
mov ecx, eax
mov word [ebx], ax
mov esi, dword [esp + 0x3c]
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
and ecx, 3
not eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
inc eax
and eax, 3
push ecx
add ebx, eax
call fcn.00401ea0
add esp, 0x10
jmp 0x401e15
sub eax, ebp
mov esi, ebp
mov ecx, eax
mov edi, ebx
mov edx, ecx
add ebx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401ea0
add esp, 4
inc word [eax]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x20], eax
jne 0x401d06
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
mov ebp, eax
je 0x401e65
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x401e8b
test eax, eax
je 0x401e8b
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x14