Function at 0x10019850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10047234]
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
push esi
push edi
xor edi, edi
movq qword [ebp - 0xc], xmm0
mov eax, dword [eax + ecx*4]
movdqu xmmword [ebp - 0x1c], xmm0
push 0x1003fe68
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x50000
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [0x100467f8], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100198bf
mov eax, dword [eax + 0x28]
mov dword [0x100467f8], eax
jmp 0x100198c4
mov eax, dword [0x100467f8]
test eax, eax
je 0x100198d4
cmp dword [eax], 0x41455043
je 0x10019cdb
push 4
push 0x1000
push 0x5fd8
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x100467f8], eax
test eax, eax
je 0x10019a6e
push 0x5fd8
push 0
push eax
call fcn.10029700
mov esi, dword [0x100454ac]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x20], edi
push 0x1003fe60
push 0x6a
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1001994a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1001994a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001994a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
jmp 0x1001994c
xor eax, eax
test eax, eax
je 0x10019a6e
push ecx
push 6
push str.GLOBAL
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
call fcn.10002630
cmp eax, 0x80000000
jne 0x10019a59
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002720
cmp eax, 0x80000000
jne 0x10019a59
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x100467f8]
mov byte [eax + 0x20c], cl
lea ecx, [ebp - 0x1c]
call fcn.100027b0
cmp eax, 0x80000000
jne 0x10019a59
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x100467f8]
mov byte [eax + 0x20d], cl
lea ecx, [ebp - 0x1c]
call fcn.100027b0
cmp eax, 0x80000000
jne 0x10019a59
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x40], 0
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x3f], xmm0
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
cmp dword [ebp - 0x28], 0
je 0x10019a89
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001d2a0
cmp al, 1
jne 0x10019a89
push str._bSyae__Period_Expired__n
call fcn.10002410
add esp, 4
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10019a6e
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
call fcn.10002590
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x34]
xor ecx, ebp
pop edi
pop esi
call fcn.10025f80
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.100027b0
cmp eax, 0x80000000
jne 0x10019a59
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
mov edi, dword [ebp - 0x28]
xor ecx, ecx
mov eax, edi
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.100267e4
mov esi, eax
add esp, 4
test esi, esi
je 0x10019b13
lea ecx, [edi + 2]
push ecx
push 0
push esi
call fcn.10029700
add esp, 0xc
push edi
push dword [ebp - 0x24]
push esi
call fcn.1002dd90
add esp, 0xc
mov ecx, esi
push 0x1004639c
call fcn.1001d380
test al, al
jne 0x10019b13
push 0x208
push 0
push 0x1004639c
call fcn.10029700
add esp, 0xc
push ecx
push 0xb
push str.PTE_PROCESS
lea ecx, [ebp - 0x1c]
call fcn.10002630
cmp eax, 0x80000000
jne 0x10019a59
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002720
cmp eax, 0x80000000
jne 0x10019bf3
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002840
cmp eax, 0x80000000
jne 0x10019a59
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x100467f8]
push dword [ebp - 0x30]
add eax, 0x218
add eax, esi
push eax
call fcn.1002dd90
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
push dword [ebp - 0x28]
mov eax, dword [0x100467f8]
push dword [ebp - 0x24]
add eax, 0x27c
add eax, esi
push eax
call fcn.1002dd90
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100027b0
cmp eax, 0x80000082
je 0x10019be5
push ecx
lea eax, [ebp - 0x2c]
inc edi
push eax
lea eax, [ebp - 0x30]
add esi, 0x78
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002840
cmp eax, 0x80000000
je 0x10019b64
jmp 0x10019a59
mov eax, dword [0x100467f8]
lea ecx, [edi + 1]
mov dword [eax + 0x210], ecx
push ecx
push 0xb
push 0x1003feac
lea ecx, [ebp - 0x1c]
call fcn.10002630
cmp eax, 0x80000000
jne 0x10019a59
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002720
cmp eax, 0x80000000
jne 0x10019cd3
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002840
cmp eax, 0x80000000
jne 0x10019a59
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x100467f8]
push dword [ebp - 0x30]
add eax, 0x30f8
add eax, esi
push eax
call fcn.1002dd90
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100028c0
cmp eax, 0x80000000
jne 0x10019a59
push dword [ebp - 0x28]
mov eax, dword [0x100467f8]
push dword [ebp - 0x24]
add eax, 0x315c
add eax, esi
push eax
call fcn.1002dd90
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100027b0
cmp eax, 0x80000082
je 0x10019cc5
push ecx
lea eax, [ebp - 0x2c]
inc edi
push eax
lea eax, [ebp - 0x30]
add esi, 0x78
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002840
cmp eax, 0x80000000
je 0x10019c44
jmp 0x10019a59
mov eax, dword [0x100467f8]
lea ecx, [edi + 1]
mov dword [eax + 0x214], ecx
mov edi, dword [ebp - 0x20]
mov eax, dword [0x100467f8]
push 0
add eax, 0x20c
mov ecx, 0x100460d0
push eax
call fcn.1001cf00
mov ecx, dword [ebp - 0x34]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [0x100467fc], eax
mov dword [ebp - 0x34], ecx
jmp 0x10019a5c