Function at 0x43c850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push ecx
lea edi, [ebp - 0x58]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
push 0x15e
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
mov eax, dword [ebp - 4]
push eax
call fcn.0044ed60
cmp dword [ebp + 8], 0
jne 0x43c899
push 0x15f
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.004057f9
test eax, eax
je 0x43c899
int3
call fcn.0046e7f0
mov dword [ebp - 8], eax
mov esi, esp
push 0xf1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c8cd
xor eax, eax
jmp 0x43ca64
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43c8f4
xor eax, eax
jmp 0x43ca64
mov esi, esp
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43c917
xor eax, eax
jmp 0x43ca64
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 1
je 0x43c936
push 0x16e
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
call fcn.004057f9
test eax, eax
je 0x43c936
int3
push 0x170
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_bartool.cpp
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405c40
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
jmp 0x43c97b
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x1c], eax
jge 0x43c9a1
mov ecx, dword [ebp - 0x14]
call fcn.0040f6f0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [eax + ecx*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + eax*4], edx
jmp 0x43c972
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043d8e0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00405b70
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x43ca45
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406250
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 4]
add eax, 7
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
add edx, 7
push edx
lea ecx, [ebp - 0x3c]
call fcn.00406250
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043dd80
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0043c780
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00419da0
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00710bc0
mov eax, dword [ebp - 0x20]
push edx
mov ecx, ebp
push eax
lea edx, [0x43ca88]
call fcn.00710b50
pop eax
pop edx
pop edi
pop esi
add esp, 0x58
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4