Function at 0x1002df30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100958b6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x440
mov eax, dword [0x100c3384]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x438], ecx
call fcn.10017160
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x440]
call fcn.10004750
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x438]
push eax
lea ecx, [ebp - 0x450]
call fcn.1002b3f0
lea ecx, [ebp - 0x418]
call fcn.10004750
mov byte [ebp - 4], 1
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.10003030
add esp, 8
mov dword [ebp - 0x42c], eax
push 0x60
push 0
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x1002dff4
push 2
push 0
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x1002e00d
call fcn.1002c790
mov dword [ebp - 0x420], eax
jmp 0x1002e18c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x1002e041
call fcn.1002c790
mov dword [ebp - 0x420], eax
jmp 0x1002e18c
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x1002e074
call fcn.1002c790
mov dword [ebp - 0x420], eax
jmp 0x1002e18c
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x424], eax
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x424]
add eax, 1
cmp eax, dword [ebp - 0x424]
jae 0x1002e0ba
mov dword [ebp - 0x420], 0x8007000e
jmp 0x1002e18c
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x424]
add ecx, 1
push ecx
lea ecx, [ebp - 0x418]
call fcn.1002c420
jmp 0x1002e0db
mov dword [ebp - 4], 1
jmp 0x1002e0eb
lea ecx, [ebp - 0x418]
call fcn.10006150
test eax, eax
jne 0x1002e109
mov dword [ebp - 0x420], 0x8007000e
jmp 0x1002e18c
mov edx, dword [ebp - 0x424]
push edx
lea ecx, [ebp - 0x418]
call fcn.10006150
push eax
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
push 0
call fcn.10017160
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x1002e154
call fcn.1002c790
mov dword [ebp - 0x420], eax
jmp 0x1002e18c
lea ecx, [ebp - 0x418]
call fcn.10006150
xor edx, edx
mov ecx, dword [ebp - 0x434]
mov word [eax + ecx*2], dx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x418]
call fcn.10006150
push eax
lea ecx, [ebp - 0x450]
call fcn.1002dd20
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x41c], 0
je 0x1002e1a2
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x418]
call fcn.1002b550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000f9f0
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005dfd5
mov esp, ebp
pop ebp
ret 0x10