Function at 0x1000d3a0
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10087700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
push 0x10064160
push str..DataLocalCustomRank.bmd
call fcn.10049454
mov edi, eax
add esp, 8
mov dword [ebp - 0xdc], edi
test edi, edi
jne 0x1000d40b
push 0x10
push 0x10064180
push str.CustomRank.bmd_file_not_found
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 2
push 0
push edi
call fcn.10049a68
push edi
call fcn.1004a0c7
push edi
mov esi, eax
call fcn.1004a4c1
push esi
call fcn.10043701
push dword [ebp - 0xdc]
mov edi, eax
push esi
push 1
push edi
mov dword [ebp - 0xe8], edi
call fcn.10049644
push dword [ebp - 0xdc]
call fcn.1004936d
add esp, 0x2c
xor eax, eax
test esi, esi
jle 0x1000d467
mov ecx, eax
and ecx, 0x1f
mov cl, byte [ecx + 0x1008701c]
xor byte [eax + edi], cl
inc eax
cmp eax, esi
jl 0x1000d454
lea ecx, [ebp - 0xd8]
call fcn.1003ddc0
push 0
push 0x74
push esi
push edi
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd8]
call fcn.1003e970
cmp dword [ebp - 0x158], 0
je 0x1000d4b6
push 0x10
push 0x100641a8
push str.CustomRank.bmd_file_corrupted
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.CustomRanks
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.1003e340
push str.Rank
lea eax, [ebp - 0xdc]
xor esi, esi
push eax
lea ecx, [ebp - 0xe4]
call fcn.1003e340
lea ecx, [ebp - 0xdc]
call fcn.1003dee0
test eax, eax
je 0x1000d6ab
mov edi, dword [ebp - 0xe0]
nop
push 0
push 0x100641e4
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x128], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14c], esi
push eax
lea ecx, [ebp - 0xdc]
movlpd qword [ebp - 0x138], xmm0
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0xdc]
push 0x100641f0
lea eax, [ebp - 0xec]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0xdc]
push str.MinReset
lea eax, [ebp - 0xf0]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0xdc]
push str.MaxReset
lea eax, [ebp - 0xf4]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0xdc]
push str.VipType
lea eax, [ebp - 0xf8]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0xdc]
push str.IWCLord
lea eax, [ebp - 0xfc]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0x10064163
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0xdc]
push str.ImageName
lea eax, [ebp - 0x100]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e2b0
inc esi
sub esp, 0x48
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
mov eax, esp
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [ebp - 0x14c]
movups xmmword [ebp - 0x114], xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x13c]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x11c]
movups xmmword [eax + 0x30], xmm0
unpckhpd xmm1, xmm1
mov ecx, edi
movq qword [eax + 0x40], xmm1
call fcn.1000d7d0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xdc]
call fcn.1003eca0
lea ecx, [ebp - 0xdc]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
call fcn.1003dee0
test eax, eax
jne 0x1000d500
mov edi, dword [ebp - 0xe8]
push edi
call fcn.1004370a
add esp, 4
lea ecx, [ebp - 0xd8]
call fcn.1003dea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004344b
mov esp, ebp
pop ebp
ret