Function at 0x465470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
push 0x16d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
mov eax, dword [ebp - 0x48]
push eax
call fcn.00441210
cmp dword [ebp + 8], 0
jne 0x4654a8
push 0x16e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.004417c0
test eax, eax
je 0x4654a8
int3
call fcn.0042d130
mov dword [ebp - 0xc], eax
push 0xf1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4654d3
xor eax, eax
jmp 0x46564f
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4654f1
xor eax, eax
jmp 0x46564f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46550b
xor eax, eax
jmp 0x46564f
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 1
je 0x46552a
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.004417c0
test eax, eax
je 0x46552a
int3
push 0x17f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403cd0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
jmp 0x46556f
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x1c], eax
jge 0x465595
mov ecx, dword [ebp - 4]
call fcn.00465660
mov ecx, dword [ebp - 0x1c]
movzx edx, word [eax + ecx*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
jmp 0x465566
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004658a0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00404230
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x465639
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 4]
push edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00549800
mov edx, dword [ebp - 4]
movzx eax, word [edx + 4]
add eax, 7
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 2]
add edx, 7
push edx
lea ecx, [ebp - 0x2c]
call fcn.00549800
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00465170
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00465680
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00411680
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4