Function at 0x4e4f00
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.004a19d0
cmp dword [ebp + 8], 0
jne 0x4e4f38
push 0x16e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.0049c040
test eax, eax
je 0x4e4f38
int3
call fcn.0047d240
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 0x4e4f63
xor eax, eax
jmp 0x4e50df
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 0x4e4f81
xor eax, eax
jmp 0x4e50df
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 0x4e4f9b
xor eax, eax
jmp 0x4e50df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 1
je 0x4e4fba
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.0049c040
test eax, eax
je 0x4e4fba
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.004472e0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
jmp 0x4e4fff
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 0x4e5025
mov ecx, dword [ebp - 4]
call fcn.004e50f0
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 0x4e4ff6
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.004e5330
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00447840
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4e50c9
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.005a3ea0
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.005a3ea0
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.004e4c00
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004e5110
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045f000
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