Function at 0x6da3b170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x6da4dc8c]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov edx, dword [ebp + 0x3b0]
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x68], edx
mov edx, dword [ebp + 0x3b4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x64], edi
test eax, eax
je 0x6da3b256
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
cdq
mov esi, eax
shld edx, esi, 1
add esi, esi
mov eax, esi
add eax, 0x80000000
adc edx, edi
mov dword [ebp - 0x7c], edx
jne 0x6da3b250
cmp eax, 0xffffffff
ja 0x6da3b250
cmp esi, 0x400
jg 0x6da3b200
push esi
call fcn.6da38390
add esp, 4
test al, al
je 0x6da3b200
mov eax, esi
call fcn.6da3d3e0
mov ebx, esp
jmp 0x6da3b221
or eax, 0xffffffff
sub eax, esi
cmp eax, 8
jb 0x6da3b246
lea eax, [esi + 8]
push eax
call fcn.6da38390
add esp, 4
test eax, eax
je 0x6da3b250
mov dword [eax], edi
mov edi, eax
lea ebx, [eax + 8]
test ebx, ebx
je 0x6da3b250
mov ecx, dword [ebp - 0x70]
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 3
mov byte [ebx], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x6da3b252
push 0x80070216
call fcn.6da31000
xor eax, eax
test eax, eax
jne 0x6da3b289
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x64], edx
je 0x6da3b266
lea ecx, [ebp - 0x64]
call fcn.6da33290
test edi, edi
je 0x6da3b27f
lea ebx, [ebx]
push edi
mov edi, dword [edi]
call fcn.6da38390
add esp, 4
test edi, edi
jne 0x6da3b270
mov eax, 0x8007000e
jmp 0x6da3b361
push 2
push 0
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
jne 0x6da3b2a6
call fcn.6da32780
mov esi, eax
jmp 0x6da3b339
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
push eax
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x6da3b2c2
call fcn.6da32780
jmp 0x6da3b330
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x6da3b2d8
call fcn.6da32780
jmp 0x6da3b330
push esi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x6da3b2f0
mov esi, 0x8007000e
jmp 0x6da3b332
push eax
lea ecx, [ebp - 0x64]
call fcn.6da349c0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x6da3b307
mov esi, 0x8007000e
jmp 0x6da3b332
mov edx, dword [ebp - 0x68]
push esi
push edx
push esi
push eax
call fcn.6da323b0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 0x3b8]
add esp, 0x10
mov byte [eax + esi], 0
mov edx, dword [ebp - 0x64]
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.6da35900
mov esi, eax
push ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x6da3b349
lea ecx, [ebp - 0x64]
call fcn.6da33290
test edi, edi
je 0x6da3b35f
lea ecx, [ecx]
push edi
mov edi, dword [edi]
call fcn.6da38390
add esp, 4
test edi, edi
jne 0x6da3b350
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
call fcn.6da3ca24
lea esp, [ebp + 0x3a4]
pop ebp
ret 0x10