Function at 0x1006e3c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x100a9c3b
call fcn.1009dede
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 0x1006e611
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1006e41c
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], edx
call fcn.1006cf80
test eax, eax
js 0x1006e611
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x1006e46d
mov ecx, edi
call fcn.1006cfe3
test al, al
je 0x1006e46d
mov eax, edi
call fcn.1009df5f
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1006e47f
push edi
lea ecx, [ebp - 0x424]
call fcn.10042763
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov ecx, eax
push 3
push edi
call fcn.10042763
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1006e60b
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 0x1006e4da
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 0x1006e4da
call fcn.1006c976
mov ebx, eax
jmp 0x1006e5da
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 0x1006e501
call fcn.1006c976
jmp 0x1006e5cd
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x1006e4f7
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 0x1006e537
mov ebx, 0x8007000e
jmp 0x1006e5cf
mov byte [ebp - 4], 2
call fcn.1006d092
cmp eax, 0x400
jbe 0x1006e555
push eax
lea ecx, [ebp - 0x418]
call fcn.10042763
jmp 0x1006e561
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1006e585
cmp dword [ebp - 0x418], 0
je 0x1006e52d
mov eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call fcn.10042763
mov eax, dword [ebp - 0x418]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.10042763
mov ebx, eax
test edi, edi
je 0x1006e5da
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1006e5f3
lea ecx, [ebp - 0x418]
call fcn.1006c964
test esi, esi
je 0x1006e607
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 0x1006e5f7
mov eax, ebx
jmp 0x1006e63f
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1006e626
lea ecx, [ebp - 0x418]
call fcn.1006c964
test esi, esi
je 0x1006e63a
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 0x1006e62a
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.1009de33
ret 0x10