Function at 0x10001e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x100352b5
call fcn.1001f839
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 0x100020c1
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001ec6
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], edx
call fcn.100011e1
test eax, eax
js 0x100020c1
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x10001f17
mov ecx, edi
call fcn.10001211
test al, al
je 0x10001f17
mov eax, edi
call fcn.100338c3
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10001f29
push edi
lea ecx, [ebp - 0x424]
call fcn.100152f6
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov ecx, eax
push 3
push edi
call fcn.100152f6
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100020bb
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 0x10001f84
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 0x10001f84
call fcn.100013cb
mov ebx, eax
jmp 0x1000208b
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 0x10001fab
call fcn.100013cb
jmp 0x1000207e
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x10001fa1
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 0x10001fe1
mov ebx, 0x8007000e
jmp 0x10002080
mov byte [ebp - 4], 2
call fcn.10007651
cmp eax, 0x400
jbe 0x10001fff
push eax
lea ecx, [ebp - 0x418]
call fcn.100152f6
jmp 0x1000200b
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000202f
cmp dword [ebp - 0x418], 0
je 0x10001fd7
mov eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call fcn.100152f6
pop ecx
pop ecx
mov ecx, eax
call fcn.1000136d
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.100152f6
mov ebx, eax
test edi, edi
je 0x1000208b
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100020a4
lea ecx, [ebp - 0x418]
call fcn.1000632b
test esi, esi
je 0x100020b7
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.100152f6
pop ecx
test edi, edi
jne 0x100020a8
mov eax, ebx
jmp 0x100020ee
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x100020d6
lea ecx, [ebp - 0x418]
call fcn.1000632b
test esi, esi
je 0x100020e9
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.100152f6
pop ecx
test edi, edi
jne 0x100020da
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.1001f78e
ret 0x10