Function at 0x6e01d179
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x42c
mov eax, 0x6e04c2f6
call fcn.6e0493da
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x428], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x6e01d3b1
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 - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.6e039537
add esp, 0x10
test eax, eax
js 0x6e01d3ab
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x6e01d21d
push edi
call fcn.6e0103e3
pop ecx
test al, al
je 0x6e01d21d
mov eax, edi
call fcn.6e0498b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x6e01d22f
push edi
lea ecx, [ebp - 0x424]
call fcn.6e039537
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x420]
push eax
call fcn.6e039537
mov dword [ebp - 0x420], eax
test eax, eax
je 0x6e01d3ab
push 0x60
push ebx
push eax
call fcn.6e021609
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x6e01d287
push 2
push ebx
push dword [ebp - 0x420]
call fcn.6e021609
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x6e01d287
call fcn.6e004655
mov ebx, eax
jmp 0x6e01d37a
push dword [ebp - 0x430]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x6e01d2ae
call fcn.6e004655
jmp 0x6e01d36d
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x6e01d2a4
push dword [ebp - 0x428]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x6e01d2e4
mov ebx, 0x8007000e
jmp 0x6e01d36f
push 1
mov byte [ebp - 4], 2
push ecx
lfence
call fcn.6e039537
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x418]
lfence
call fcn.6e039537
jmp 0x6e01d31a
cmp dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 4], 1
je 0x6e01d2da
push eax
push ecx
push eax
lfence
push dword [ebp - 0x418]
call fcn.6e039537
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 - 0x438]
push dword [ebp - 0x418]
call fcn.6e039537
mov ebx, eax
test edi, edi
je 0x6e01d37a
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x6e01d393
lea ecx, [ebp - 0x418]
call fcn.6e0196fd
or dword [ebp - 4], 0xffffffff
jmp 0x6e01d3a3
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 0x6e01d399
mov eax, ebx
jmp 0x6e01d3df
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x6e01d3c6
lea ecx, [ebp - 0x418]
call fcn.6e0196fd
or dword [ebp - 4], 0xffffffff
jmp 0x6e01d3d6
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 0x6e01d3cc
mov eax, 0x8007000e
lea esp, [ebp - 0x448]
call fcn.6e049327
ret 0x10