Function at 0x10019240
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 [0x10046204]
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 0x1003ed30
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 [0x100457d0], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100192af
mov eax, dword [eax + 0x28]
mov dword [0x100457d0], eax
jmp 0x100192b4
mov eax, dword [0x100457d0]
test eax, eax
je 0x100192c4
cmp dword [eax], 0x41455043
je 0x100196cb
push 4
push 0x1000
push 0x5fd8
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x100457d0], eax
test eax, eax
je 0x1001945e
push 0x5fd8
push 0
push eax
call fcn.10028990
mov esi, dword [0x1004448c]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x20], edi
push 0x1003ed28
push 0x6a
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1001933a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1001933a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001933a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
jmp 0x1001933c
xor eax, eax
test eax, eax
je 0x1001945e
push ecx
push 6
push str.GLOBAL
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
call fcn.10002060
cmp eax, 0x80000000
jne 0x10019449
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002150
cmp eax, 0x80000000
jne 0x10019449
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100022f0
cmp eax, 0x80000000
jne 0x10019449
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x100457d0]
mov byte [eax + 0x20c], cl
lea ecx, [ebp - 0x1c]
call fcn.100021e0
cmp eax, 0x80000000
jne 0x10019449
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100022f0
cmp eax, 0x80000000
jne 0x10019449
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x100457d0]
mov byte [eax + 0x20d], cl
lea ecx, [ebp - 0x1c]
call fcn.100021e0
cmp eax, 0x80000000
jne 0x10019449
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.100022f0
cmp eax, 0x80000000
jne 0x10019449
cmp dword [ebp - 0x28], 0
je 0x10019479
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.1001c9a0
cmp al, 1
jne 0x10019479
push str._bSyae__Period_Expired__n
call fcn.10001e40
add esp, 4
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x1001945e
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
call fcn.10001fc0
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x34]
xor ecx, ebp
pop edi
pop esi
call fcn.100253d5
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.100021e0
cmp eax, 0x80000000
jne 0x10019449
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100022f0
cmp eax, 0x80000000
jne 0x10019449
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.10025b14
mov esi, eax
add esp, 4
test esi, esi
je 0x10019503
lea ecx, [edi + 2]
push ecx
push 0
push esi
call fcn.10028990
add esp, 0xc
push edi
push dword [ebp - 0x24]
push esi
call fcn.1002d140
add esp, 0xc
mov ecx, esi
push 0x10045374
call fcn.1001ca80
test al, al
jne 0x10019503
push 0x208
push 0
push 0x10045374
call fcn.10028990
add esp, 0xc
push ecx
push 0xb
push str.PTE_PROCESS
lea ecx, [ebp - 0x1c]
call fcn.10002060
cmp eax, 0x80000000
jne 0x10019449
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002150
cmp eax, 0x80000000
jne 0x100195e3
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002270
cmp eax, 0x80000000
jne 0x10019449
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x100457d0]
push dword [ebp - 0x30]
add eax, 0x218
add eax, esi
push eax
call fcn.1002d140
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100022f0
cmp eax, 0x80000000
jne 0x10019449
push dword [ebp - 0x28]
mov eax, dword [0x100457d0]
push dword [ebp - 0x24]
add eax, 0x27c
add eax, esi
push eax
call fcn.1002d140
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100021e0
cmp eax, 0x80000082
je 0x100195d5
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.10002270
cmp eax, 0x80000000
je 0x10019554
jmp 0x10019449
mov eax, dword [0x100457d0]
lea ecx, [edi + 1]
mov dword [eax + 0x210], ecx
push ecx
push 0xb
push 0x1003ed74
lea ecx, [ebp - 0x1c]
call fcn.10002060
cmp eax, 0x80000000
jne 0x10019449
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002150
cmp eax, 0x80000000
jne 0x100196c3
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002270
cmp eax, 0x80000000
jne 0x10019449
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x100457d0]
push dword [ebp - 0x30]
add eax, 0x30f8
add eax, esi
push eax
call fcn.1002d140
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100022f0
cmp eax, 0x80000000
jne 0x10019449
push dword [ebp - 0x28]
mov eax, dword [0x100457d0]
push dword [ebp - 0x24]
add eax, 0x315c
add eax, esi
push eax
call fcn.1002d140
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100021e0
cmp eax, 0x80000082
je 0x100196b5
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.10002270
cmp eax, 0x80000000
je 0x10019634
jmp 0x10019449
mov eax, dword [0x100457d0]
lea ecx, [edi + 1]
mov dword [eax + 0x214], ecx
mov edi, dword [ebp - 0x20]
mov eax, dword [0x100457d0]
push 0
add eax, 0x20c
mov ecx, 0x100450b0
push eax
call fcn.1001c600
mov ecx, dword [ebp - 0x34]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [0x100457d4], eax
mov dword [ebp - 0x34], ecx
jmp 0x1001944c