Function at 0x10005a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x10025c90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10030050]
xor eax, ebp
mov dword [ebp + 0x404], 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 + 0x414]
mov edi, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ecx
call dword [0x10030020]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp + 0x410]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov dword [ebp], esi
cmp edi, esi
mov byte [ebp - 4], 1
je 0x10005b81
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
add eax, 1
cdq
push 2
push edx
push eax
call fcn.10022d30
mov esi, eax
add eax, 0x80000000
adc edx, ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jne 0x10005b79
cmp eax, 0xffffffff
ja 0x10005b79
cmp esi, 0x400
jg 0x10005b26
push esi
call fcn.100057a0
add esp, 4
test al, al
je 0x10005b26
mov eax, esi
call fcn.10014350
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x10005b52
or eax, 0xffffffff
sub eax, esi
cmp eax, 8
jb 0x10005c4b
lea eax, [esi + 8]
push eax
call fcn.10013395
add esp, 4
test eax, eax
je 0x10005b79
mov ebx, eax
mov dword [eax], 0
mov dword [ebp - 0x18], ebx
lea esi, [eax + 8]
test esi, esi
je 0x10005b79
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
push 0
push 0
push ecx
push esi
push 0xffffffffffffffff
push edi
push 0
push edx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x10005b7b
xor eax, eax
test eax, eax
jne 0x10005bb0
xor esi, esi
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10005b91
lea eax, [ebp]
call fcn.100070b0
cmp ebx, esi
je 0x10005ba6
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.10012bd0
add esp, 4
cmp ebx, esi
jne 0x10005b95
mov eax, 0x8007000e
jmp 0x10005cf3
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
jne 0x10005bd0
call fcn.10005270
mov esi, eax
jmp 0x10005ccc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10005bef
call fcn.10005270
jmp 0x10005cc3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x10005c08
call fcn.10005270
jmp 0x10005cc3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x10005c3e
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10005c2c
lea eax, [ebp]
call fcn.100070b0
lea esi, [ebp - 0x18]
call fcn.10005250
mov eax, 0x8007000e
jmp 0x10005cf3
xor ecx, ecx
mov byte [ebp - 4], 2
ja 0x10005c4b
cmp eax, 0xffffffff
jbe 0x10005c55
push 0x80070057
call fcn.10001020
cmp eax, 0x400
jbe 0x10005c7f
lea ecx, [ebp]
push ecx
call fcn.100070c0
jmp 0x10005c85
lea edx, [ebp + 4]
mov dword [ebp], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp]
test eax, eax
jne 0x10005c9a
mov esi, 0x8007000e
jmp 0x10005cc5
mov ecx, dword [ebp - 0x20]
push eax
mov eax, esi
mov edx, esi
call fcn.10005620
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x418]
add esp, 4
mov byte [eax + esi], 0
push ecx
mov ecx, dword [ebp]
lea edx, [ebp - 0x28]
call fcn.10005d40
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10005cdc
lea eax, [ebp]
call fcn.100070b0
test ebx, ebx
je 0x10005cf1
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.10012bd0
add esp, 4
test ebx, ebx
jne 0x10005ce0
mov eax, esi
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10012810
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc