Function at 0x10001f06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x10030eed
call fcn.1002fa14
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x10002157
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001f60
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], edx
call fcn.10001200
test eax, eax
js 0x10002157
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x10001fb1
mov ecx, edi
call fcn.10001230
test al, al
je 0x10001fb1
mov eax, edi
call fcn.1002fa4e
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10001fc3
push edi
lea ecx, [ebp - 0x424]
call fcn.1000eb0d
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov ecx, eax
push 3
push edi
call fcn.1000eb0d
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10002151
push 0x60
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x1000201e
push 2
push ebx
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x1000201e
call fcn.100013eb
mov ebx, eax
jmp 0x10002125
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x10002045
call fcn.100013eb
jmp 0x10002118
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x1000203b
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x1000207b
mov ebx, 0x8007000e
jmp 0x1000211a
mov byte [ebp - 4], 2
call fcn.10007247
cmp eax, 0x400
jbe 0x10002099
push eax
lea ecx, [ebp - 0x418]
call fcn.1000eb0d
jmp 0x100020a5
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x100020c9
cmp dword [ebp - 0x418], 0
je 0x10002071
mov eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call fcn.1000eb0d
pop ecx
pop ecx
mov ecx, eax
call fcn.1000138d
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.1000eb0d
mov ebx, eax
test edi, edi
je 0x10002125
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10002149
lea ecx, [ebp - 0x418]
call fcn.10005f89
jmp 0x10002149
push esi
mov esi, dword [esi]
call fcn.1000eb0d
pop ecx
test esi, esi
jne 0x10002140
mov eax, ebx
jmp 0x10002180
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x10002177
lea ecx, [ebp - 0x418]
call fcn.10005f89
jmp 0x10002177
push esi
mov esi, dword [esi]
call fcn.1000eb0d
pop ecx
test esi, esi
jne 0x1000216e
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.1002f965
ret 0x10