Function at 0x10003430
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 0x1001c4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10023490]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x10023490]
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 0x10003be4
push esi
call fcn.10001c00
add esp, 4
mov ecx, 0x1f24850f
lea eax, [esp + 0x20]
mov dword [0x10129834], esi
mov byte [0x10129b74], 1
call fcn.100060a0
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, 0x397a9cca
lea eax, [esp + 0x58]
call fcn.10006130
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 0x1000350b
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 0x10003530
mov ecx, 0x5cc7872b
lea eax, [esp + 0x4c]
call fcn.10006190
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.10001ce0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10003b8a
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 [0x10129b54], 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.10001ce0
add esp, 4
mov dword [0x10129b58], eax
test eax, eax
je 0x1000363c
mov edx, dword [eax + 1]
mov dword [0x10129b58], edx
jmp 0x1000368c
mov ecx, 0xba
xor eax, eax
mov dl, byte [eax + 0x10020268]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x3c], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10003643
lea eax, [esp + 0x3c]
push eax
push 0
mov ecx, 0x10027620
mov byte [esp + 0x53], 0
call fcn.10001e10
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.10001ce0
xor ebx, ebx
add esp, 4
mov dword [0x10129b7c], eax
cmp eax, ebx
je 0x100036eb
mov edx, dword [eax + 2]
mov dword [0x10129b7c], edx
jmp 0x1000371d
mov ecx, 0x10020278
sub ecx, 0x575d72e6
lea eax, [esp + 0x60]
call fcn.10006210
push eax
push ebx
mov ecx, 0x10027620
call fcn.10001e10
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.10001ce0
add esp, 4
mov dword [0x101297fc], eax
test eax, eax
je 0x10003840
lea edx, [eax + 9]
mov dword [0x10129888], edx
cmp byte [eax], 0xe9
jne 0x10003807
mov edi, 0x6673519a
lea esi, [esp + 0x84]
call fcn.10006270
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 [0x101297fc]
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, 0x10003120
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 0x10003899
mov edi, 0x6673519a
lea esi, [esp + 0x68]
call fcn.10006270
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.10001ce0
add esp, 4
mov dword [0x10129884], eax
test eax, eax
je 0x100039eb
mov dword [0x1012982c], eax
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov dword [0x1012982c], edx
mov ecx, dword [eax + 0x17]
lea edx, [eax + ecx + 0x1b]
lea ecx, [eax + 5]
mov dword [0x10129824], edx
mov edx, dword [ecx + 1]
lea edx, [ecx + edx + 5]
mov dword [0x10129868], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 5
push eax
mov dword [0x10129838], edx
mov edi, eax
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov edx, 0x10003380
sub edx, edi
push 5
sub edx, 5
push edi
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call esi
jmp 0x100039f5
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.10001ce0
xor ebx, ebx
add esp, 4
mov dword [0x10129b5c], eax
cmp eax, ebx
je 0x10003a49
mov eax, dword [eax + 2]
mov dword [0x10129b5c], eax
jmp 0x10003a53
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.10001ce0
add esp, 4
test eax, eax
je 0x10003bd3
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 [0x1012983c], ecx
mov esi, dword [ecx + 1]
lea ecx, [ecx + esi + 5]
mov dword [0x1012983c], ecx
mov ecx, dword [eax + 0x26]
lea ecx, [eax + ecx + 0x2a]
mov dword [0x10129828], ecx
add ecx, 8
cmp byte [eax], 0x55
mov dword [0x10129800], eax
mov dword [0x1012988c], edx
mov dword [0x10129880], ecx
mov dword [0x1012989c], 0x10002f10
je 0x10003b19
call fcn.10001800
mov edx, dword [0x1012988c]
cmp byte [edx], 0x55
je 0x10003b23
call fcn.10001800
mov edx, dword [0x10129828]
cmp byte [edx], 0x55
je 0x10003b33
call fcn.10001800
xor ecx, ecx
mov edi, 0x100033a0
call fcn.10001b00
mov ebx, 0x400000
call fcn.10002f60
call fcn.100072b0
call fcn.10007300
call fcn.100074a0
mov edi, dword [0x1012988c]
mov esi, 0x76
call fcn.10001ca0
mov edi, dword [0x10129828]
mov esi, 0x1e0
call fcn.10001ca0
mov edi, dword [0x10129800]
mov esi, 0x33
call fcn.10001ca0
jmp 0x10003bd8
mov ecx, 0x82
xor eax, eax
mov dl, byte [eax + 0x100202cc]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x2c], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10003b91
lea eax, [esp + 0x2c]
push eax
push ebx
mov ecx, 0x10027620
mov byte [esp + 0x43], bl
call fcn.10001e10
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.10001b00
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.1000833e
mov esp, ebp
pop ebp
ret 0xc