joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4781f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
xor eax, eax
push ebp
push 0x478472
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x31c]
mov dl, 1
call fcn.004384d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov dl, 1
call fcn.004384d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x308]
xor edx, edx
call fcn.0042b7e0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xf9c]
xor edx, edx
call fcn.00408dac
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xf98]
xor edx, edx
call fcn.00408dac
mov edx, dword [0x47b7ac]
mov edx, dword [edx]
lea eax, [ebp - 0x180]
mov ecx, 0x478488
call fcn.0040497c
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
call fcn.00402dfc
mov edx, 0x28
lea eax, [ebp - 0x17c]
call fcn.00403244
call fcn.00402894
lea eax, [ebp - 0x17c]
call fcn.0040305c
call fcn.00402894
mov dword [0x47d0e4], eax
mov edi, esi
sub edi, dword [0x47d0e4]
cmp esi, dword [0x47d0e4]
jle 0x47833d
lea eax, [ebp - 0x17c]
call fcn.0040305c
call fcn.00402894
mov edx, eax
lea eax, [ebp - 0x17c]
call fcn.00403260
call fcn.00402894
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [0x47d0e4]
mov ebx, esi
dec ebx
sub ebx, eax
jl 0x47833d
inc ebx
call fcn.0040a650
fstp qword [ebp - 0x10]
wait
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x17c]
call fcn.00403368
call fcn.00402894
dec ebx
jne 0x47831e
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
fild qword [ebp - 0x18c]
fdiv dword [0x478498]
fld xword [0x47849c]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x184]
call fcn.0040a114
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34c]
call fcn.004385e0
mov eax, dword [0x47bb1c]
mov eax, dword [eax]
call fcn.00457af0
mov dword [0x47d0e4], esi
lea eax, [ebp - 0x17c]
call fcn.00402eb8
call fcn.00402894
lea edx, [ebp - 0x190]
mov eax, edi
call fcn.00408c34
lea eax, [ebp - 0x190]
mov edx, 0x4784b0
call fcn.00404938
mov eax, dword [ebp - 0x190]
call fcn.00477bf0
mov eax, dword [ebp + 8]
add eax, 0xfffff058
mov edx, 0x4784cc
call fcn.00404708
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xfa8]
lea eax, [ebp - 0x194]
mov ecx, 0x4784e4
call fcn.0040497c
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x90]
call fcn.0045b07c
mov eax, dword [0x47bb1c]
mov eax, dword [eax]
call fcn.00457af0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.0042b7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478479
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.00404694
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00404694
ret
Function at 0x401400
Capabilities:
Create process on windows

Disassembly:
call fcn.00451c90
push 1
push 0
push 0
push str.debugout.log
call fcn.00430810
add esp, 4
push eax
push str.open
call fcn.004517c0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x403c70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x800
push esi
call fcn.00427d50
mov esi, eax
lea eax, [esp + 4]
push str.http:__
push eax
call fcn.00466da0
mov ecx, dword [esi + 0xc]
add ecx, 0xc
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00466db0
add esp, 0x10
call fcn.00451c90
push 1
push 0
push 0
lea eax, [esp + 0x10]
push eax
push str.open
call fcn.004517c0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.00427d70
add esp, 4
pop esi
add esp, 0x800
ret

