Function at 0x10001fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1001e0fd
call fcn.1001dd90
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 0x10002206
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1000200a
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], edx
call fcn.1000137d
test eax, eax
js 0x10002206
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x1000205b
mov ecx, edi
call fcn.100013ad
test al, al
je 0x1000205b
mov eax, edi
call fcn.1001de11
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000206d
push edi
lea ecx, [ebp - 0x424]
call fcn.10003f5f
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov ecx, eax
push 3
push edi
call fcn.10003f5f
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10002200
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 0x100020c8
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 0x100020c8
call fcn.10001568
mov ebx, eax
jmp 0x100021cf
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 0x100020ef
call fcn.10001568
jmp 0x100021c2
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x100020e5
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 0x10002125
mov ebx, 0x8007000e
jmp 0x100021c4
mov byte [ebp - 4], 2
call fcn.10005ff6
cmp eax, 0x400
jbe 0x10002143
push eax
lea ecx, [ebp - 0x418]
call fcn.10003f5f
jmp 0x1000214f
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x10002173
cmp dword [ebp - 0x418], 0
je 0x1000211b
mov eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call fcn.10003f5f
pop ecx
pop ecx
mov ecx, eax
call fcn.1000150a
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.10003f5f
mov ebx, eax
test edi, edi
je 0x100021cf
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100021e8
lea ecx, [ebp - 0x418]
call fcn.10005d14
test esi, esi
je 0x100021fc
mov edi, dword [esi]
push esi
mov esi, edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test edi, edi
jne 0x100021ec
mov eax, ebx
jmp 0x10002234
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1000221b
lea ecx, [ebp - 0x418]
call fcn.10005d14
test esi, esi
je 0x1000222f
mov edi, dword [esi]
push esi
mov esi, edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test edi, edi
jne 0x1000221f
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.1001dce5
ret 0x10