Function at 0x40c1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x434568]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x644], 0
mov ecx, dword [ebp + 0xc]
call fcn.00403850
movzx eax, al
test eax, eax
je 0x40c245
push 0x42b474
mov ecx, dword [ebp + 8]
call fcn.004010b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x644]
or ecx, 1
mov dword [ebp - 0x644], ecx
mov eax, dword [ebp + 8]
jmp 0x40c55f
push str.ssdal
lea ecx, [ebp - 0x420]
call fcn.004010b0
mov dword [ebp - 4], 1
push str._enu_
lea ecx, [ebp - 0x420]
call fcn.0040c5b0
push str..txt
lea ecx, [ebp - 0x420]
call fcn.0040c5b0
push str.BINARY
lea ecx, [ebp - 0x420]
call fcn.004034f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x40c2d7
push 0x42b4ac
mov ecx, dword [ebp + 8]
call fcn.004010b0
mov edx, dword [ebp - 0x644]
or edx, 1
mov dword [ebp - 0x644], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.00401220
mov eax, dword [ebp + 8]
jmp 0x40c55f
mov eax, dword [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
jne 0x40c328
push 0x42b4b0
mov ecx, dword [ebp + 8]
call fcn.004010b0
mov ecx, dword [ebp - 0x644]
or ecx, 1
mov dword [ebp - 0x644], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.00401220
mov eax, dword [ebp + 8]
jmp 0x40c55f
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40c371
push 0x42b4b4
mov ecx, dword [ebp + 8]
call fcn.004010b0
mov eax, dword [ebp - 0x644]
or eax, 1
mov dword [ebp - 0x644], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.00401220
mov eax, dword [ebp + 8]
jmp 0x40c55f
mov ecx, dword [ebp - 0x428]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x634], eax
push 0x42b4b8
lea ecx, [ebp - 0x424]
call fcn.004010b0
mov byte [ebp - 4], 2
push 0x42b4bc
lea ecx, [ebp - 0x10]
call fcn.004010b0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405820
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x648]
mov dword [eax + 4], 0
push 0x200
lea ecx, [ebp - 0x62c]
push ecx
mov edx, dword [ebp - 0x634]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x648]
call fcn.0040c0f0
movzx ecx, al
test ecx, ecx
je 0x40c4df
push 0x400
lea edx, [ebp - 0x41c]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x62c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x638]
call fcn.004010b0
mov byte [ebp - 4], 4
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x40c471
push 0
lea ecx, [ebp - 0x638]
call fcn.00408960
movzx eax, ax
cmp eax, 0x23
jne 0x40c45d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x638]
call fcn.00401220
jmp 0x40c4df
lea ecx, [ebp - 0x638]
push ecx
lea ecx, [ebp - 0x424]
call fcn.00405820
jmp 0x40c4cb
push 0x42b4c0
lea ecx, [ebp - 0x63c]
call fcn.004010b0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x63c]
push edx
lea ecx, [ebp - 0x638]
call fcn.00402af0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x63c]
call fcn.00401220
lea ecx, [ebp - 0x10]
call fcn.004034f0
push eax
lea ecx, [ebp - 0x638]
call fcn.004034f0
push eax
call fcn.00415aee
add esp, 8
test eax, eax
jne 0x40c4cb
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x638]
call fcn.00401220
jmp 0x40c3c8
push str.__t_r_n
lea ecx, [ebp - 0x640]
call fcn.004010b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x424]
call fcn.00402af0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x640]
call fcn.00401220
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401010
mov edx, dword [ebp - 0x644]
or edx, 1
mov dword [ebp - 0x644], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x424]
call fcn.00401220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.00401220
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004158f6
mov esp, ebp
pop ebp
ret 8