Function at 0x402d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450fa1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0xb
push str.config.json
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004078a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x402e19
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0042ced0
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x6c]
add eax, edi
push eax
push esi
call fcn.00429ac0
add esp, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x402e51
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403355
push edx
push ecx
call fcn.0042f8f5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042c6b0
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x402e91
mov byte [ebp - 0x65], 0
cmp ecx, 1
jne 0x402e95
mov byte [ebp - 0x65], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x402ed6
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40335a
push edx
push ecx
call fcn.0042f8f5
add esp, 8
cmp byte [ebp - 0x65], 0
je 0x40332e
mov edx, str.config.json_not_found._Creating...
mov ecx, 0x46f2d8
call fcn.00409360
push eax
call fcn.00409950
add esp, 4
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x64], xmm0
movq qword [ebp - 0x54], xmm0
call fcn.00409120
mov edx, str.Enter_DoJa_directory__or_drag_and_drop_:
mov dword [ebp - 4], 3
mov ecx, 0x46f130
call fcn.00409360
push eax
call fcn.00409950
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00409a00
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ecx, 0x10
mov edx, dword [ebp - 0x18]
cmovae eax, esi
mov dword [ebp - 0x6c], edx
cmp byte [eax], 0x22
jne 0x403019
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [edx + eax - 1], 0x22
jne 0x403019
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp edx, 1
jb 0x40335f
lea ecx, [edx - 2]
lea eax, [edx - 1]
cmp eax, ecx
lea ecx, [ebp - 0x84]
sbb eax, eax
add eax, 2
sub edx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
push edx
inc eax
push eax
call fcn.004078a0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405870
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x40300d
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403003
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403364
push edx
push ecx
call fcn.0042f8f5
add esp, 8
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], edx
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 5
test edx, edx
je 0x40305e
cmp ecx, 0x10
lea edi, [ebp - 0x28]
cmovae edi, esi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0042ced0
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x6c]
add eax, edi
push eax
push esi
call fcn.00429ac0
add esp, 0x10
push 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042c6b0
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
cmp edx, 3
jne 0x403369
lea ecx, [ebp - 0x48]
call fcn.0042dce0
push 0xd
mov esi, eax
mov dword [ebp - 0x74], 0
push str._bin_doja.exe
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
call fcn.004078a0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x403101
cmp dword [ebp - 0x70], 0x10
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x84]
cmovae edi, dword [ebp - 0x84]
cmovae esi, dword [ebp - 0x84]
call fcn.0042ced0
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x6c]
add eax, edi
push eax
push esi
call fcn.00429ac0
mov esi, dword [ebp - 0x2c]
add esp, 0x10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x40313c
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403132
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403390
push edx
push ecx
call fcn.0042f8f5
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
test esi, esi
je 0x40315e
push esi
lea ecx, [ebp - 0x48]
call fcn.0042dd30
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042c6b0
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x403349
cmp ecx, 1
je 0x403349
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
sub esp, 8
call fcn.004090d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040cd40
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4031ef
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4031e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403395
push edx
push ecx
call fcn.0042f8f5
add esp, 8
push 0xb
push str.config.json
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
call fcn.004078a0
push 1
mov byte [ebp - 4], 0xa
call fcn.00413a9e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x84]
call fcn.00409ac0
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40325b
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40325b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x403292
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403288
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339a
push edx
push ecx
call fcn.0042f8f5
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4032cc
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339f
push edx
push ecx
call fcn.0042f8f5
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x403314
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40330a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033a4
push edx
push ecx
call fcn.0042f8f5
add esp, 8
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409250
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.0042f609
mov esp, ebp
pop ebp
ret
push fcn.00409950
mov edx, str.DoJa_directory_invalid._Exiting...
jmp 0x403373
call fcn.00436fb4
call fcn.00436fb4
call fcn.00408f40
call fcn.00436fb4
push fcn.00409950
mov edx, str.Not_a_directory._Exiting...
mov ecx, 0x46f2d8
call fcn.00409360
mov ecx, eax
call fcn.00406350
call fcn.00402d40
push 0xffffffffffffffff
call fcn.00434513
call fcn.00436fb4
call fcn.00436fb4
call fcn.00436fb4
call fcn.00436fb4
call fcn.00436fb4
int3