Function at 0x403ce0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
push edi
call fcn.00427d50
cmp dword [esp + 0x424], 1
jl 0x403d05
mov esi, dword [eax + 0xc]
add esi, 0xc
mov dword [esp + 0x14], esi
jmp 0x403d11
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
push 0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00467772
add esp, 0x14
test esi, esi
je 0x403d78
cmp byte [esi], 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
je 0x403d88
push esi
lea eax, [esp + 0x24]
push str.a:_s_bin_s_s
push eax
call fcn.00466e90
add esp, 0x14
jmp 0x403d9a
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x20]
push str.a:_bin_s_s
push eax
call fcn.00466e90
add esp, 0x10
mov dword [esp + 0x10], 0
mov ecx, dword [0x4ad278]
mov bl, byte [esp + 0x10]
lea edx, [esp + 0x31c]
mov dword [esp + 0x31c], ecx
add bl, 0x61
push edx
mov byte [esp + 0x320], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
nop
nop
push 1
call ebp
mov edi, eax
lea eax, [esp + 0x18]
push 0x4ad274
push eax
mov byte [esp + 0x20], bl
call fcn.00467119
mov esi, eax
add esp, 8
test esi, esi
je 0x403dfb
push esi
call fcn.00466f32
add esp, 4
push edi
call ebp
test esi, esi
jmp 0x403e6f
push 0
call fcn.00427d70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x4048c0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4c9064
push 0x10
call fcn.004517c0
push eax
call fcn.00421700
add esp, 0xc
test eax, eax
jne 0x404914
or ecx, 0xffffffff
lea edi, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x4c9064
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x4ad3b8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, 0x4c9064
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, 0x4c9064
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x4c9018], 0x4c
call fcn.004517c0
xor ebx, ebx
mov dword [0x4c901c], eax
mov dword [0x4c9020], ebx
mov dword [0x4c9024], 0x4ad2ec
mov dword [0x4c9028], ebx
mov dword [0x4c902c], ebx
mov dword [0x4c9030], ebx
mov dword [0x4c9034], ebx
mov dword [0x4c9038], 0x104
mov dword [0x4c903c], ebx
mov dword [0x4c9040], 0xfe
mov dword [0x4c9044], 0x4c926c
mov dword [0x4c9048], ebx
mov dword [0x4c904c], ebx
mov word [0x4c9050], bx
mov word [0x4c9052], bx
mov dword [0x4c9054], 0x4ad3b4
mov dword [0x4c9058], ebx
mov dword [0x4c905c], ebx
mov dword [0x4c9060], ebx
call fcn.004517c0
mov dword [0x4c901c], eax
mov dword [0x4c9034], 0x4c9064
mov dword [0x4c903c], ebx
mov dword [0x4c9048], 0x4ad3a4
mov dword [0x4c904c], 6
call fcn.00459590
call fcn.00451c70
push 0x4c9018
call sub.comdlg32.dll_GetSaveFileNameA
cmp eax, ebx
mov byte [0x4c9167], bl
jne 0x404a62
call sub.comdlg32.dll_CommDlgExtendedError
test eax, eax
je 0x404a86
push 0x4ad324
jmp 0x404a7e
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x4c9064
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xc0
jb 0x404a86
push 0x4ad30c
call fcn.00451d60
add esp, 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.00459550
call fcn.00426580
pop edi
pop esi
mov eax, 0x4c9064
pop ebx
add esp, 0x104
ret
Function at 0x40f540
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push str._DEBUG:
push eax
call fcn.0046712c
xor esi, esi
add esp, 8
cmp eax, esi
je 0x40f660
add eax, 7
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dl, byte [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0
call fcn.00467719
add esp, 4
cmp eax, esi
mov dword [0x4c9694], eax
je 0x40f660
push 0x40f670
call fcn.0046818c
push 0x40f690
call fcn.004518a0
add esp, 8
call fcn.004517c0
mov ecx, dword [0x4c9694]
cmp ecx, esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
je 0x40f5d6
push esi
push eax
push 0xa000
push ecx
call ebx
push esi
push esi
push 0xa005
mov dword [0x4c9698], esi
call fcn.004517c0
push eax
call ebx
mov eax, dword [0x4c9694]
cmp eax, esi
je 0x40f5fe
push esi
push esi
push 0xa002
push eax
call ebx
cmp dword [0x4c9698], esi
jne 0x40f64f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00451970
test eax, eax
jne 0x40f646
push 1
call edi
mov ecx, esi
inc esi
cmp ecx, 0x2710
jl 0x40f646
push 0x14
call fcn.004517d0
push eax
push 0x4ade30
call fcn.004517c0
push eax
call ebp
cmp eax, 6
jne 0x40f668
xor esi, esi
mov eax, dword [0x4c9698]
test eax, eax
je 0x40f612
push 0
push 0
push 0xa00d
call fcn.004517c0
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.00467da5
nop
mov eax, dword [0x4c9694]
test eax, eax
je 0x40f689
push 0
push 0
push 0xa001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
ret
Function at 0x421700
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x421776
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x42176c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
mov eax, dword [esp]
je 0x421761
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
add esp, 8
ret
mov ecx, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
add esp, 8
ret

Function at 0x426530
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4af5dc], 0xffffffff
jne 0x426571
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 4]
and eax, 1
test ecx, ecx
je 0x426551
test eax, eax
je 0x426555
ret
test eax, eax
je 0x426571
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x14
call esi
push 0
push 2
push 0
push 0x14
call esi
pop esi
ret

