Function at 0x40d580
Capabilities:
Check mutex on windows
Read file via mapping
Set current directory

Disassembly:
mov rax, rsp
sub rsp, 0x678
mov qword [rsp + 0x330], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
mov qword [rax - 0x30], r15
mov rax, qword [0x00449028]
mov qword [rsp + 0x630], rax
mov qword [rsp + 0x158], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [0x00439a81]
xor ecx, ecx
call fcn.004266e0
mov edx, 1
lea rcx, [rsp + 0x350]
call fcn.00418590
nop
lea rcx, [rsp + 0x240]
call fcn.004036d0
nop
lea rbx, [section..SHMMESS]
mov qword [rsp + 0xb8], rbx
xor r15d, r15d
mov qword [rsp + 0xc0], r15
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x350]
call fcn.00407930
nop
lea r8, [0x00439740]
lea r12, [0x004395a0]
mov edi, dword [rsp + 0x98]
test edi, edi
je 0x40d781
mov ecx, r15d
mov rax, r15
test edi, edi
jle 0x40d682
nop
nop
nop
mov rdx, qword [rsp + 0x90]
cmp byte [rdx + rax], 0x5c
jne 0x40d679
mov byte [rdx + rax], 0x2e
mov edi, dword [rsp + 0x98]
inc ecx
inc rax
cmp ecx, edi
jl 0x40d660
lea rsi, str..j2e.mapping
mov qword [rsp + 0x2a8], rsi
mov qword [rsp + 0x2a0], r8
mov ebx, r15d
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + rsi], 0
jne 0x40d6a0
mov dword [rsp + 0x2b0], ebx
lea edx, [rbx + rdi]
lea rcx, [rsp + 0x88]
mov rax, qword [rsp + 0x88]
call qword [rax + 8]
cmp edi, edi
jge 0x40d6f0
movsxd rax, edi
mov r8, qword [rsp + 0x90]
lea rdx, [rax + r8]
movsxd rcx, ebx
add rcx, rax
add rcx, r8
mov eax, edi
sub eax, edi
movsxd r8, eax
call fcn.004230d0
movsxd r8, ebx
movsxd rcx, edi
add rcx, qword [rsp + 0x90]
mov rdx, rsi
call fcn.004230d0
nop
mov qword [rsp + 0x2a0], r12
mov edx, dword [rsp + 0x98]
lea rcx, [rsp + 0x88]
mov rax, qword [rsp + 0x88]
call qword [rax + 8]
mov r11, qword [rsp + 0x90]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x1000
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x20], 0x1000
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [rsp + 0xb8], rax
mov rdx, rbx
lea rcx, [rsp + 0x400]
call fcn.0041f2d0
nop
lea rax, [rsp + 0x350]
mov qword [0x0044a268], rax
lea rax, [rsp + 0x240]
mov qword [0x0044a270], rax
lea rax, [rsp + 0x400]
mov qword [0x0044a278], rax
xor eax, eax
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb0], 8
lea rcx, [rsp + 0xb0]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x350]
call fcn.0041aa50
nop
lea rbp, [0x004395c8]
cmp dword [rsp + 0x190], 0
je 0x40d870
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x350]
call fcn.00408fa0
nop
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.00409a20
nop
mov qword [rsp + 0x200], rbp
mov rcx, qword [rsp + 0x208]
mov qword [rsp + 0x208], r15
mov dword [rsp + 0x210], r15d
mov dword [rsp + 0x218], r15d
test rcx, rcx
je 0x40d868
call fcn.004230a0
mov qword [rsp + 0x200], r12
lea rdx, [rsp + 0x160]
mov rcx, qword [0x0044a268]
call fcn.00408d80
nop
mov edx, dword [rsp + 0x170]
test edx, edx
jle 0x40d94d
lea rcx, [rsp + 0x160]
mov rax, qword [rsp + 0x160]
call qword [rax + 8]
mov rdi, qword [rsp + 0x168]
lea rdx, [rsp + 0x1e0]
mov rcx, qword [0x0044a268]
call fcn.004090b0
mov rbx, rax
mov r8, qword [rax]
mov edx, dword [rax + 0x10]
mov rcx, rax
call qword [r8 + 8]
mov r9d, 0x104
lea r8, [rsp + 0x520]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call fcn.00405db0
mov ebx, eax
mov qword [rsp + 0x1e0], rbp
mov rcx, qword [rsp + 0x1e8]
mov qword [rsp + 0x1e8], r15
mov dword [rsp + 0x1f0], r15d
mov dword [rsp + 0x1f8], r15d
test rcx, rcx
je 0x40d921
call fcn.004230a0
mov qword [rsp + 0x1e0], r12
lea eax, [rbx - 1]
cmp eax, 0x102
ja 0x40d941
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rcx, qword [0x0044a268]
call fcn.0040ffa0
lea rdx, [rsp + 0xe8]
mov rcx, qword [0x0044a268]
call fcn.00408b60
nop
mov edx, dword [rsp + 0xf8]
test edx, edx
je 0x40d994
lea rcx, [rsp + 0xe8]
mov rax, qword [rsp + 0xe8]
call qword [rax + 8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [0x0044a2f0]
call fcn.0041ed10
lea rdx, [rsp + 0x138]
mov rcx, qword [0x0044a268]
call fcn.00408940
nop
mov edx, dword [rsp + 0x148]
test edx, edx
je 0x40d9db
lea rcx, [rsp + 0x138]
mov rax, qword [rsp + 0x138]
call qword [rax + 8]
mov rdx, qword [rsp + 0x140]
lea rcx, [0x0044a2f0]
call fcn.0041ec40
mov edx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xe8]
mov rax, qword [rsp + 0xe8]
call qword [rax + 8]
mov r11, qword [rsp + 0xf0]
mov qword [rsp + 0x2c0], r11
mov ecx, r15d
mov dword [rsp + 0x2c8], r15d
test r11, r11
je 0x40da33
cmp byte [r11], cl
je 0x40da33
nop
nop
inc ecx
movsxd rax, ecx
cmp byte [rax + r11], 0
jne 0x40da20
mov dword [rsp + 0x2c8], ecx
mov eax, ecx
mov edi, dword [rsp + 0x148]
cmp edi, ecx
cmovl eax, edi
mov r8d, r15d
mov r9, r15
movsxd rbx, eax
mov rsi, qword [rsp + 0x140]
test eax, eax
jle 0x40da7c
mov rdx, rsi
mov r10, r11
sub r10, rsi
nop
movzx eax, byte [r10 + rdx]
cmp byte [rdx], al
jne 0x40da77
inc r8d
inc r9
inc rdx
cmp r9, rbx
jl 0x40da60
test r8d, r8d
js 0x40da8b
cmp r8d, edi
jge 0x40da8b
movsxd rax, r8d
movzx r9d, byte [rax + rsi]
jmp 0x40da8e
xor r9b, r9b
test r8d, r8d
js 0x40daa2
cmp r8d, ecx
jge 0x40daa2
movsxd rax, r8d
movzx edx, byte [rax + r11]
jmp 0x40daa4
xor dl, dl
movsx ecx, r9b
movsx eax, dl
sub ecx, eax
mov qword [rsp + 0x2b8], r12
mov eax, r15d
sete al
mov dword [0x0044a260], eax
mov dword [rsp + 0x58], r15d
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x350]
call fcn.00408790
mov rbx, rax
mov r8, qword [rax]
mov edx, dword [rax + 0x10]
mov rcx, rax
call qword [r8 + 8]
lea r8, [rsp + 0x58]
lea rdx, [0x0043a164]
mov rcx, qword [rbx + 8]
call fcn.00425330
nop
mov qword [rsp + 0x1c0], rbp
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1c8], r15
mov dword [rsp + 0x1d0], r15d
mov dword [rsp + 0x1d8], r15d
test rcx, rcx
je 0x40db33
call fcn.004230a0
mov qword [rsp + 0x1c0], r12
lea rcx, [rsp + 0x4b8]
lea r14, [0x00400000]
mov rax, qword [r14 + 0x3a148]
mov qword [rcx], rax
mov rax, qword [r14 + 0x3a150]
mov qword [rcx + 8], rax
mov rax, qword [r14 + 0x3a158]
mov qword [rcx + 0x10], rax
movzx eax, byte [r14 + 0x3a160]
mov byte [rcx + 0x18], al
lea rcx, [rsp + 0x4b8]
lea r12, [0x0044a340]
mov rdx, r12
mov edi, 0x19
mov r8, rdi
nop
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
dec r8
jne 0x40db90
lea rcx, str._JAR2EXE_BINARY_DEBUG_
call fcn.004247b0
test rax, rax
je 0x40dbec
mov rbx, r12
movzx eax, byte [rbx]
test al, al
js 0x40dbc6
movzx eax, byte [rbx]
cmp al, 0x20
jge 0x40dbc6
mov al, 0x2e
jmp 0x40dbc9
movzx eax, byte [rbx]
movsx edx, al
lea rcx, [0x00439a90]
call fcn.004249a0
inc rbx
dec rdi
jne 0x40dbb4
lea rcx, [0x00439a8c]
call fcn.004249a0
cmp byte [0x0044a340], 0
je 0x40dc5a
mov edx, dword [rsp + 0x3fc]
mov ecx, dword [rsp + 0x58]
call fcn.0041af70
test eax, eax
jne 0x40dc5a
lea edx, [rax + 9]
lea rcx, [rsp + 0x2d0]
call fcn.0040a650
nop
mov edx, dword [rsp + 0x2e0]
lea rcx, [rsp + 0x2d0]
mov rax, qword [rsp + 0x2d0]
call qword [rax + 8]
mov r8, qword [rsp + 0x2d8]
lea rdx, [0x00439958]
lea rcx, [0x00449160]
call fcn.00424420
mov ecx, 9
call fcn.00425900
nop
lea rcx, [rsp + 0x4a0]
mov rax, qword [r14 + 0x3a130]
mov qword [rcx], rax
mov rax, qword [r14 + 0x3a138]
mov qword [rcx + 8], rax
mov eax, dword [r14 + 0x3a140]
mov dword [rcx + 0x10], eax
movzx eax, word [r14 + 0x3a144]
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x4f8]
mov rax, qword [r14 + 0x3a110]
mov qword [rcx], rax
mov rax, qword [r14 + 0x3a118]
mov qword [rcx + 8], rax
mov rax, qword [r14 + 0x3a120]
mov qword [rcx + 0x10], rax
movzx eax, word [r14 + 0x3a128]
mov word [rcx + 0x18], ax
movzx eax, byte [r14 + 0x3a12a]
mov byte [rcx + 0x1a], al
lea rcx, [rsp + 0x4d8]
mov rax, qword [r14 + 0x3a0f0]
mov qword [rcx], rax
mov rax, qword [r14 + 0x3a0f8]
mov qword [rcx + 8], rax
mov rax, qword [r14 + 0x3a100]
mov qword [rcx + 0x10], rax
movzx eax, word [r14 + 0x3a108]
mov word [rcx + 0x18], ax
lea rcx, [rsp + 0x4f8]
mov rdx, r12
mov edi, 0x1b
mov r8, rdi
nop
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
dec r8
jne 0x40dd20
lea rcx, str._JAR2EXE_BINARY_DEBUG_
call fcn.004247b0
test rax, rax
je 0x40dd7c
mov rbx, r12
movzx eax, byte [rbx]
test al, al
js 0x40dd56
movzx eax, byte [rbx]
cmp al, 0x20
jge 0x40dd56
mov al, 0x2e
jmp 0x40dd59
movzx eax, byte [rbx]
movsx edx, al
lea rcx, [0x00439a90]
call fcn.004249a0
inc rbx
dec rdi
jne 0x40dd44
lea rcx, [0x00439a8c]
call fcn.004249a0
mov rbp, qword [0x0044a340]
lea rcx, [rsp + 0x4d8]
mov rdx, r12
mov edi, 0x1a
mov r8, rdi
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
dec r8
jne 0x40dda0
lea rcx, str._JAR2EXE_BINARY_DEBUG_
call fcn.004247b0
test rax, rax
je 0x40ddfc
mov rbx, r12
movzx eax, byte [rbx]
test al, al
js 0x40ddd6
movzx eax, byte [rbx]
cmp al, 0x20
jge 0x40ddd6
mov al, 0x2e
jmp 0x40ddd9
movzx eax, byte [rbx]
movsx edx, al
lea rcx, [0x00439a90]
call fcn.004249a0
inc rbx
dec rdi
jne 0x40ddc4
lea rcx, [0x00439a8c]
call fcn.004249a0
mov esi, dword [0x0044a340]
lea rdx, [rsp + 0x4a0]
mov r8, r12
mov edi, 0x16
mov r9, rdi
nop
nop
nop
movzx eax, byte [rdx]
mov byte [r8], al
inc r8
inc rdx
dec r9
jne 0x40de20
lea rcx, str._JAR2EXE_BINARY_DEBUG_
call fcn.004247b0
test rax, rax
je 0x40de7d
mov rbx, r12
movzx eax, byte [rbx]
test al, al
js 0x40de57
movzx eax, byte [rbx]
cmp al, 0x20
jge 0x40de57
mov al, 0x2e
jmp 0x40de5a
movzx eax, byte [rbx]
movsx edx, al
lea rcx, [0x00439a90]
call fcn.004249a0
inc rbx
dec rdi
jne 0x40de45
lea rcx, [0x00439a8c]
call fcn.004249a0
cmp byte [0x0044a340], 0
je 0x40dee9
mov r8d, esi
mov rdx, rbp
mov rcx, r12
call fcn.0040a4e0
test eax, eax
jne 0x40dee9
lea edx, [rax + 0xb]
lea rcx, [rsp + 0x310]
call fcn.0040a650
nop
mov edx, dword [rsp + 0x320]
lea rcx, [rsp + 0x310]
mov rax, qword [rsp + 0x310]
call qword [rax + 8]
mov r8, qword [rsp + 0x318]
lea rdx, [0x00439958]
lea rcx, [0x00449160]
call fcn.00424420
mov ecx, 0xb
call fcn.00425900
nop
lea rdx, [rsp + 0xc8]
mov rcx, qword [0x0044a268]
call fcn.00407f20
nop
mov esi, r15d
nop
nop
nop
nop
inc esi
movsxd rax, esi
cmp byte [rax + r14 + 0x3a0e4], 0
jne 0x40df10
mov eax, esi
mov edx, dword [rsp + 0xd8]
cmp edx, esi
cmovl eax, edx
mov ebp, r15d
mov rdi, r15
movsxd r13, eax
test eax, eax
jle 0x40df87
nop
nop
movzx ecx, byte [rdi + r14 + 0x3a0e4]
mov rax, qword [rsp + 0xd0]
movzx r12d, byte [rax + rdi]
cmp r12b, cl
je 0x40df72
movsx ecx, cl
call fcn.00424050
mov ebx, eax
movsx ecx, r12b
call fcn.00424050
cmp eax, ebx
jne 0x40df7c
inc ebp
inc rdi
cmp rdi, r13
jl 0x40df40
test ebp, ebp
js 0x40df9d
mov edx, dword [rsp + 0xd8]
cmp ebp, edx
jge 0x40dfa4
movsxd rcx, ebp
mov rax, qword [rsp + 0xd0]
movzx r9d, byte [rcx + rax]
jmp 0x40dfa7
mov edx, dword [rsp + 0xd8]
xor r9b, r9b
test ebp, ebp
js 0x40dfbd
cmp ebp, esi
jge 0x40dfbd
movsxd rax, ebp
movzx r8d, byte [rax + r14 + 0x3a0e4]
jmp 0x40dfc0
xor r8b, r8b
movsx ecx, r9b
movsx eax, r8b
sub ecx, eax
mov r14d, r15d
sete r14b
mov ebp, r15d
lea rcx, [0x00400000]
nop
nop
inc ebp
movsxd rax, ebp
cmp byte [rax + rcx + 0x3a0d8], 0
jne 0x40dfe0
mov eax, ebp
cmp edx, ebp
cmovl eax, edx
mov esi, r15d
mov rdi, r15
movsxd r13, eax
test eax, eax
jle 0x40e05d
nop
nop
nop
nop
movzx ecx, byte [rdi + rcx + 0x3a0d8]
mov rax, qword [rsp + 0xd0]
movzx r12d, byte [rax + rdi]
cmp r12b, cl
je 0x40e041
movsx ecx, cl
call fcn.00424050
mov ebx, eax
movsx ecx, r12b
call fcn.00424050
cmp eax, ebx
jne 0x40e052
inc esi
inc rdi
cmp rdi, r13
lea rcx, [0x00400000]
jl 0x40e010
test esi, esi
js 0x40e073
mov edx, dword [rsp + 0xd8]
cmp esi, edx
jge 0x40e073
movsxd rcx, esi
mov rax, qword [rsp + 0xd0]
movzx r8d, byte [rcx + rax]
jmp 0x40e076
xor r8b, r8b
test esi, esi
js 0x40e093
cmp esi, ebp
jge 0x40e093
movsxd rax, esi
lea r12, [0x00400000]
movzx edx, byte [rax + r12 + 0x3a0d8]
jmp 0x40e09c
xor dl, dl
lea r12, [0x00400000]
movsx ecx, r8b
movsx eax, dl
sub ecx, eax
mov eax, r15d
sete al
mov dword [rsp + 0x30], eax
test r14d, r14d
jne 0x40e0de
test eax, eax
jne 0x40e0de
lea rdx, str.custom
lea rcx, [rsp + 0xc8]
call fcn.00403180
test eax, eax
jne 0x40e371
call fcn.0041fdf0
jmp 0x40e374
lea rdx, [rsp + 0x38]
mov rcx, qword [0x0044a268]
call fcn.00407930
nop
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jne 0x40e1b9
lea rdx, [rsp + 0x220]
mov rcx, qword [0x0044a268]
call fcn.00408fa0
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x38]
mov r8, qword [rsp + 0x38]
call qword [r8 + 8]
movsxd rdi, dword [rbx + 0x10]
mov rsi, qword [rbx + 8]
movsxd rbx, dword [rsp + 0x48]
lea edx, [rbx + rdi]
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 8]
cmp ebx, ebx
jge 0x40e160
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rbx]
lea rcx, [rax + rdi]
add rcx, rbx
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.004230d0
mov r8, rdi
mov rcx, rbx
add rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.004230d0
nop
lea rbp, [0x004395c8]
mov qword [rsp + 0x220], rbp
mov rcx, qword [rsp + 0x228]
xor edi, edi
mov qword [rsp + 0x228], rdi
mov dword [rsp + 0x230], edi
mov dword [rsp + 0x238], edi
test rcx, rcx
je 0x40e1b3
call fcn.004230a0
mov ebx, dword [rsp + 0x48]
jmp 0x40e1c2
mov ebx, dword [rsp + 0x48]
jmp 0x40e1c2
xor edi, edi
lea rbp, [0x004395c8]
mov ecx, edi
mov rax, rdi
test ebx, ebx
jle 0x40e1ec
nop
nop
mov rdx, qword [rsp + 0x40]
cmp byte [rdx + rax], 0x3a
jne 0x40e1e3
mov byte [rdx + rax], 0x2e
mov ebx, dword [rsp + 0x48]
inc ecx
inc rax
cmp ecx, ebx
jl 0x40e1d0
mov ecx, edi
mov rax, rdi
test ebx, ebx
jle 0x40e211
mov rdx, qword [rsp + 0x40]
cmp byte [rdx + rax], 0x5c
jne 0x40e208
mov byte [rdx + rax], 0x2e
mov ebx, dword [rsp + 0x48]
inc ecx
inc rax
cmp ecx, ebx
jl 0x40e1f5
lea rsi, str..j2e.mutex
mov qword [rsp + 0x340], rsi
lea rax, [0x00439740]
mov qword [rsp + 0x338], rax
nop
inc edi
movsxd rax, edi
cmp byte [rax + rsi], 0
jne 0x40e230
mov dword [rsp + 0x348], edi
lea edx, [rdi + rbx]
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 8]
cmp ebx, ebx
jge 0x40e277
movsxd r8, ebx
mov rax, qword [rsp + 0x40]
lea rdx, [rax + r8]
movsxd rcx, edi
add rcx, rax
add rcx, r8
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.004230d0
movsxd r8, edi
movsxd rcx, ebx
add rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.004230d0
nop
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 8]
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
jne 0x40e2cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateMutex_error:__d_n
call fcn.004249a0
lea r15d, [rbx + 1]
jmp 0x40e2f1
mov edx, 0x64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40e349
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r15d, 1
test r14d, r14d
je 0x40e349
mov edx, 0xd
lea rcx, [rsp + 0x2f0]
call fcn.0040a650
nop
mov edx, dword [rsp + 0x300]
lea rcx, [rsp + 0x2f0]
mov rax, qword [rsp + 0x2f0]
call qword [rax + 8]
mov r8, qword [rsp + 0x2f8]
lea rdx, [0x00439958]
lea rcx, [0x00449160]
call fcn.00424420
mov ecx, 0xd
call fcn.00425900
nop
mov qword [rsp + 0x38], rbp
mov rcx, qword [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x50], r14d
test rcx, rcx
je 0x40e374
call fcn.004230a0
jmp 0x40e374
xor r14d, r14d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x350]
call fcn.00407d70
nop
mov esi, r14d
nop
nop
inc esi
movsxd rax, esi
cmp byte [rax + r12 + 0x3a0e4], 0
jne 0x40e390
mov eax, esi
mov edx, dword [rsp + 0x78]
cmp edx, esi
cmovl eax, edx
mov ebp, r14d
mov rdi, r14
movsxd r13, eax
test eax, eax
jle 0x40e407
nop
nop
movzx r12d, byte [rdi + r12 + 0x3a0e4]
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rax + rdi]
cmp cl, r12b
je 0x40e3ee
movsx ecx, cl
call fcn.00424050
mov ebx, eax
movsx ecx, r12b
call fcn.00424050
cmp ebx, eax
jne 0x40e3ff
inc ebp
inc rdi
cmp rdi, r13
lea r12, [0x00400000]
jl 0x40e3c0
test ebp, ebp
js 0x40e41a
mov edx, dword [rsp + 0x78]
cmp ebp, edx
jge 0x40e41e
movsxd rcx, ebp
mov rax, qword [rsp + 0x70]
movzx r9d, byte [rcx + rax]
jmp 0x40e421
mov edx, dword [rsp + 0x78]
xor r9b, r9b
test ebp, ebp
js 0x40e43e
cmp ebp, esi
jge 0x40e43e
movsxd rax, ebp
lea r10, [0x00400000]
movzx r8d, byte [rax + r10 + 0x3a0e4]
jmp 0x40e448
xor r8b, r8b
lea r10, [0x00400000]
movsx ecx, r9b
movsx eax, r8b
lea r8, [0x0043a0a0]
sub ecx, eax
je 0x40e55a
mov ebp, r14d
nop
nop
nop
nop
inc ebp
movsxd rax, ebp
cmp byte [rax + r10 + 0x3a098], 0
jne 0x40e470
mov eax, ebp
cmp edx, ebp
cmovl eax, edx
mov esi, r14d
mov rdi, r14
movsxd r13, eax
test eax, eax
jle 0x40e4e7
nop
nop
nop
movzx r12d, byte [rdi + r10 + 0x3a098]
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rax + rdi]
cmp cl, r12b
je 0x40e4d5
movsx ecx, cl
call fcn.00424050
mov ebx, eax
movsx ecx, r12b
call fcn.00424050
cmp ebx, eax
jne 0x40e4df
lea r10, [0x00400000]
inc esi
inc rdi
cmp rdi, r13
jl 0x40e4a0
test esi, esi
js 0x40e4fa
mov edx, dword [rsp + 0x78]
cmp esi, edx
jge 0x40e4fe
movsxd rcx, esi
mov rax, qword [rsp + 0x70]
movzx r9d, byte [rcx + rax]
jmp 0x40e501
mov edx, dword [rsp + 0x78]
xor r9b, r9b
test esi, esi
js 0x40e51e
cmp esi, ebp
jge 0x40e51e
movsxd rax, esi
lea rcx, [0x00400000]
movzx r8d, byte [rax + rcx + 0x3a098]
jmp 0x40e521
xor r8b, r8b
movsx ecx, r9b
movsx eax, r8b
sub ecx, eax
je 0x40e553
lea rdx, [0x0043a0a0]
lea rcx, [rsp + 0x68]
call fcn.00403180
test eax, eax
jne 0x40e652
mov edx, dword [rsp + 0x78]
lea r8, [0x0043a0a0]
jmp 0x40e55a
lea r8, [0x0043a0a0]
mov esi, r14d
nop
inc esi
movsxd rax, esi
cmp byte [rax + r8], 0
jne 0x40e560
mov eax, esi
cmp edx, esi
cmovl eax, edx
mov ebp, r14d
mov rdi, r14
movsxd r13, eax
test eax, eax
jle 0x40e5c3
movzx r12d, byte [rdi + r8]
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rax + rdi]
cmp cl, r12b
je 0x40e5b1
movsx ecx, cl
call fcn.00424050
mov ebx, eax
movsx ecx, r12b
call fcn.00424050
cmp ebx, eax
jne 0x40e5bb
lea r8, [0x0043a0a0]
inc ebp
inc rdi
cmp rdi, r13
jl 0x40e580
test ebp, ebp
js 0x40e5d6
mov edx, dword [rsp + 0x78]
cmp ebp, edx
jge 0x40e5d6
movsxd rcx, ebp
mov rax, qword [rsp + 0x70]
movzx r8d, byte [rcx + rax]
jmp 0x40e5d9
xor r8b, r8b
test ebp, ebp
js 0x40e5f1
cmp ebp, esi
jge 0x40e5f1
movsxd rax, ebp
lea rcx, [0x0043a0a0]
movzx edx, byte [rax + rcx]
jmp 0x40e5f3
xor dl, dl
movsx ecx, r8b
movsx eax, dl
sub ecx, eax
neg ecx
sbb r9d, r9d
add r9d, 2
mov r8, qword [rsp + 0x158]
mov edx, dword [rsp + 0x60]
lea rcx, [0x0044a2a0]
call fcn.00422a90
lea rdx, section..data
lea rcx, [0x0044a2a0]
call fcn.00422070
mov ebx, dword [0x00449010]
mov edx, ebx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 8]
mov rdi, qword [0x00449008]
jmp 0x40e65e
mov ebx, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x158]
lea rsi, [0x004395c8]
mov qword [rsp + 0x68], rsi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x80], r14d
test rcx, rcx
je 0x40e68b
call fcn.004230a0
lea rbp, [0x004395a0]
mov qword [rsp + 0x68], rbp
cmp dword [rsp + 0x30], 0
je 0x40e6e3
call fcn.0041fdf0
test r15d, r15d
je 0x40e6e3
lea rdx, [rdi + 8]
lea ecx, [rbx - 1]
call fcn.00420a40
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x40e6d8
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xd
call fcn.00425900
int3
call fcn.0041b760
xor r11d, r11d
mov qword [rsp + 0x110], r11
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x120], r11
mov qword [rsp + 0x128], r11
mov qword [rsp + 0x130], r11
lea eax, [rbx - 1]
mov dword [rsp + 0x108], eax
lea rax, [rdi + 8]
mov qword [rsp + 0x110], rax
lea rax, [0x00406660]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x350]
call fcn.00406b00
nop
cmp dword [rsp + 0x1b0], 0
jne 0x40e838
mov dword [rsp + 0x30], r14d
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
lea r9, [rsp + 0x108]
lea r8, [0x0040d500]
xor edx, edx
xor ecx, ecx
call fcn.00424b70
mov rbx, rax
test rax, rax
jne 0x40e7c2
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x108]
lea r8, [0x0040d500]
xor edx, edx
xor ecx, ecx
call fcn.00424b70
mov rbx, rax
test rax, rax
je 0x40e7f0
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x30]
jmp 0x40e87e
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x120]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov ecx, dword [rsp + 0x108]
call fcn.0040b2f0
mov ebx, eax
mov dword [rsp + 0x130], eax
mov rcx, qword [0x0044a270]
call fcn.004029e0
jmp 0x40e87e
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x120]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov ecx, dword [rsp + 0x108]
call fcn.0040b2f0
mov ebx, eax
mov dword [rsp + 0x130], eax
mov rcx, qword [0x0044a270]
call fcn.004029e0
call fcn.0041b850
mov qword [0x0044a268], r14
mov qword [0x0044a270], r14
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x40e8b6
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rsp + 0x1a0], rsi
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x1a8], r14
mov dword [rsp + 0x1b0], r14d
mov dword [rsp + 0x1b8], r14d
test rcx, rcx
je 0x40e8e8
call fcn.004230a0
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0xc8], rsi
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], r14
mov dword [rsp + 0xd8], r14d
mov dword [rsp + 0xe0], r14d
test rcx, rcx
je 0x40e922
call fcn.004230a0
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0x138], rsi
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0x140], r14
mov dword [rsp + 0x148], r14d
mov dword [rsp + 0x150], r14d
test rcx, rcx
je 0x40e95c
call fcn.004230a0
mov qword [rsp + 0x138], rbp
mov qword [rsp + 0xe8], rsi
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xf0], r14
mov dword [rsp + 0xf8], r14d
mov dword [rsp + 0x100], r14d
test rcx, rcx
je 0x40e996
call fcn.004230a0
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0x160], rsi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x168], r14
mov dword [rsp + 0x170], r14d
mov dword [rsp + 0x178], r14d
test rcx, rcx
je 0x40e9d0
call fcn.004230a0
mov qword [rsp + 0x160], rbp
mov qword [rsp + 0x180], rsi
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x188], r14
mov dword [rsp + 0x190], r14d
mov dword [rsp + 0x198], r14d
test rcx, rcx
je 0x40ea0a
call fcn.004230a0
mov qword [rsp + 0x180], rbp
lea rcx, [rsp + 0x400]
call fcn.0041f230
nop
mov qword [rsp + 0x88], rsi
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x90], r14
mov dword [rsp + 0x98], r14d
mov dword [rsp + 0xa0], r14d
test rcx, rcx
je 0x40ea52
call fcn.004230a0
mov qword [rsp + 0x88], rbp
lea rcx, [rsp + 0x240]
call fcn.004029e0
nop
mov qword [rsp + 0x260], rsi
mov rcx, qword [rsp + 0x268]
mov qword [rsp + 0x268], r14
mov dword [rsp + 0x270], r14d
mov dword [rsp + 0x278], r14d
test rcx, rcx
je 0x40ea9a
call fcn.004230a0
mov qword [rsp + 0x260], rbp
lea rax, [0x004395d8]
mov qword [rsp + 0x240], rax
mov rcx, qword [rsp + 0x248]
mov qword [rsp + 0x248], r14
mov dword [rsp + 0x250], r14d
mov dword [rsp + 0x258], r14d
test rcx, rcx
je 0x40eadb
call fcn.004230a0
lea rax, [0x004395a8]
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x350]
call fcn.0040f660
mov eax, ebx
mov rcx, qword [rsp + 0x630]
call fcn.00437a60
mov rbx, qword [rsp + 0x690]
mov rbp, qword [rsp + 0x698]
mov rsi, qword [rsp + 0x670]
mov rdi, qword [rsp + 0x668]
mov r12, qword [rsp + 0x660]
mov r13, qword [rsp + 0x658]
mov r14, qword [rsp + 0x650]
mov r15, qword [rsp + 0x648]
add rsp, 0x678
ret