Function at 0x1000a7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051976
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x100682b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], ecx
xor esi, esi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
mov byte [ebp - 4], 1
cmp ebx, esi
je 0x1000a8df
push ebx
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 - 0x430], edx
jne 0x1000a8d7
cmp eax, 0xffffffff
ja 0x1000a8d7
cmp esi, 0x400
jg 0x1000a87c
push esi
call fcn.10009580
add esp, 4
test al, al
je 0x1000a87c
mov eax, esi
call fcn.1001b580
mov dword [ebp - 0x10], esp
mov edi, esp
jmp 0x1000a8a9
or eax, 0xffffffff
sub eax, esi
cmp eax, 8
jb 0x1000a9bc
lea eax, [esi + 8]
push eax
call fcn.1001a250
add esp, 4
test eax, eax
je 0x1000a8d7
mov dword [eax], 0
mov dword [ebp - 0x41c], eax
lea edi, [eax + 8]
test edi, edi
je 0x1000a8d1
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x41c]
jmp 0x1000a8d9
mov edi, dword [ebp - 0x41c]
xor eax, eax
test eax, eax
jne 0x1000a925
xor esi, esi
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x1000a8f8
lea eax, [ebp - 0x418]
call fcn.10016d80
cmp edi, esi
je 0x1000a91b
jmp 0x1000a906
mov edi, dword [ebp - 0x41c]
mov esi, dword [edi]
push edi
mov dword [ebp - 0x41c], esi
call fcn.100196b1
add esp, 4
test esi, esi
jne 0x1000a900
mov eax, 0x8007000e
jmp 0x1000aaad
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x430], ebx
test ebx, ebx
jne 0x1000a948
call fcn.100098a0
mov ebx, eax
jmp 0x1000aa6a
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x420]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1000a96d
call fcn.100098a0
jmp 0x1000aa57
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x1000a989
call fcn.100098a0
jmp 0x1000aa57
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x420], esi
cmp eax, esi
jae 0x1000a9af
mov dword [ebp - 0x41c], 0x8007000e
jmp 0x1000aa5d
xor ecx, ecx
mov byte [ebp - 4], 2
ja 0x1000a9bc
cmp eax, 0xffffffff
jbe 0x1000a9c6
push 0x80070216
call fcn.100096d0
cmp eax, 0x400
jbe 0x1000a9fc
lea ecx, [ebp - 0x418]
push ecx
call fcn.100171e0
jmp 0x1000aa08
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1000aa25
mov dword [ebp - 0x41c], 0x8007000e
jmp 0x1000aa5d
mov ecx, dword [ebp - 0x424]
push eax
mov eax, esi
mov edx, esi
call fcn.10009710
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp + 0x10]
add esp, 4
mov byte [eax + esi], 0
mov edx, dword [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.1000bc80
mov dword [ebp - 0x41c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x41c]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x1000aa83
lea eax, [ebp - 0x418]
call fcn.10016d80
test edi, edi
je 0x1000aaab
jmp 0x1000aa96
mov edi, dword [ebp - 0x41c]
mov esi, dword [edi]
push edi
mov dword [ebp - 0x41c], esi
call fcn.100196b1
add esp, 4
test esi, esi
jne 0x1000aa90
mov eax, ebx
lea esp, [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret 0xc