Function at 0x4275e0
Capabilities:
Log keystrokes via polling

Disassembly:
call fcn.00427d50
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and eax, ecx
cmp eax, 0x7f
jl 0x4275fc
mov eax, 0x7f
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
push edx
call fcn.00427d70
pop ecx
ret

Function at 0x427640
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
call fcn.00427d50
mov esi, dword [eax + 0xc]
cmp dword [0x4af5dc], 0xffffffff
jne 0x42768f
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
test esi, esi
je 0x427671
test eax, eax
je 0x427675
push 0
call fcn.00427d70
add esp, 4
pop esi
ret
test eax, eax
je 0x42768f
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x14
call esi
push 0
push 2
push 0
push 0x14
call esi
push 0
call fcn.00427d70
add esp, 4
pop esi
ret
Function at 0x428460
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx]
inc ecx
push esi
mov esi, ecx
cmp esi, 0x100
mov dword [edx], ecx
jl 0x428488
push 0x4af5e8
call fcn.00451cb0
add esp, 4
push 0xffffffffffffffff
call fcn.00467da5
xor eax, eax
lea esi, [esi + esi*4]
push edi
shl esi, 4
mov ecx, 0x14
lea edi, [esi + edx + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + edx - 0x20]
add eax, edx
mov dword [eax + 0x30], ecx
mov eax, dword [edx]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + edx + 0x30]
add eax, edx
mov dword [eax + 0x2c], ecx
mov eax, dword [edx]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + edx - 0x28]
add eax, edx
mov dword [eax + 0x28], ecx
mov eax, dword [edx]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + edx - 0x18]
add eax, edx
mov dword [eax + 0x38], ecx
cmp edx, dword [0x5bd668]
pop edi
jne 0x4284fb
mov eax, dword [edx]
lea eax, [eax + eax*4]
shl eax, 4
lea ecx, [eax + edx + 0x28]
mov dword [0x5bd664], ecx
pop esi
ret
Function at 0x428c10
Capabilities:
Create directory

