Function at 0x10012f70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6068
call fcn.1001c920
mov eax, dword [0x1006b850]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x10013505
mov eax, dword [ebp + 8]
mov dword [0x1010a284], eax
call fcn.1001c440
cmp dword [0x1010a280], 0
jne 0x10013505
mov dword [0x1010a280], 1
mov ecx, 1
test ecx, ecx
je 0x10013500
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x6034], eax
mov edx, dword [ebp - 0x6034]
cmp dword [edx + 0x100], 0x58da370d
jne 0x10013500
mov eax, dword [ebp - 0x6034]
add eax, 0x1000
mov dword [ebp - 0x6018], eax
mov ecx, dword [ebp - 0x6018]
push ecx
call fcn.10043a90
add esp, 4
test eax, eax
jne 0x10013026
push 0
push 0x1004c07c
push 0x1004c084
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x14
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0x6040], eax
cmp dword [ebp - 0x6040], 0
je 0x10013059
mov edx, dword [ebp - 0x6018]
push edx
mov ecx, dword [ebp - 0x6040]
call fcn.10044b80
mov dword [ebp - 0x6048], eax
jmp 0x10013063
mov dword [ebp - 0x6048], 0
mov eax, dword [ebp - 0x6048]
mov dword [ebp - 0x6058], eax
mov ecx, dword [ebp - 0x6058]
mov dword [ebp - 0x600c], ecx
mov ecx, dword [ebp - 0x600c]
call fcn.10044e70
test eax, eax
jne 0x100130a6
push 0
push 0x1004c0a0
push str.Mai__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
mov ecx, dword [ebp - 0x600c]
call fcn.10044f60
mov ecx, dword [ebp - 0x600c]
call fcn.10044db0
mov dword [ebp - 0x6068], eax
mov dword [ebp - 0x6064], edx
mov ecx, dword [ebp - 0x600c]
call fcn.10044d30
mov edx, dword [ebp - 0x600c]
mov dword [ebp - 0x604c], edx
mov eax, dword [ebp - 0x604c]
mov dword [ebp - 0x601c], eax
cmp dword [ebp - 0x601c], 0
je 0x10013112
push 1
mov ecx, dword [ebp - 0x601c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x601c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6060], eax
jmp 0x1001311c
mov dword [ebp - 0x6060], 0
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x6044], edx
cmp dword [ebp - 0x6044], 0x2000
jae 0x10013138
jmp 0x1001313d
call fcn.1001ca83
xor eax, eax
mov ecx, dword [ebp - 0x6044]
mov word [ebp + ecx - 0x4004], ax
push 0xfff
lea edx, [ebp - 0x4004]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x6014], 0
jmp 0x1001317c
mov eax, dword [ebp - 0x6014]
add eax, 1
mov dword [ebp - 0x6014], eax
lea ecx, [ebp - 0x4004]
push ecx
call fcn.10043a90
add esp, 4
cmp dword [ebp - 0x6014], eax
jge 0x100131bb
mov edx, dword [ebp - 0x6014]
movzx eax, word [ebp + edx*2 - 0x4004]
cmp eax, 0x2f
jne 0x100131b9
mov ecx, 0x5c
mov edx, dword [ebp - 0x6014]
mov word [ebp + edx*2 - 0x4004], cx
jmp 0x1001316d
lea eax, [ebp - 0x4004]
push eax
call fcn.10043a90
add esp, 4
test eax, eax
je 0x10013228
lea ecx, [ebp - 0x4004]
push ecx
call fcn.10043a90
add esp, 4
movzx edx, word [ebp + eax*2 - 0x4006]
cmp edx, 0x5c
je 0x10013228
lea eax, [ebp - 0x4004]
push eax
call fcn.10043a90
add esp, 4
lea ecx, [eax + eax - 2]
mov dword [ebp - 0x6038], ecx
cmp dword [ebp - 0x6038], 0x2000
jae 0x10013211
jmp 0x10013216
call fcn.1001ca83
xor edx, edx
mov eax, dword [ebp - 0x6038]
mov word [ebp + eax - 0x4004], dx
jmp 0x100131bb
push 0x1004c0c4
lea ecx, [ebp - 0x4004]
push ecx
call fcn.10043750
add esp, 8
lea edx, [ebp - 0x4004]
push edx
call fcn.10012690
add esp, 4
test eax, eax
jne 0x1001326b
push 0
push 0x1004c0e8
push str.b_rN0R
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0x602c], eax
cmp dword [ebp - 0x602c], 0
je 0x10013297
mov ecx, dword [ebp - 0x602c]
call fcn.10047610
mov dword [ebp - 0x603c], eax
jmp 0x100132a1
mov dword [ebp - 0x603c], 0
mov eax, dword [ebp - 0x603c]
mov dword [ebp - 0x6054], eax
mov ecx, dword [ebp - 0x6054]
mov dword [ebp - 0x6010], ecx
lea edx, [ebp - 0x4004]
push edx
mov ecx, dword [ebp - 0x6010]
call fcn.10047880
push str.MaiDRMBuster.exe
mov ecx, dword [ebp - 0x6010]
call fcn.100477b0
push str.OpenMap
mov ecx, dword [ebp - 0x6010]
call fcn.100477b0
push 1
mov ecx, dword [ebp - 0x6010]
call fcn.10047730
mov eax, dword [ebp - 0x6010]
mov dword [ebp - 0x6050], eax
mov ecx, dword [ebp - 0x6050]
mov dword [ebp - 0x6020], ecx
cmp dword [ebp - 0x6020], 0
je 0x1001332e
push 1
mov ecx, dword [ebp - 0x6020]
call fcn.10013580
mov dword [ebp - 0x605c], eax
jmp 0x10013338
mov dword [ebp - 0x605c], 0
mov edx, dword [ebp - 0x6018]
push edx
lea eax, [ebp - 0x6004]
push eax
call fcn.10043a30
add esp, 8
lea ecx, [ebp - 0x6004]
push ecx
call fcn.10043a90
add esp, 4
test eax, eax
je 0x100133bb
lea edx, [ebp - 0x6004]
push edx
call fcn.10043a90
add esp, 4
movzx eax, word [ebp + eax*2 - 0x6006]
cmp eax, 0x5c
je 0x100133bb
lea ecx, [ebp - 0x6004]
push ecx
call fcn.10043a90
add esp, 4
lea edx, [eax + eax - 2]
mov dword [ebp - 0x6024], edx
cmp dword [ebp - 0x6024], 0x2000
jae 0x100133a4
jmp 0x100133a9
call fcn.1001ca83
xor eax, eax
mov ecx, dword [ebp - 0x6024]
mov word [ebp + ecx - 0x6004], ax
jmp 0x1001334e
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x6028], eax
cmp dword [ebp - 0x6028], 0x2000
jae 0x100133d7
jmp 0x100133dc
call fcn.1001ca83
xor ecx, ecx
mov edx, dword [ebp - 0x6028]
mov word [ebp + edx - 0x2004], cx
push 0xfff
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x6008], 0
jmp 0x1001341b
mov ecx, dword [ebp - 0x6008]
add ecx, 1
mov dword [ebp - 0x6008], ecx
lea edx, [ebp - 0x2004]
push edx
call fcn.10043a90
add esp, 4
cmp dword [ebp - 0x6008], eax
jge 0x1001345a
mov eax, dword [ebp - 0x6008]
movzx ecx, word [ebp + eax*2 - 0x2004]
cmp ecx, 0x2f
jne 0x10013458
mov edx, 0x5c
mov eax, dword [ebp - 0x6008]
mov word [ebp + eax*2 - 0x2004], dx
jmp 0x1001340c
lea ecx, [ebp - 0x2004]
push ecx
call fcn.10043a90
add esp, 4
test eax, eax
je 0x100134c7
lea edx, [ebp - 0x2004]
push edx
call fcn.10043a90
add esp, 4
movzx eax, word [ebp + eax*2 - 0x2006]
cmp eax, 0x5c
je 0x100134c7
lea ecx, [ebp - 0x2004]
push ecx
call fcn.10043a90
add esp, 4
lea edx, [eax + eax - 2]
mov dword [ebp - 0x6030], edx
cmp dword [ebp - 0x6030], 0x2000
jae 0x100134b0
jmp 0x100134b5
call fcn.1001ca83
xor eax, eax
mov ecx, dword [ebp - 0x6030]
mov word [ebp + ecx - 0x2004], ax
jmp 0x1001345a
push 0x1004c150
lea edx, [ebp - 0x2004]
push edx
call fcn.10043750
add esp, 8
lea eax, [ebp - 0x6004]
push eax
lea ecx, [ebp - 0x2004]
push ecx
mov edx, dword [ebp - 0x6018]
push edx
call fcn.100135f0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10011c20
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c906
mov esp, ebp
pop ebp
ret 0xc