Function at 0x101934a0
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.100997b5
mov dword [edi + 0x5c], eax
mov dl, 4
mov byte [esp + 0x10], 0x61
mov al, 0x14
xor al, byte [esp + 0x10]
mov ah, 0xf
mov byte [esp + 0x11], al
mov bh, dl
mov al, byte [esp + 0x10]
mov cl, 0x12
xor ah, al
mov byte [esp + 0x19], 0
xor ch, ch
mov byte [esp + 0x15], ah
mov dh, 0xc
mov bl, 0x13
xor cl, al
xor dl, al
xor bl, al
mov byte [esp + 0x12], cl
xor ch, al
mov byte [esp + 0x13], dl
xor dh, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x16], ch
lea eax, [esp + 0x11]
mov byte [esp + 0x17], dh
push eax
mov byte [esp + 0x1c], bh
call fcn.100eaec7
push eax
push 0x20
push dword [edi + 0x5c]
call fcn.10008520
push 1
call fcn.10099780
mov ecx, dword [0x1034a748]
add esp, 0x18
mov dword [0x1034a748], eax
test ecx, ecx
je 0x101935e2
push 1
push ecx
call fcn.100992e0
add esp, 8
movaps xmm0, xmmword [0x102fb440]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x2c], 0x3d1211
nop dword [eax + eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x12
jb 0x10193600
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 0x10193621
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], 0x10304bc8
lea ecx, [esp + 0x30]
call fcn.10008de0
cmp dword ds:[esp + 0xc], 0
jne 0x10194288
lea ecx, [esp + 0x30]
call fcn.1000b760
push 0x10116fe0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x230
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.10197de0
mov esi, dword [0x1034a774]
mov dword [0x1034a774], eax
test esi, esi
je 0x101936c9
lea ecx, [esi + 0x224]
call fcn.1002cba0
lea ecx, [esi + 0x218]
call fcn.1002cc20
mov ecx, esi
call fcn.1002c900
push 0x230
push esi
call fcn.100992e0
add esp, 8
push 0x228
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.1019d7e0
mov esi, dword [0x1034a778]
mov dword [0x1034a778], eax
test esi, esi
je 0x1019370c
lea ecx, [esi + 0x218]
call fcn.1002cb20
mov ecx, esi
call fcn.1002c900
push 0x228
push esi
call fcn.100992e0
add esp, 8
push 0x28
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.10198c80
mov ecx, dword [0x1034a734]
mov dword [0x1034a734], eax
test ecx, ecx
je 0x10193732
push ecx
call fcn.10002fa0
push 0x70
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.1018eae0
mov ecx, dword [0x1034a73c]
mov dword [0x1034a73c], eax
test ecx, ecx
je 0x1019375f
push 0x70
push ecx
call fcn.100992e0
add esp, 8
push 0x10
call fcn.10099780
mov esi, eax
add esp, 4
mov byte [esi], 1
call fcn.101a6740
mov eax, dword [0x1034a77c]
mov dword [0x1034a77c], esi
nop
test eax, eax
je 0x1019378f
push 0x10
push eax
call fcn.100992e0
add esp, 8
push 1
call fcn.10099780
mov ecx, dword ds:[edi + 4]
add esp, 4
mov dword [edi + 4], eax
test ecx, ecx
je 0x101937af
push 1
push ecx
call fcn.100992e0
add esp, 8
push 0xfc
call fcn.10099780
mov esi, eax
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10099780
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [esi + 0xec], 0
mov ebx, dword [edi + 8]
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [edi + 8], esi
test ebx, ebx
je 0x1019388c
mov eax, dword [ebx]
mov ecx, ebx
push dword [eax + 4]
push ebx
call fcn.10039e60
push 0x28
push dword [ebx]
call fcn.100992e0
push 0xfc
push ebx
call fcn.100992e0
add esp, 0x10
push 0x3c
call fcn.10099780
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 0x101938dd
push 0x3c
push ecx
call fcn.100992e0
add esp, 8
push 0x2dc
call fcn.10099780
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]
nop word [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 8]
mov dword [ecx - 4], 0
sub edx, 1
jne 0x10193910
push 0x98
call fcn.10099780
push 0x98
mov esi, eax
push 0
push esi
call fcn.100ae890
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 0x101939a2
mov al, 1
jmp 0x101939a4
xor al, al
cvtps2pd xmm0, xmm2
mov byte [esi + 0x27], al
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x101939b8
mov al, 1
jmp 0x101939ba
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 0x10193a75
push 0x98
push eax
call fcn.100992e0
add esp, 8
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], ebx
test esi, esi
je 0x10193aa1
mov eax, dword [esi]
test eax, eax
je 0x10193a93
push 0x98
push eax
call fcn.100992e0
add esp, 8
push 0x2dc
push esi
call fcn.100992e0
add esp, 8
push 0x98
call fcn.10099780
mov ebx, eax
push 0xd8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.10099780
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.100579c0
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.10099780
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
add esi, 0x14
sub edi, 1
jne 0x10193b20
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 0x10193bf4
mov ebx, 5
lea esi, [eax + 0x84]
nop word [eax + eax]
sub esi, 0x14
mov ecx, esi
call fcn.100574e0
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.100992e0
add esp, 8
sub ebx, 1
jne 0x10193bb0
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0xc]
call fcn.10057140
lea ecx, [esi + 4]
call fcn.100571a0
push 0x98
push esi
call fcn.100992e0
add esp, 8
push 0x24
call fcn.10099780
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.10099780
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 0x10193c68
mov ecx, ebx
call fcn.1005b5a0
push 0x24
push ebx
call fcn.100992e0
add esp, 8
push 0x4e4
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.10124b80
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x1c], eax
test esi, esi
je 0x10193c9f
lea ecx, [esi + 0x4c0]
call fcn.1002bca0
push 0x4e4
push esi
call fcn.100992e0
add esp, 8
push 1
call fcn.10099780
mov ecx, dword [edi + 0x20]
add esp, 4
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x10193cbe
push 1
push ecx
call fcn.100992e0
add esp, 8
push 0x48
call fcn.10099780
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.10099780
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.10099780
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 0x10193df2
push 0x90
push ecx
call fcn.100992e0
add esp, 8
mov eax, dword [edi + 0x24]
mov dword [edi + 0x24], ebx
mov ebx, eax
test ebx, ebx
je 0x10193e57
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x10193e13
push 0x90
push eax
call fcn.100992e0
add esp, 8
lea ecx, [ebx + 0x28]
call fcn.10073de0
mov eax, dword [ebx + 0x28]
push 8
push eax
mov dword [ebx + 0x28], 0
call fcn.100992e0
add esp, 8
lea ecx, [ebx + 0x1c]
call fcn.100386c0
lea ecx, ds:[ebx + 0x10]
call fcn.100386c0
mov ecx, ebx
call fcn.10073be0
push 0x48
push ebx
call fcn.100992e0
add esp, 8
push 0x70
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.10116bc0
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x28], eax
test ecx, ecx
je 0x10193e78
push ecx
call fcn.1005fe40
push 1
call fcn.10099780
mov ecx, dword [0x10358eec]
add esp, 4
mov esi, eax
test ecx, ecx
jne 0x10193eaa
push str.shaderapidx9.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xbc40
call eax
mov ecx, dword [eax]
mov dword [0x10358eec], ecx
mov eax, dword ds:[ecx]
push 0x1034e174
push 1
push ecx
mov dword [0x1034e178], ecx
call dword [eax + 0xec]
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2c], esi
test eax, eax
je 0x10193edb
push 1
push eax
call fcn.100992e0
add esp, 8
push 4
call fcn.10099780
mov ecx, dword [edi + 0x30]
add esp, 4
mov dword [edi + 0x30], eax
test ecx, ecx
je 0x10193efd
push 4
push ecx
call fcn.100992e0
add esp, 8
push 0x1c
call fcn.10099780
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 0x10193f5b
push 0x1c
push ecx
call fcn.100992e0
add esp, 8
push 0x28
call fcn.10099780
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 0x10193fc8
mov ecx, esi
call fcn.10021b80
push 0x28
push esi
call fcn.100992e0
add esp, 8
push 1
call fcn.10099780
mov ecx, dword [0x1034a768]
add esp, 4
mov dword [0x1034a768], eax
test ecx, ecx
je 0x10193fef
push 1
push ecx
call fcn.100992e0
add esp, 8
push 0x24
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.101922c0
mov esi, dword [0x1034a730]
mov dword [0x1034a730], eax
test esi, esi
je 0x10194037
lea ecx, [esi + 0x18]
call fcn.1005d4e0
lea ecx, ds:[esi + 0xc]
call fcn.1005d5e0
mov ecx, esi
call fcn.1005d6e0
push 0x24
push esi
call fcn.100992e0
add esp, 8
push 0x30
call fcn.10099780
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.10099780
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.10099780
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 0x101940d8
push 0x10
push ecx
call fcn.100992e0
add esp, 8
mov eax, dword [0x1034a72c]
mov dword [0x1034a72c], ebx
test eax, eax
je 0x101940ed
push eax
call fcn.100015c0
push 1
call fcn.10099780
mov ecx, dword [0x1034a738]
add esp, 4
mov dword [0x1034a738], eax
test ecx, ecx
je 0x10194111
push 1
push ecx
call fcn.100992e0
add esp, 8
push 0x1c
call fcn.10099780
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.10099780
push 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
call fcn.10099780
add esp, 0xc
mov dword [eax], 0x102f9c00
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x10194177
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x102f5268
mov ecx, esi
call fcn.10193000
push str.bullet_impact
mov ecx, esi
call fcn.10193000
push str.hostage_follows
mov ecx, esi
call fcn.10193000
push str.hostage_stops_following
mov ecx, esi
call fcn.10193000
push str.weapon_fire
mov ecx, esi
call fcn.10193000
mov eax, dword [0x1034a764]
mov dword [0x1034a764], esi
test eax, eax
je 0x101941ca
push eax
call fcn.100217a0
push 0x108
call fcn.10099780
add esp, 4
mov ecx, eax
call fcn.1018bf00
mov esi, dword [0x1034a744]
mov dword [0x1034a744], eax
test esi, esi
je 0x10194202
mov ecx, esi
call fcn.1018c960
push 0x108
push esi
call fcn.100992e0
add esp, 8
push 0x18
call fcn.100d81d3
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], 0x1034a6e8
mov dword [0x2439ce68], 1
mov dword [0x2439ce70], eax
call fcn.100d81d3
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], 0x1034a618
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