Function at 0x420d60
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.00444000
cmp dword [ebp + 8], 0
jne 0x420d98
push 0x16e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.00444450
test eax, eax
je 0x420d98
int3
call fcn.00432c70
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 0x420dc3
xor eax, eax
jmp 0x420f3f
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 0x420de1
xor eax, eax
jmp 0x420f3f
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 0x420dfb
xor eax, eax
jmp 0x420f3f
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 1
je 0x420e1a
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.00444450
test eax, eax
je 0x420e1a
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.004029d0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
jmp 0x420e5f
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 0x420e85
mov ecx, dword [ebp - 4]
call fcn.004b2f10
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 0x420e56
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.00421100
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00402b70
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x420f29
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.004b2d10
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.004b2d10
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.00420b70
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00420f50
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00471dc0
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