Function at 0x10192740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
push 0x20
mov dword [esp + 0x1c], edi
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov word [edi + 0x3c], 0
mov byte [edi + 0x3e], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov byte [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov word [edi + 0x54], 0x101
mov dword [edi + 0x58], eax
call fcn.10098862
mov dword [edi + 0x5c], eax
mov dl, 0x52
mov byte [esp + 0x10], 0x37
mov al, 0x42
xor al, byte [esp + 0x10]
mov ah, 0x59
mov byte [esp + 0x11], al
mov bh, dl
mov al, byte [esp + 0x10]
mov cl, 0x44
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x56
mov byte [esp + 0x15], ah
mov dh, 0x5a
mov byte [esp + 0x19], 0
mov bl, 0x45
xor cl, al
xor dl, al
mov byte [esp + 0x12], cl
xor bl, al
mov byte [esp + 0x13], dl
xor ch, al
mov byte [esp + 0x14], bl
xor dh, al
mov byte [esp + 0x16], ch
xor bh, al
mov byte [esp + 0x17], dh
lea eax, [esp + 0x11]
mov byte [esp + 0x18], bh
push eax
call fcn.100e9f97
push eax
push 0x20
push dword [edi + 0x5c]
call fcn.10008520
push 1
call fcn.1009882d
mov ecx, dword [0x10349748]
add esp, 0x18
mov dword [0x10349748], eax
test ecx, ecx
je 0x10192889
push 1
push ecx
call fcn.1009838d
add esp, 8
movaps xmm0, xmmword [0x102fa670]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x2c], 0x6b4447
nop
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x12
jb 0x101928a0
lea esi, [esp + 0x1d]
mov byte [esp + 0x2f], 0
mov ecx, esi
mov byte [esp + 0xc], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101928c1
sub ecx, edx
push ecx
push esi
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
call fcn.10007e80
add esp, 0xc
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
mov dword [esp + 0x10], 0x10303bc8
lea ecx, [esp + 0x30]
call fcn.10008de0
cmp dword ds:[esp + 0xc], 0
jne 0x10193548
lea ecx, [esp + 0x30]
call fcn.1000b760
push 0x101160c0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x230
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.101970a0
mov esi, dword [0x10349774]
mov dword [0x10349774], eax
test esi, esi
je 0x10192969
lea ecx, [esi + 0x224]
call fcn.1002cb80
lea ecx, [esi + 0x218]
call fcn.1002cc00
mov ecx, esi
call fcn.1002c8e0
push 0x230
push esi
call fcn.1009838d
add esp, 8
push 0x228
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.1019cac0
mov esi, dword [0x10349778]
mov dword [0x10349778], eax
test esi, esi
je 0x101929ac
lea ecx, [esi + 0x218]
call fcn.1002cb00
mov ecx, esi
call fcn.1002c8e0
push 0x228
push esi
call fcn.1009838d
add esp, 8
push 0x28
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.10197f60
mov ecx, dword [0x10349734]
mov dword [0x10349734], eax
test ecx, ecx
je 0x101929d2
push ecx
call fcn.10002fa0
push 0x70
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.1018df60
mov ecx, dword [0x1034973c]
mov dword [0x1034973c], eax
test ecx, ecx
je 0x101929ff
push 0x70
push ecx
call fcn.1009838d
add esp, 8
push 0x10
call fcn.1009882d
mov esi, eax
add esp, 4
mov byte [esi], 1
call fcn.101a5a80
mov eax, dword [0x1034977c]
mov dword [0x1034977c], esi
nop
test eax, eax
je 0x10192a2f
push 0x10
push eax
call fcn.1009838d
add esp, 8
push 1
call fcn.1009882d
mov ecx, dword ds:[edi + 4]
add esp, 4
mov dword [edi + 4], eax
test ecx, ecx
je 0x10192a4f
push 1
push ecx
call fcn.1009838d
add esp, 8
push 0x10c
call fcn.1009882d
mov esi, eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
add esp, 8
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0xf8], 0
mov dword [esi + 0x108], 0
mov ebx, dword [edi + 8]
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [edi + 8], esi
test ebx, ebx
je 0x10192b53
mov ecx, ebx
call fcn.100389a0
mov eax, dword ds:[ebx]
push 8
push eax
mov dword [ebx], 0
call fcn.1009838d
push 0x10c
push ebx
call fcn.1009838d
add esp, 0x10
push 0x3c
call fcn.1009882d
add esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov byte [eax + 0x18], 0
mov byte [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x10192ba8
push 0x3c
push ecx
call fcn.1009838d
add esp, 8
push 0x2dc
call fcn.1009882d
mov ebx, eax
add esp, 4
mov edx, 0x5a
mov dword [ebx], 0
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], 0
nop dword [eax]
mov dword [ecx], 0
lea ecx, [ecx + 8]
mov dword [ecx - 4], 0
sub edx, 1
jne 0x10192bd0
push 0x98
call fcn.1009882d
push 0x98
mov esi, eax
push 0
push esi
call fcn.100ad960
xorps xmm2, xmm2
mov dword [esi], 0
cvtps2pd xmm0, xmm2
add esp, 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
xorps xmm1, xmm1
mov dword [esi + 0x18], 0
ucomisd xmm0, xmm1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov word [esi + 0x24], 0
mov byte [esi + 0x26], 0
lahf
test ah, 0x44
jnp 0x10192c62
mov al, 1
jmp 0x10192c64
xor al, al
cvtps2pd xmm0, xmm2
mov byte [esi + 0x27], al
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10192c78
mov al, 1
jmp 0x10192c7a
xor al, al
mov byte [esi + 0x28], al
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov byte [esi + 0x7c], 0
mov eax, dword [ebx]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [ebx], esi
test eax, eax
je 0x10192d35
push 0x98
push eax
call fcn.1009838d
add esp, 8
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], ebx
test esi, esi
je 0x10192d61
mov eax, dword [esi]
test eax, eax
je 0x10192d53
push 0x98
push eax
call fcn.1009838d
add esp, 8
push 0x2dc
push esi
call fcn.1009838d
add esp, 8
push 0x98
call fcn.1009882d
mov ebx, eax
push 0xd8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.1009882d
add esp, 8
lea ecx, [ebx + 0xc]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x1c], 8
mov dword [ebx], 0x3f800000
push dword [ebx + 4]
push 0x10
call fcn.10056b60
mov edi, 5
lea esi, [ebx + 0x20]
nop dword [eax]
nop word [eax + eax]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
add esi, 0x14
sub edi, 1
jne 0x10192de0
mov dword [ebx + 0x94], edi
mov edi, dword [esp + 0x18]
mov dword [ebx + 0x84], 0x40c00000
mov dword [ebx + 0x88], 0xc0c00000
mov dword [ebx + 0x8c], 0x40a00000
mov dword [ebx + 0x90], 0xc0a00000
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
mov dword [edi + 0x14], ebx
test eax, eax
je 0x10192eb4
mov ebx, 5
lea esi, [eax + 0x84]
nop word [eax + eax]
sub esi, 0x14
mov ecx, esi
call fcn.10056680
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1009838d
add esp, 8
sub ebx, 1
jne 0x10192e70
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0xc]
call fcn.100562e0
lea ecx, [esi + 4]
call fcn.10056340
push 0x98
push esi
call fcn.1009838d
add esp, 8
push 0x24
call fcn.1009882d
mov esi, eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov ebx, dword [edi + 0x18]
mov dword [edi + 0x18], esi
test ebx, ebx
je 0x10192f28
mov ecx, ebx
call fcn.1005a740
push 0x24
push ebx
call fcn.1009838d
add esp, 8
push 0x4e4
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.10123ee0
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x1c], eax
test esi, esi
je 0x10192f5f
lea ecx, [esi + 0x4c0]
call fcn.1002bc80
push 0x4e4
push esi
call fcn.1009838d
add esp, 8
push 1
call fcn.1009882d
mov ecx, dword [edi + 0x20]
add esp, 4
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x10192f7e
push 1
push ecx
call fcn.1009838d
add esp, 8
push 0x48
call fcn.1009882d
mov ebx, eax
lea esi, [ebx + 0x28]
mov dword [esi], 0
push 8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
push 0x90
mov dword [ebx + 0x40], 0x3f800000
mov dword [ebx + 0x44], 0
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [ebx + 0x3c], 0
call fcn.1009882d
add esp, 0xc
mov dword [eax], 0
mov dword [eax + 0x74], 0xffffffff
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x2c], 0xffffffff
mov dword [eax + 0x34], 0xffffffff
mov byte [eax + 0x70], 1
mov dword [eax + 0x78], 0
mov ecx, dword [ebx + 0x3c]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov dword [ebx + 0x3c], eax
test ecx, ecx
je 0x101930b2
push 0x90
push ecx
call fcn.1009838d
add esp, 8
mov eax, dword [edi + 0x24]
mov dword [edi + 0x24], ebx
mov ebx, eax
test ebx, ebx
je 0x10193117
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x101930d3
push 0x90
push eax
call fcn.1009838d
add esp, 8
lea ecx, [ebx + 0x28]
call fcn.10072fa0
mov eax, dword [ebx + 0x28]
push 8
push eax
mov dword [ebx + 0x28], 0
call fcn.1009838d
add esp, 8
lea ecx, [ebx + 0x1c]
call fcn.100386e0
lea ecx, ds:[ebx + 0x10]
call fcn.100386e0
mov ecx, ebx
call fcn.10072da0
push 0x48
push ebx
call fcn.1009838d
add esp, 8
push 0x70
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.10115ca0
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x28], eax
test ecx, ecx
je 0x10193138
push ecx
call fcn.1005efe0
push 1
call fcn.1009882d
mov ecx, dword [0x10357ef4]
add esp, 4
mov esi, eax
test ecx, ecx
jne 0x1019316a
push str.shaderapidx9.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xbc40
call eax
mov ecx, dword [eax]
mov dword [0x10357ef4], ecx
mov eax, dword ds:[ecx]
push 0x1034d174
push 1
push ecx
mov dword [0x1034d178], ecx
call dword [eax + 0xec]
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2c], esi
test eax, eax
je 0x1019319b
push 1
push eax
call fcn.1009838d
add esp, 8
push 4
call fcn.1009882d
mov ecx, dword [edi + 0x30]
add esp, 4
mov dword [edi + 0x30], eax
test ecx, ecx
je 0x101931bd
push 4
push ecx
call fcn.1009838d
add esp, 8
push 0x1c
call fcn.1009882d
add esp, 4
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov ecx, dword [edi + 0x34]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [edi + 0x34], eax
test ecx, ecx
je 0x1019321b
push 0x1c
push ecx
call fcn.1009838d
add esp, 8
push 0x28
call fcn.1009882d
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 1
mov dword [eax + 0x18], 0x3e4ccccd
mov dword [eax + 0x1c], 0x40000000
mov word [eax + 0x20], 0x100
mov dword [eax + 0x24], 0
mov esi, dword [edi + 0x38]
mov dword [edi + 0x38], eax
test esi, esi
je 0x10193288
mov ecx, esi
call fcn.10021b60
push 0x28
push esi
call fcn.1009838d
add esp, 8
push 1
call fcn.1009882d
mov ecx, dword [0x10349768]
add esp, 4
mov dword [0x10349768], eax
test ecx, ecx
je 0x101932af
push 1
push ecx
call fcn.1009838d
add esp, 8
push 0x24
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.10191740
mov esi, dword [0x10349730]
mov dword [0x10349730], eax
test esi, esi
je 0x101932f7
lea ecx, [esi + 0x18]
call fcn.1005c680
lea ecx, ds:[esi + 0xc]
call fcn.1005c780
mov ecx, esi
call fcn.1005c880
push 0x24
push esi
call fcn.1009838d
add esp, 8
push 0x30
call fcn.1009882d
mov ebx, eax
lea esi, [ebx + 4]
mov dword [esi], 0
push 8
mov dword [ebx], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
push 0x10
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x2c], 0
call fcn.1009882d
xor ecx, ecx
add esp, 0xc
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov word [eax + 0xa], cx
mov ecx, dword [ebx]
mov dword [ebx], eax
test ecx, ecx
je 0x10193398
push 0x10
push ecx
call fcn.1009838d
add esp, 8
mov eax, dword [0x1034972c]
mov dword [0x1034972c], ebx
test eax, eax
je 0x101933ad
push eax
call fcn.100015c0
push 1
call fcn.1009882d
mov ecx, dword [0x10349738]
add esp, 4
mov dword [0x10349738], eax
test ecx, ecx
je 0x101933d1
push 1
push ecx
call fcn.1009838d
add esp, 8
push 0x1c
call fcn.1009882d
mov esi, eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009882d
push 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
call fcn.1009882d
add esp, 0xc
mov dword [eax], 0x102f8bec
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x10193437
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x102f4268
mov ecx, esi
call fcn.101922a0
push str.bullet_impact
mov ecx, esi
call fcn.101922a0
push str.hostage_follows
mov ecx, esi
call fcn.101922a0
push str.hostage_stops_following
mov ecx, esi
call fcn.101922a0
push str.weapon_fire
mov ecx, esi
call fcn.101922a0
mov eax, dword [0x10349764]
mov dword [0x10349764], esi
test eax, eax
je 0x1019348a
push eax
call fcn.10021780
push 0x108
call fcn.1009882d
add esp, 4
mov ecx, eax
call fcn.1018b380
mov esi, dword [0x10349744]
mov dword [0x10349744], eax
test esi, esi
je 0x101934c2
mov ecx, esi
call fcn.1018bde0
push 0x108
push esi
call fcn.1009838d
add esp, 8
push 0x18
call fcn.100d72a3
mov ecx, 0x2439ce64
push 0x18
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [0x2439ce64], 0x103496e8
mov dword [0x2439ce68], 1
mov dword [0x2439ce70], eax
call fcn.100d72a3
mov ecx, 0x2439dd70
add esp, 8
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [0x2439dd70], 0x10349618
mov dword [0x2439dd74], 4
mov dword [0x2439dd7c], eax
mov eax, 0x2412a980
call eax
mov eax, 0x2412b110
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x30]
mov ecx, str.create_directories
push eax
lea edx, [esp + 0x10]
call fcn.1000b860
int3