Disassembly:
push ecx
push ebx
push ebp
call fcn.0042e4e0
test eax, eax
jne 0x428e0b
mov eax, dword [str.MajiroSysV1.100]
mov ecx, dword [0x4af654]
mov edx, dword [0x4af658]
mov dword [0x5219f0], eax
mov eax, dword [0x4af65c]
mov dword [0x5219fc], eax
mov eax, dword [0x52b654]
xor ebp, ebp
cmp eax, ebp
mov dword [0x5219f4], ecx
mov dword [0x5219f8], edx
mov dword [0x521a00], eax
je 0x428e0b
push esi
shl eax, 4
push edi
push eax
call fcn.004564a0
mov ebx, eax
mov eax, dword [0x521a00]
add esp, 4
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x10], ebx
jle 0x428ca9
xor ecx, ecx
mov edi, dword [0x54a418]
mov edx, dword [ecx + edi + 4]
cmp edx, 3
jl 0x428ca1
cmp edx, 5
jg 0x428ca1
mov edx, dword [ecx + edi + 0xc]
mov dword [edx + 4], ebp
mov eax, dword [0x521a00]
inc esi
add ecx, 0x10
cmp esi, eax
jl 0x428c81
xor edi, edi
cmp eax, ebp
jle 0x428cd3
xor esi, esi
mov eax, dword [0x54a418]
lea ecx, [esi + eax]
push ecx
lea edx, [esi + ebx]
push edx
call fcn.00428e10
mov eax, dword [0x521a00]
add esp, 8
inc edi
add esi, 0x10
cmp edi, eax
jl 0x428cb1
xor esi, esi
cmp eax, ebp
jle 0x428cf2
mov edi, ebx
push ebp
push edi
call fcn.00428fc0
mov eax, dword [0x521a00]
add esp, 8
inc esi
add edi, 0x10
cmp esi, eax
jl 0x428cdb
xor esi, esi
xor edi, edi
cmp eax, ebp
jle 0x428d14
push 0xffffffffffffffff
push ebx
call fcn.00428fc0
add esi, eax
mov eax, dword [0x521a00]
add esp, 8
inc edi
add ebx, 0x10
cmp edi, eax
jl 0x428cfa
push esi
mov dword [0x521a04], esi
call fcn.004564a0
mov ebp, eax
mov eax, dword [0x521a00]
add esp, 4
xor esi, esi
xor edi, edi
test eax, eax
jle 0x428d53
mov ebx, dword [esp + 0x10]
push esi
lea eax, [esi + ebp]
push eax
push ebx
call fcn.00429080
add esi, eax
mov eax, dword [0x521a00]
add esp, 0xc
inc edi
add ebx, 0x10
cmp edi, eax
jl 0x428d36
push 0
push str.savedata
call fcn.00430810
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x4ad308
push str.savedatamajiro_system.mss
call fcn.00430810
add esp, 4
push eax
call fcn.00467119
mov edi, eax
add esp, 8
test edi, edi
je 0x428deb
push edi
push 1
push 0x9c58
push 0x5219f0
call fcn.00467ed3
mov ecx, dword [0x521a00]
mov ebx, dword [esp + 0x20]
push edi
push 1
shl ecx, 4
push ecx
push ebx
call fcn.00467ed3
push edi
push 1
push esi
push ebp
call fcn.00467ed3
push edi
call fcn.00466f32
mov eax, dword [0x521a00]
add esp, 0x34
xor esi, esi
test eax, eax
jle 0x428def
mov edi, ebx
push edi
call fcn.004276a0
mov eax, dword [0x521a00]
add esp, 4
inc esi
add edi, 0x10
cmp esi, eax
jl 0x428dd3
jmp 0x428def
mov ebx, dword [esp + 0x10]
test ebp, ebp
pop edi
pop esi
je 0x428dfe
push ebp
call fcn.0046728e
add esp, 4
test ebx, ebx
je 0x428e0b
push ebx
call fcn.0046728e
add esp, 4
pop ebp
pop ebx
pop ecx
ret
Function at 0x42a380
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [0x5bd664]
mov ecx, dword [eax + 8]
mov edx, dword [0x5bd668]
mov eax, dword [edx + 0x24]
sub esp, 0x610
push ebx
push ebp
shl ecx, 4
push esi
mov esi, dword [ecx + eax - 0x14]
lea eax, [ecx + eax - 0x10]
mov ecx, dword [eax + 0xc]
push edi
push ecx
push str.savedatamajiro__04d.sav
call fcn.00430810
add esp, 4
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.00466e90
add esp, 0xc
push esi
push str.savedatamajiro__04d.sav
call fcn.00430810
add esp, 4
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00466e90
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [esp + 0x134]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a429
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
lea edx, [esp + 0x18]
push edx
call fcn.004683fc
lea eax, [esp + 0x120]
push 0x4ad274
push eax
call fcn.00467119
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42a4af
lea ecx, [esp + 0x18]
push 0x4ad308
push ecx
call fcn.00467119
mov edi, eax
add esp, 8
test edi, edi
je 0x42a499
push ebx
push 0x400
lea edx, [esp + 0x228]
push 1
push edx
call fcn.004681cd
mov esi, eax
push edi
push esi
lea eax, [esp + 0x238]
push 1
push eax
call fcn.00467ed3
add esp, 0x20
cmp esi, 0x400
je 0x42a466
push ebx
call fcn.00466f32
add esp, 4
test edi, edi
je 0x42a4af
push edi
call fcn.00466f32
add esp, 4
test ebp, ebp
jne 0x42a4e9
push ebp
push 0x80
push 3
push ebp
push ebp
push 0x40000000
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a4e9
lea edx, [esp + 0x10]
push edx
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x5bd664]
mov eax, dword [eax + 8]
mov ecx, dword [0x5bd668]
mov ebp, dword [ecx + 0x24]
shl eax, 4
add eax, ebp
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 8], 3
mov dword [eax + 4], 0
mov eax, dword [0x5bd664]
inc dword [eax + 8]
mov ecx, dword [0x5bd668]
mov esi, dword [0x5bd664]
mov eax, dword [ecx + 0x10]
mov edi, dword [esi + 8]
lea edx, [eax - 8]
cmp edi, edx
pop edi
pop esi
pop ebp
pop ebx
jl 0x42a562
add eax, 0x100
mov dword [ecx + 0x10], eax
mov eax, dword [0x5bd668]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x24]
shl ecx, 4
push ecx
push edx
call fcn.004564d0
mov ecx, dword [0x5bd668]
add esp, 8
mov dword [ecx + 0x24], eax
add esp, 0x610
ret
Function at 0x42f590
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push ebx
xor ebx, ebx
mov dword [esp + 4], 0x3c
mov dword [esp + 8], ebx
call fcn.004517c0
mov dword [esp + 0xc], eax
cmp byte [0x54f728], bl
mov dword [esp + 0x10], str.open
jne 0x42f62e
push str.none
push 0x800
push 0x54f728
push str.HELP_FILE
call fcn.00459c80
push str.none
push 0x54f728
call fcn.004696a0
add esp, 0x18
test eax, eax
jne 0x42f62e
mov eax, dword [0x54cefc]
cmp eax, ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetMenu]
jne 0x42f603
call fcn.004517c0
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
push ebx
push 0x9c5c
push eax
call esi
mov eax, dword [0x54cefc]
cmp eax, ebx
jne 0x42f623
call fcn.004517c0
push eax
call edi
push ebx
push 0x9c6a
push eax
call esi
pop edi
pop esi
push str.none
push 0x54f728
mov dword [esp + 0x1c], 0x54f728
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebx
call fcn.004696a0
add esp, 8
test eax, eax
pop ebx
jne 0x42f665
add esp, 0x3c
ret
call fcn.00451c90
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
add esp, 0x3c
ret

