Function at 0x10003460
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001c516
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10023470]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x10023470]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10003c14
push esi
call fcn.10001c50
add esp, 4
mov ecx, 0x1f248517
lea eax, [esp + 0x20]
mov dword [0x10129854], esi
mov byte [0x10129b94], 1
call fcn.100060d0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], al
mov ecx, 0x397a9cd2
lea eax, [esp + 0x58]
call fcn.10006160
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x1000353b
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x74696e49
mov byte [esp + 0x24], cl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], cl
jmp 0x10003560
mov ecx, 0x5cc78733
lea eax, [esp + 0x4c]
call fcn.100061c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov word [esp + 0x54], cx
call eax
lea ecx, [esp + 0xa0]
mov bl, 0xff
push ecx
mov edi, 0x1b
mov dword [esp + 0xa4], 0xffffffa1
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], 0xffff8b32
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0xb4], 0x78ffffff
mov dword [esp + 0xb8], 0x8bffff89
mov word [esp + 0xbc], 0x8ff
mov byte [esp + 0xbe], 0x51
call fcn.10001d30
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10003bba
mov edx, dword [eax + 1]
mov al, 0xff
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc0], bl
push ecx
mov bl, al
mov edi, 0x21
mov dword [0x10129b74], edx
mov dword [esp + 0xa4], 0xffffffa1
mov dword [esp + 0xa8], 0xffff89ff
mov dword [esp + 0xac], 0x83ffffff
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0xb4], 0xffff02ff
mov dword [esp + 0xb8], 0xffffff83
mov dword [esp + 0xbc], 0x7404ffff
mov dword [esp + 0xc0], 0x6affebff
call fcn.10001d30
add esp, 4
mov dword [0x10129b78], eax
test eax, eax
je 0x1000366c
mov edx, dword [eax + 1]
mov dword [0x10129b78], edx
jmp 0x100036bc
mov ecx, 0xba
xor eax, eax
mov dl, byte [eax + 0x10020270]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x3c], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10003673
lea eax, [esp + 0x3c]
push eax
push 0
mov ecx, 0x10027608
mov byte [esp + 0x53], 0
call fcn.10001e60
xor eax, eax
add esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.10001800
lea ecx, [esp + 0xa0]
push ecx
mov edi, 0x11
mov dword [esp + 0xa4], 0xffffff66
mov dword [esp + 0xa8], 0xff66ffff
mov dword [esp + 0xac], 0xff8b24ff
mov dword [esp + 0xb0], 0xffffffff
mov byte [esp + 0xb4], 0x51
call fcn.10001d30
xor ebx, ebx
add esp, 4
mov dword [0x10129b9c], eax
cmp eax, ebx
je 0x1000371b
mov edx, dword [eax + 2]
mov dword [0x10129b9c], edx
jmp 0x1000374d
mov ecx, 0x10020280
sub ecx, 0x575d72e6
lea eax, [esp + 0x60]
call fcn.10006240
push eax
push ebx
mov ecx, 0x10027608
call fcn.10001e60
xor eax, eax
add esp, 8
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.10001800
mov al, 0xff
lea ecx, [esp + 0xa0]
mov byte [esp + 0xb8], bl
push ecx
mov bl, al
mov edi, 0x19
mov dword [esp + 0xa4], 0xffff85dd
mov dword [esp + 0xa8], 0x58d9ffff
mov dword [esp + 0xac], 0xd9c4eb04
mov dword [esp + 0xb0], 0xffdcffff
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb8], 0x9768
call fcn.10001d30
add esp, 4
mov dword [0x1012981c], eax
test eax, eax
je 0x10003870
lea edx, [eax + 9]
mov dword [0x101298a8], edx
cmp byte [eax], 0xe9
jne 0x10003837
mov edi, 0x667351a2
lea esi, [esp + 0x84]
call fcn.100062a0
push eax
mov dword [esp + 0x124], 0
call fcn.10002700
xor eax, eax
mov dword [esp + 0x124], 0xffffffff
add esp, 4
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
call fcn.10001800
mov eax, dword [0x1012981c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 6
push eax
mov edi, eax
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov edx, 0x10003150
push ecx
sub edx, edi
sub edx, 5
push 6
mov byte [edi], 0xe9
mov dword [edi + 1], edx
push edi
mov byte [edi + 5], 0x90
call esi
jmp 0x100038c9
mov edi, 0x667351a2
lea esi, [esp + 0x68]
call fcn.100062a0
push eax
mov dword [esp + 0x124], 1
call fcn.10002700
xor eax, eax
mov dword [esp + 0x124], 0xffffffff
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.10001800
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0xc4]
mov cl, 0xc8
mov bl, 0xff
push edx
mov edi, 0x47
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xcc], 0xffffe8ff
mov dword [esp + 0xd0], 0xffe8ffff
mov dword [esp + 0xd4], 0x8bffffff
mov dword [esp + 0xd8], 0xffffe8c8
mov dword [esp + 0xdc], 0xffe8ffff
mov dword [esp + 0xe0], 0xe8ffffff
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xe8], 0xffffffe8
mov dword [esp + 0xec], 0xffffe8ff
mov dword [esp + 0xf0], 0xffe8ffff
mov dword [esp + 0xf4], 0xe8ffffff
mov dword [esp + 0xf8], 0xffffffff
mov dword [esp + 0xfc], 0xffffffe8
mov dword [esp + 0x100], 0xe8c88bff
mov dword [esp + 0x104], 0xffffffff
mov dword [esp + 0x108], 0xffffffe8
mov word [esp + 0x10c], 0x8bff
mov byte [esp + 0x10e], cl
call fcn.10001d30
add esp, 4
mov dword [0x101298a4], eax
test eax, eax
je 0x10003a1b
mov dword [0x1012984c], eax
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov dword [0x1012984c], edx
mov ecx, dword [eax + 0x17]
lea edx, [eax + ecx + 0x1b]
lea ecx, [eax + 5]
mov dword [0x10129844], edx
mov edx, dword [ecx + 1]
lea edx, [ecx + edx + 5]
mov dword [0x10129888], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 5
push eax
mov dword [0x10129858], edx
mov edi, eax
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov edx, 0x100033b0
sub edx, edi
push 5
sub edx, 5
push edi
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call esi
jmp 0x10003a25
mov ecx, str.SS6_Attack_Speed
call fcn.100018b0
lea edx, [esp + 0xa0]
mov bl, 0xfe
push edx
mov edi, 0xb
mov dword [esp + 0xa4], 0xfefefe83
mov dword [esp + 0xa8], 0x74fffefe
mov word [esp + 0xac], 0x6afe
mov byte [esp + 0xae], 0x1a
call fcn.10001d30
xor ebx, ebx
add esp, 4
mov dword [0x10129b7c], eax
cmp eax, ebx
je 0x10003a79
mov eax, dword [eax + 2]
mov dword [0x10129b7c], eax
jmp 0x10003a83
mov ecx, str.SS6_InDex_PLayer_Monster
call fcn.100018b0
lea ecx, [esp + 0xa0]
mov word [esp + 0xa8], bx
mov bl, 0xff
push ecx
mov edi, 0x17
mov dword [esp + 0xa4], 0x8e68
mov dword [esp + 0xa8], 0xc16800
mov dword [esp + 0xae], 0xffffff8d
mov dword [esp + 0xb2], 0xffe8ffff
mov dword [esp + 0xb6], 0x6affffff
mov byte [esp + 0xba], 2
call fcn.10001d30
add esp, 4
test eax, eax
je 0x10003c03
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + edx + 0x57]
lea eax, [eax + edx + 0x4c]
lea edx, [eax + ecx + 0xf]
lea ecx, [edx + 0x2d]
mov dword [0x1012985c], ecx
mov esi, dword [ecx + 1]
lea ecx, [ecx + esi + 5]
mov dword [0x1012985c], ecx
mov ecx, dword [eax + 0x26]
lea ecx, [eax + ecx + 0x2a]
mov dword [0x10129848], ecx
add ecx, 8
cmp byte [eax], 0x55
mov dword [0x10129820], eax
mov dword [0x101298ac], edx
mov dword [0x101298a0], ecx
mov dword [0x101298bc], 0x10002f40
je 0x10003b49
call fcn.10001800
mov edx, dword [0x101298ac]
cmp byte [edx], 0x55
je 0x10003b53
call fcn.10001800
mov edx, dword [0x10129848]
cmp byte [edx], 0x55
je 0x10003b63
call fcn.10001800
xor ecx, ecx
mov edi, 0x100033d0
call fcn.10001b50
mov ebx, 0x400000
call fcn.10002f90
call fcn.100072e0
call fcn.10007330
call fcn.100074d0
mov edi, dword [0x101298ac]
mov esi, 0x76
call fcn.10001cf0
mov edi, dword [0x10129848]
mov esi, 0x1e0
call fcn.10001cf0
mov edi, dword [0x10129820]
mov esi, 0x33
call fcn.10001cf0
jmp 0x10003c08
mov ecx, 0x82
xor eax, eax
mov dl, byte [eax + 0x100202d4]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x2c], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10003bc1
lea eax, [esp + 0x2c]
push eax
push ebx
mov ecx, 0x10027608
mov byte [esp + 0x43], bl
call fcn.10001e60
add esp, 8
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.10001800
xor ecx, ecx
mov edi, sym.wzAudio.dll_wzAudioCreate
call fcn.10001b50
mov eax, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.1000836e
mov esp, ebp
pop ebp
ret 0xc