Function at 0x4193d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
xor eax, eax
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x41c], eax
jne 0x419401
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x419642
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, ebx
mov edi, ebx
cdq
shr edi, 0x1f
add ebx, ebx
add edx, edx
xor ecx, ecx
or edi, edx
add ebx, 2
mov eax, ebx
adc edi, 0
mov edx, SysReAllocString
sub eax, edx
mov edx, edi
sbb edx, ecx
jl 0x419433
or eax, edx
jne 0x419445
mov eax, SysReAllocStringLen
mov edx, ebx
mov ecx, 0xffffffff
sub edx, eax
sbb edi, ecx
jge 0x419455
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x41c]
jmp 0x419642
cmp ebx, 0x400
jle 0x41949a
mov eax, ebx
neg eax
dec eax
cmp eax, 8
jb case.0x4195b9.22
lea eax, [ebx + 8]
push eax
call fcn.00425aa0
mov dword [ebp - 0x18], eax
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x419487
mov dword [eax], 0
lea edi, [eax + 8]
jmp 0x4194bd
xor eax, eax
mov dword [ebp - 0x18], eax
xor edi, edi
jmp 0x4194bd
push 0x80070057
call fcn.0041fe50
push ebx
call fcn.004190c0
add esp, 4
movzx eax, al
test eax, eax
je 0x41945d
mov eax, ebx
call fcn.00424e80
and esp, 0xfffffff0
mov eax, esp
xor edx, edx
mov edi, eax
mov dword [ebp - 0x18], edx
test edi, edi
je 0x41963c
xor edx, edx
push edx
push edx
push ebx
push edi
push 0xffffffffffffffff
push esi
push edx
mov byte [edi], dl
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x41963c
test edi, edi
je 0x41963c
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
je 0x4196a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41969c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41969c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp esi, eax
jbe 0x41957f
lea eax, [ebp - 0x418]
cmp eax, dword [ebp - 0x41c]
je 0x419551
lea ecx, [ebp - 0x41c]
call fcn.0041af40
cmp dword [ebp - 0x18], 0
je 0x41956b
mov ebx, dword [ebp - 0x18]
mov eax, ebx
push eax
mov ebx, dword [ebx]
call fcn.0042592a
add esp, 4
test ebx, ebx
jne 0x41955a
mov eax, 0x8007000e
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x400
ja 0x419685
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], eax
test eax, eax
jne 0x4195a1
mov esi, 0x8007000e
jmp 0x4195e7
push esi
push edi
push esi
push eax
call fcn.00425302
add esp, 0x10
cmp eax, 0x22
ja case.0x4195b9.1
mov edx, dword [eax*4 + 0x439c00]
jmp edx
push 0x8007000e
call fcn.0041fe50
cmp eax, 0x50
jne 0x419632
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x14]
push dword [ebp + 0x14]
mov byte [esi + eax], 0
push dword [ebp - 0x41c]
call fcn.004196c0
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x418]
cmp eax, dword [ebp - 0x41c]
je 0x419607
lea ecx, [ebp - 0x41c]
call fcn.0041af40
cmp dword [ebp - 0x18], 0
je 0x419621
mov ebx, dword [ebp - 0x18]
mov eax, ebx
push eax
mov ebx, dword [ebx]
call fcn.0042592a
add esp, 4
test ebx, ebx
jne 0x419610
mov eax, esi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0041fe50
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x418]
cmp eax, edx
je 0x419657
lea ecx, [ebp - 0x41c]
call fcn.0041af40
cmp dword [ebp - 0x18], 0
je 0x419671
mov ebx, dword [ebp - 0x18]
mov eax, ebx
push eax
mov ebx, dword [ebx]
call fcn.0042592a
add esp, 4
test ebx, ebx
jne 0x419660
mov eax, 0x8007000e
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
push eax
lea ecx, [ebp - 0x41c]
call fcn.0041af50
mov eax, dword [ebp - 0x41c]
jmp 0x419596
call fcn.00423350
jmp 0x4195e5
call fcn.00423350
mov esi, eax
jmp 0x4195ee