Function at 0x42fc00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x66c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x54a6ac
call fcn.00467772
push 0x54a6ac
lea edx, [esp + 0x288]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x490]
push str._s_sMajiroCompile.exe__f__t__d__txt__s_s
push ecx
call fcn.00466e90
lea edx, [esp + 0x298]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x98]
push str._s_s
push ecx
call fcn.00466e90
or ecx, 0xffffffff
xor eax, eax
add esp, 0x38
lea edi, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + ecx + 0x66]
dec ecx
cmp al, 0x5c
jne 0x42fc92
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x67], bl
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x490]
push edx
push ebx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov word [esp + 0x6c], 0xa
mov word [esp + 0x6e], bx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, ebx
je 0x42fd1f
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x5c]
push ecx
call edi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x66c
ret
Function at 0x42fd30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x66c
push ebx
push esi
mov esi, dword [esp + 0x678]
push edi
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00467772
push esi
lea edx, [esp + 0x288]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x490]
push str._s_sMajiroCompile.exe__f__t__d__txt__s_s
push ecx
call fcn.00466e90
lea edx, [esp + 0x298]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x98]
push str._s_s
push ecx
call fcn.00466e90
or ecx, 0xffffffff
xor eax, eax
add esp, 0x38
lea edi, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42fdcf
or ecx, 0xffffffff
lea edi, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + ecx + 0x66]
dec ecx
cmp al, 0x5c
jne 0x42fdcf
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x67], bl
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x490]
push edx
push ebx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov word [esp + 0x6c], 0xa
mov word [esp + 0x6e], bx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [0x54bbe0], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, ebx
je 0x42fe62
mov eax, dword [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x5c]
push ecx
call esi
cmp dword [0x54bbe0], ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x42fe81
push 0xa
call esi
call fcn.00451970
cmp dword [0x54bbe0], ebx
je 0x42fe70
push 0x64
call esi
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x66c
ret