Function at 0x10019910
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 [0x1004a244]
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 0x10042270
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 [0x10049810], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001997f
mov eax, dword [eax + 0x28]
mov dword [0x10049810], eax
jmp 0x10019984
mov eax, dword [0x10049810]
test eax, eax
je 0x10019994
cmp dword [eax], 0x41455043
je 0x10019d9b
push 4
push 0x1000
push 0x5fd8
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x10049810], eax
test eax, eax
je 0x10019b2e
push 0x5fd8
push 0
push eax
call fcn.1002aea0
mov esi, dword [0x100484b0]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x20], edi
push 0x10042268
push 0x6a
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x10019a0a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x10019a0a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10019a0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
jmp 0x10019a0c
xor eax, eax
test eax, eax
je 0x10019b2e
push ecx
push 6
push str.GLOBAL
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
call fcn.10002640
cmp eax, 0x80000000
jne 0x10019b19
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002730
cmp eax, 0x80000000
jne 0x10019b19
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028d0
cmp eax, 0x80000000
jne 0x10019b19
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x10049810]
mov byte [eax + 0x20c], cl
lea ecx, [ebp - 0x1c]
call fcn.100027c0
cmp eax, 0x80000000
jne 0x10019b19
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028d0
cmp eax, 0x80000000
jne 0x10019b19
mov eax, dword [ebp - 0x24]
sub esp, 8
mov cl, byte [eax]
mov eax, dword [0x10049810]
mov byte [eax + 0x20d], cl
lea ecx, [ebp - 0x1c]
call fcn.100027c0
cmp eax, 0x80000000
jne 0x10019b19
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.100028d0
cmp eax, 0x80000000
jne 0x10019b19
cmp dword [ebp - 0x28], 0
je 0x10019b49
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.1001db80
cmp al, 1
jne 0x10019b49
push str._bSyae__Period_Expired__n
call fcn.10002420
add esp, 4
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10019b2e
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
call fcn.100025a0
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x34]
xor ecx, ebp
pop edi
pop esi
call fcn.10026980
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.100027c0
cmp eax, 0x80000000
jne 0x10019b19
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100028d0
cmp eax, 0x80000000
jne 0x10019b19
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.100271fa
mov esi, eax
add esp, 4
test esi, esi
je 0x10019bd3
lea ecx, [edi + 2]
push ecx
push 0
push esi
call fcn.1002aea0
add esp, 0xc
push edi
push dword [ebp - 0x24]
push esi
call fcn.1002e850
add esp, 0xc
mov ecx, esi
push 0x100493b4
call fcn.1001dc60
test al, al
jne 0x10019bd3
push 0x208
push 0
push 0x100493b4
call fcn.1002aea0
add esp, 0xc
push ecx
push 0xb
push str.PTE_PROCESS
lea ecx, [ebp - 0x1c]
call fcn.10002640
cmp eax, 0x80000000
jne 0x10019b19
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002730
cmp eax, 0x80000000
jne 0x10019cb3
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002850
cmp eax, 0x80000000
jne 0x10019b19
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x10049810]
push dword [ebp - 0x30]
add eax, 0x218
add eax, esi
push eax
call fcn.1002e850
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100028d0
cmp eax, 0x80000000
jne 0x10019b19
push dword [ebp - 0x28]
mov eax, dword [0x10049810]
push dword [ebp - 0x24]
add eax, 0x27c
add eax, esi
push eax
call fcn.1002e850
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100027c0
cmp eax, 0x80000082
je 0x10019ca5
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.10002850
cmp eax, 0x80000000
je 0x10019c24
jmp 0x10019b19
mov eax, dword [0x10049810]
lea ecx, [edi + 1]
mov dword [eax + 0x210], ecx
push ecx
push 0xb
push 0x100422b4
lea ecx, [ebp - 0x1c]
call fcn.10002640
cmp eax, 0x80000000
jne 0x10019b19
sub esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10002730
cmp eax, 0x80000000
jne 0x10019d93
push ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002850
cmp eax, 0x80000000
jne 0x10019b19
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [0x10049810]
push dword [ebp - 0x30]
add eax, 0x30f8
add eax, esi
push eax
call fcn.1002e850
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100028d0
cmp eax, 0x80000000
jne 0x10019b19
push dword [ebp - 0x28]
mov eax, dword [0x10049810]
push dword [ebp - 0x24]
add eax, 0x315c
add eax, esi
push eax
call fcn.1002e850
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100027c0
cmp eax, 0x80000082
je 0x10019d85
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.10002850
cmp eax, 0x80000000
je 0x10019d04
jmp 0x10019b19
mov eax, dword [0x10049810]
lea ecx, [edi + 1]
mov dword [eax + 0x214], ecx
mov edi, dword [ebp - 0x20]
mov eax, dword [0x10049810]
push 0
add eax, 0x20c
mov ecx, 0x100490e0
push eax
call fcn.1001d7e0
mov ecx, dword [ebp - 0x34]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [0x10049814], eax
mov dword [ebp - 0x34], ecx
jmp 0x10019b1c