Function at 0x1001f30e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1002631c
call fcn.1002427a
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 0x1001f551
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.10023657
add esp, 0x10
test eax, eax
js 0x1001f54b
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x1001f3b2
push edi
call fcn.10019ad8
pop ecx
test al, al
je 0x1001f3b2
mov eax, edi
call fcn.100243e0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1001f3c4
push edi
lea ecx, [ebp - 0x424]
call fcn.10023657
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.10023657
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1001f54b
push 0x60
push ebx
push eax
call fcn.10020813
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x1001f41c
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.10020813
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x1001f41c
call fcn.100152fe
mov ebx, eax
jmp 0x1001f51a
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 0x1001f443
call fcn.100152fe
jmp 0x1001f50d
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x1001f439
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 0x1001f479
mov ebx, 0x8007000e
jmp 0x1001f50f
push 1
push ecx
mov byte [ebp - 4], 2
call fcn.10023657
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x1001f49c
push eax
lea ecx, [ebp - 0x418]
call fcn.10023657
jmp 0x1001f4be
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001f4be
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1001f46f
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.10023657
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.10023657
mov ebx, eax
test edi, edi
je 0x1001f51a
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001f533
lea ecx, [ebp - 0x418]
call fcn.1001eb4c
or dword [ebp - 4], 0xffffffff
jmp 0x1001f543
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1001f539
mov eax, ebx
jmp 0x1001f57f
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1001f566
lea ecx, [ebp - 0x418]
call fcn.1001eb4c
or dword [ebp - 4], 0xffffffff
jmp 0x1001f576
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1001f56c
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.100241c7
ret 0x10