Function at 0x402f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x425060]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.004018d0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0040abd0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403ab0
lea ecx, [ebp - 0x438]
call fcn.0040abd0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x402f7e
mov dword [ebp - 0x458], 0
jmp 0x403024
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x28], eax
push 2
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401690
add esp, 0xc
test eax, eax
jge 0x402fb0
mov dword [ebp - 0x45c], 0
jmp 0x403018
cmp dword [ebp - 0x28], 0x400
jg 0x402fe8
mov edx, dword [ebp - 0x28]
push edx
call fcn.004017f0
add esp, 4
movzx eax, al
test eax, eax
je 0x402fe8
mov eax, dword [ebp - 0x28]
call fcn.00419860
mov dword [ebp - 0x460], esp
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x464], ecx
jmp 0x402ffa
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a940
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x464]
push eax
call fcn.00401930
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x458], ecx
mov edx, dword [ebp - 0x458]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x40305b
mov dword [ebp - 0x448], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.0040abf0
lea ecx, [ebp - 0x2c]
call fcn.0040a990
mov eax, dword [ebp - 0x448]
jmp 0x4031e5
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403082
call fcn.00401d70
mov dword [ebp - 0x440], eax
jmp 0x4031b0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x4030b3
call fcn.00401d70
mov dword [ebp - 0x440], eax
jmp 0x4031b0
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x4030e3
call fcn.00401d70
mov dword [ebp - 0x440], eax
jmp 0x4031b0
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, dword [ebp - 0x1c]
jae 0x403133
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.0040abf0
lea ecx, [ebp - 0x2c]
call fcn.0040a990
mov eax, dword [ebp - 0x44c]
jmp 0x4031e5
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040aba0
lea ecx, [ebp - 0x438]
call fcn.00406b90
test eax, eax
jne 0x403160
mov dword [ebp - 0x440], 0x8007000e
jmp 0x4031b0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00406b90
push eax
call fcn.00401ae0
add esp, 0x10
lea ecx, [ebp - 0x438]
call fcn.00406b90
mov edx, dword [ebp - 0x1c]
mov byte [eax + edx], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00406b90
push eax
lea ecx, [ebp - 0x18]
call fcn.004048b0
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x10], 0
je 0x4031c0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.0040abf0
lea ecx, [ebp - 0x2c]
call fcn.0040a990
mov eax, dword [ebp - 0x450]
lea esp, [ebp - 0x464]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0040f346
mov esp, ebp
pop ebp
ret 0x10