Function at 0x10018e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c7a8
mov eax, dword fs:[0]
push eax
mov eax, 0x1a14
call fcn.1012a7a0
mov eax, dword [0x101e26c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1a00]
push eax
mov esi, ecx
call sym.PM3J.dll__PM3J_GETFLRLOAD_HORI_4
push 0
call fcn.1001ffb0
mov ecx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
add esp, 4
xor eax, eax
mov dword [esi + 0x12d110], ecx
test ecx, ecx
jle 0x10018f95
xor ebx, ebx
lea edi, [esi + 0x12d118]
lea ecx, [ecx]
inc eax
mov dword [ebp - 0x1a08], eax
mov dword [ebp - 0x1a04], eax
lea eax, [ebp - 0x1a20]
push eax
lea ecx, [ebp - 0x1a04]
push ecx
call fcn.1002bf60
fstp dword [ebp - 0x1a04]
fld dword [ebp - 0x1a04]
fst dword [edi - 4]
mov edx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov eax, dword [edx + 0x30]
movsx ecx, word [eax + ebx + 4]
mov dword [ebp - 0x1a04], ecx
fild dword [ebp - 0x1a04]
fstp dword [edi]
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x10018f03
mov edx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov eax, dword [edx + 0x30]
movsx ecx, word [eax + ebx + 2]
mov dword [ebp - 0x1a04], ecx
fild dword [ebp - 0x1a04]
fstp dword [edi - 4]
mov ecx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov edx, dword [ecx + 0x30]
movsx eax, word [ebx + edx]
lea edx, [eax - 0x15]
cmp edx, 2
ja 0x10018f3b
mov eax, dword [ecx + 0x30]
movsx ecx, word [eax + ebx + 0x12]
movsx edx, word [eax + ebx + 4]
add ecx, edx
mov dword [ebp - 0x1a04], ecx
fild dword [ebp - 0x1a04]
fmul qword [0x1018c9f0]
jmp 0x10018f46
cmp eax, 1
jle 0x10018f48
fld dword [ebp - 0x1a20]
fstp dword [edi]
mov eax, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov ecx, dword [eax + 0x30]
mov edx, 0x3e8
cmp word [ecx + ebx + 0xe], dx
jne 0x10018f7d
fld dword [0x1018d3f0]
fcomp dword [edi]
fnstsw ax
test ah, 1
jne 0x10018f73
fld dword [0x1018c2ac]
fstp dword [edi]
fld dword [edi]
fmul qword [0x1018c9e8]
fstp dword [edi]
mov eax, dword [ebp - 0x1a08]
add edi, 8
add ebx, 0x28
cmp eax, dword [esi + 0x12d110]
jl 0x10018e90
xor ebx, ebx
cmp dword [esi + 0x184f90], ebx
jne 0x10018fbc
push ebx
push str.pm3j_perflr_top.pm
call fcn.10129d3b
add esp, 8
test eax, eax
jne 0x10018fbc
push str.pm3j_perflr_top.pm
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.10012920
push 0x1018d360
mov ecx, esi
call fcn.10013140
mov ecx, esi
call fcn.1000ea20
call fcn.1002a570
mov eax, dword [0x101e5eb8]
push eax
push str.ID_3J_NODEMAP
call fcn.1001f3b0
push eax
lea ecx, [ebp - 0x60]
push 0x50
push ecx
call fcn.1012a739
push 0x50
lea edx, [ebp - 0x60]
push edx
push 2
call fcn.1001ffd0
add esp, 0x20
push str.GenNodeMap
mov ecx, esi
call fcn.10013140
mov ecx, esi
call fcn.10010b50
push str.GenNodeMap
mov ecx, esi
call fcn.10013170
push 0xa
call fcn.1001ffb0
mov eax, dword [0x101e5eb8]
push eax
push str.ID_3J_LOAD3N
call fcn.1001f3b0
push eax
lea ecx, [ebp - 0x60]
push 0x50
push ecx
call fcn.1012a739
push 0x50
lea edx, [ebp - 0x60]
push edx
push 2
call fcn.1001ffd0
add esp, 0x24
push str.InitMDLoad
mov ecx, esi
call fcn.10013140
mov ecx, esi
call fcn.10013350
push str.InitMDLoad
mov ecx, esi
call fcn.10013170
push 0x14
call fcn.1001ffb0
mov eax, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov ecx, dword [eax + 0x16c]
mov edx, dword [ecx]
add esp, 4
push edx
lea ecx, [esi + 0x184fc0]
call fcn.1001a6d0
mov ecx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov edx, dword [ecx + 0x16c]
xor eax, eax
cmp dword [edx], ebx
jle 0x100190ca
lea ecx, [ecx]
mov ecx, dword [esi + 0x184fc0]
mov dword [ecx + eax*4], ebx
mov edx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov ecx, dword [edx + 0x16c]
inc eax
cmp eax, dword [ecx]
jl 0x100190b0
mov dword [esi + 0x184f84], 0x14
cmp dword [esi + 0x184f8c], ebx
je 0x100191eb
push ebx
push str.dat2.box
lea ecx, [ebp - 0x1a1c]
call fcn.1004538c
cmp dword [ebp - 0x1a18], 0
mov dword [ebp - 4], ebx
je 0x100191b4
mov edx, dword [ebp - 0x1a1c]
mov eax, dword [edx + 0x2c]
push 2
push 0
push 0
lea ecx, [ebp - 0x1a1c]
call eax
mov edx, dword [ebp - 0x1a1c]
push 0
push 0
mov dword [ebp - 0x1a04], eax
mov eax, dword [edx + 0x2c]
push 0
lea ecx, [ebp - 0x1a1c]
call eax
lea edi, [ebp - 0x240]
jmp 0x10019140
push 4
push edi
lea ecx, [ebp - 0x1a1c]
call fcn.100449a8
push 4
lea ecx, [ebp - 0x1a08]
push ecx
lea ecx, [ebp - 0x1a1c]
inc ebx
add edi, 4
call fcn.100449a8
push 1
push 0
push 0x68
lea ecx, [ebp - 0x1a1c]
call fcn.10044a37
mov edx, dword [ebp - 0x1a08]
imul edx, edx, 0x70
push 1
push 0
push edx
lea ecx, [ebp - 0x1a1c]
call fcn.10044a37
lea ecx, [ebp - 0x1a1c]
call fcn.10044a8a
cmp eax, dword [ebp - 0x1a04]
jne 0x10019140
xor eax, eax
cmp edx, eax
jne 0x10019140
lea ecx, [ebp - 0x1a1c]
call fcn.10044c4e
xor edi, edi
test ebx, ebx
jle 0x100191d4
lea ebx, [ebx]
mov eax, dword [ebp + edi*4 - 0x240]
push eax
mov ecx, esi
call fcn.10014a40
inc edi
cmp edi, ebx
jl 0x100191c0
lea ecx, [ebp - 0x1a1c]
mov dword [ebp - 4], 0xffffffff
call fcn.10044de3
jmp 0x100192b7
cmp dword [esi + 0x184f90], ebx
je 0x10019232
mov ecx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov edx, dword [ecx + 0x16c]
xor eax, eax
cmp dword [edx], ebx
jle 0x100192b7
lea esp, [esp]
lea edi, [eax + 1]
push edi
mov ecx, esi
call fcn.10014a40
mov ecx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov edx, dword [ecx + 0x16c]
mov eax, edi
cmp eax, dword [edx]
jl 0x10019210
jmp 0x100192b7
push 0x17c0
push ebx
push 0x101e6e90
call fcn.10129410
push 0x2f8
push ebx
push 0x101e8650
call fcn.10129410
mov eax, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov ecx, dword [eax + 0x16c]
add esp, 0x18
cmp dword [ecx], ebx
jle 0x100192b7
mov ebx, dword [sym.imp.PmsrwData.dll__IGETUPDOWNZRC_12]
mov edi, 1
nop
lea edx, [ebp - 0x1a08]
push edx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x1a04]
push ecx
mov dword [ebp - 0x1a08], 2
mov dword [ebp - 0x1a04], edi
call ebx
test eax, eax
jne 0x100192a3
push edi
mov ecx, esi
call fcn.10014a40
mov edx, dword [sym.imp.PmsrwData.dll_class_CStruct4Ref_gr]
mov eax, dword [edx + 0x16c]
inc edi
lea ecx, [edi - 1]
cmp ecx, dword [eax]
jl 0x10019270
push str.SaveResultFile
mov ecx, esi
call fcn.10013140
cmp dword [esi + 0x184f8c], 0
mov ecx, esi
je 0x100192d5
call fcn.10014690
jmp 0x100192f1
cmp dword [esi + 0x184f90], 0
je 0x100192e5
call fcn.100104b0
jmp 0x100192f1
call fcn.100116e0
mov ecx, esi
call fcn.1000e670
push str.SaveResultFile
mov ecx, esi
call fcn.10013170
push 0x1018d360
mov ecx, esi
call fcn.10013170
mov ecx, esi
call fcn.100131b0
mov edx, dword [0x101e5eb8]
push edx
push str.ID_3J_ENDDERIV
call fcn.1001f3b0
push eax
lea eax, [ebp - 0x60]
push 0x50
push eax
call fcn.1012a739
push 0x50
lea ecx, [ebp - 0x60]
push ecx
push 2
call fcn.1001ffd0
push 0xffffffffffffffff
call fcn.1001ffb0
add esp, 0x24
call fcn.1002a780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128fd0
mov esp, ebp
pop ebp
ret