Function at 0x416ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ac43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x417110
push ecx
call fcn.0042517b
inc eax
add esp, 4
cdq
mov edi, eax
shld edx, edi, 1
add edi, edi
mov eax, edi
add eax, 0x80000000
adc edx, esi
mov dword [ebp - 0x20], edx
jne 0x416fd9
cmp eax, 0xffffffff
ja 0x416fd9
cmp edi, 0x400
jg 0x416f82
push edi
call fcn.0041b2c0
add esp, 4
test al, al
je 0x416f82
mov eax, edi
call fcn.00425b20
mov dword [ebp - 0x10], esp
mov ebx, esp
jmp 0x416faa
or eax, 0xffffffff
sub eax, edi
cmp eax, 8
jb 0x416fcf
lea eax, [edi + 8]
push eax
call fcn.0042352a
add esp, 4
test eax, eax
je 0x416fd9
mov esi, eax
mov dword [eax], 0
mov dword [ebp - 0x14], esi
lea ebx, [eax + 8]
test ebx, ebx
je 0x416fd9
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [ebx], 0
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
jmp 0x416fdb
push 0x80070216
call fcn.004055d0
xor ebx, ebx
test ebx, ebx
je 0x41710a
push 0x60
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
jne 0x417016
push 2
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov edi, eax
mov dword [ebp + 8], eax
test edi, edi
jne 0x417016
call fcn.00405310
mov ebx, eax
jmp 0x4170da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x417033
call fcn.00405310
jmp 0x4170cd
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x41704c
call fcn.00405310
jmp 0x4170cd
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
mov dword [ebp + 0x10], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x417067
mov ebx, 0x8007000e
jmp 0x4170cf
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.004047d0
jmp 0x417088
cmp dword [ebp - 0x428], 0
mov dword [ebp - 4], 1
jne 0x41709f
mov ebx, 0x8007000e
jmp 0x4170cf
push ebx
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x428]
call fcn.0041bf30
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x1c]
add esp, 0x10
mov byte [eax + ebx], 0
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.00416d80
mov ebx, eax
test edi, edi
je 0x4170da
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x424]
cmp dword [ebp - 0x428], eax
je 0x4170f3
lea ecx, [ebp - 0x428]
call fcn.0040b540
test esi, esi
je 0x417106
push esi
mov esi, dword [esi]
call fcn.004232c8
add esp, 4
test esi, esi
jne 0x4170f7
mov eax, ebx
jmp 0x417144
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x424]
cmp eax, ecx
je 0x417125
lea ecx, [ebp - 0x428]
call fcn.0040b540
test esi, esi
je 0x41713f
lea esp, [esp]
push esi
mov esi, dword [esi]
call fcn.004232c8
add esp, 4
test esi, esi
jne 0x417130
mov eax, 0x8007000e
lea esp, [ebp - 0x434]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10