Function at 0x4e5380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x4e54f0
call fcn.00490e20
mov dword [ebp - 0x10], eax
mov esi, esp
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4e5477
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e5445
push 0x174
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCoccmgr.cpp
lea ecx, [ebp - 0x24]
call fcn.00405460
mov dword [ebp - 0x30], eax
mov ecx, 0x888340
call fcn.0041c4b0
mov dword [ebp - 0x34], eax
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0040bcd0
add esp, 0x10
xor eax, eax
jmp 0x4e55b9
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e5475
push 0x17a
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCoccmgr.cpp
call fcn.004053b0
test eax, eax
je 0x4e5475
int3
jmp 0x4e54f0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e549a
push 0x182
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCoccmgr.cpp
call fcn.004053b0
test eax, eax
je 0x4e549a
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0xffffffff
je 0x4e54f0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4e54e5
push 0x188
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCoccmgr.cpp
lea ecx, [ebp - 0x2c]
call fcn.00405460
mov dword [ebp - 0x38], eax
mov ecx, 0x888340
call fcn.0041c4b0
mov dword [ebp - 0x3c], eax
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0040bcd0
add esp, 0x10
jmp 0x4e54f0
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x4e549a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 8], 0
je 0x4e553e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x40], eax
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov edi, esp
mov ecx, dword [ebp - 0x44]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x44]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0
je 0x4e5567
cmp dword [ebp - 0xc], 0
je 0x4e5567
mov edx, dword [ebp - 0xc]
push edx
call fcn.0043f800
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
nop
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x70], 0
je 0x4e55b6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0xa8]
mov dword [ebp - 0x4c], ecx
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov edi, esp
mov ecx, dword [ebp - 0x50]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x48]
call dword [ebp - 0x50]
cmp esi, esp
call fcn.00784930
nop
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc