joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409cd0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2c], eax
fild dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fgets]
xor eax, eax
push esi
fstp qword [esp + 0x10]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
jmp 0x409d07
fstp st(0)
push edi
push 0x45f65c
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea eax, [esp + 0x24]
push 0x19
push eax
call ebx
lea ecx, [esp + 0x2c]
add esp, 0x14
push ecx
call dword [sym.imp.MSVCR100.dll_atof]
fld qword [esp + 0x14]
fcomp st(1)
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x409d4d
fild dword [ebp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x409d4d
inc dword [esp + 8]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 9
jg 0x409d73
cmp dword [esp + 8], 0
je 0x409d05
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
call fcn.0045d089
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response__n
fstp st(0)
push 0x45e944
call esi
add esp, 8
cmp dword [0x4a5b3c], 0
je 0x409e06
cmp dword [0x489ad0], 0
je 0x409e06
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x409dd8
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
push edx
push eax
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x409df6
mov ecx, dword [0x489ad0]
push str.__body___html__n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov eax, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push eax
call esi
mov ecx, dword [0x4899d8]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802bc]
add esp, 4
push edx
call esi
mov eax, dword [0x4802cc]
add esp, 4
push eax
call esi
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x409e88
call fcn.00409900
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x409ea0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
test edi, edi
jne 0x409eb3
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x409fdf
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], esi
je 0x409f54
cmp dword [0x489ad0], esi
je 0x409f54
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x409f27
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [0x489ad0]
add esp, 4
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x409f45
mov edx, dword [0x489ad0]
push str.__body___html__n
push edx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x409fd7
call fcn.00409900
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a000
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], 0
je 0x40a097
cmp dword [0x489ad0], 0
je 0x40a097
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40a06a
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [0x489ad0]
add esp, 4
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x40a088
mov edx, dword [0x489ad0]
push str.__body___html__n
push edx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x40a11a
call fcn.00409900
push 3
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x40a1a0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fclose]
push esi
push edi
mov esi, 0x4a5da4
xor edi, edi
cmp dword [esi + 4], edi
je 0x40a1f7
mov eax, dword [esi - 4]
push eax
call ebx
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], edi
mov dword [esi - 4], edi
cmp eax, edi
je 0x40a1f7
push edi
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
jne 0x40a1f7
mov ecx, dword [esi]
push ecx
call dword [sym.imp.MSVCR100.dll_remove]
mov eax, dword [esi]
add esp, 4
cmp eax, edi
je 0x40a1f5
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [esi], edi
add esi, 0xc
cmp esi, 0x4a5ffc
jl 0x40a1b0
pop edi
pop esi
pop ebx
ret
Function at 0x40a750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x48
lea eax, [ebp - 0x58]
push 0x24
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
mov ecx, dword [0x468ec0]
lea ebx, [esi*8]
sub ebx, esi
add ebx, ebx
push 0
add ebx, ebx
push 0
add ebx, ebx
mov esi, dword [ebx + ecx]
push 0
push esi
mov byte [ebp - 0x10], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x64], 0
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push esi
push 1
lea edx, [ebp - 0x59]
push 1
push edx
call edi
push esi
push 1
lea eax, [ebp - 0x59]
push 1
push eax
call edi
push esi
push 1
lea ecx, [ebp - 0x64]
push 2
push ecx
call edi
add esp, 0x4c
push esi
push 1
lea edx, [ebp - 0x68]
push 2
push edx
call edi
push esi
push 1
lea eax, [ebp - 0x60]
push 2
push eax
call edi
push esi
push 1
lea ecx, [ebp - 0x59]
push 1
push ecx
call edi
add esp, 0x30
cmp word [ebp - 0x60], 0
jg 0x40a85d
push 0x48
lea edx, [ebp - 0x58]
push edx
push 0x472ac1
mov byte [0x472ac1], 0
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40a844
lea ecx, [ecx]
push esi
push 1
push 0x4a
push 0x472ac0
call edi
push 0x48
lea eax, [ebp - 0x58]
push eax
push 0x472ac1
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x1c
test eax, eax
jne 0x40a820
push esi
push 1
lea ecx, [ebp - 0x59]
push 1
push ecx
call edi
push esi
push 1
lea edx, [ebp - 0x64]
push 2
push edx
call edi
add esp, 0x20
mov ecx, dword [ebp - 0x64]
test cx, cx
je 0x40a869
xor eax, eax
jmp 0x40a86c
mov eax, dword [ebp - 0x6c]
mov edx, dword [0x468ec0]
movsx ecx, cx
mov dword [ebx + edx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d089
mov esp, ebp
pop ebp
ret
Function at 0x40b3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x104], esi
cmp dword [ebp + 8], ebx
jle 0x40b508
lea edi, [eax + 0x14]
mov eax, dword [0x4a5ffc]
test eax, eax
je 0x40b43d
push esi
push 1
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x40b57e
movzx ecx, word [ebp - 0xf0]
mov esi, dword [sym.imp.MSVCR100.dll__swab]
push 2
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 0xf8], ecx
call esi
mov cx, word [ebp - 0xfc]
movzx edx, word [ebp - 0xec]
push 2
lea eax, [ebp - 0x100]
mov word [edi - 0x14], cx
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov dword [ebp - 0xf8], edx
call esi
mov al, byte [ebp - 0x99]
mov cl, byte [ebp - 0x9a]
mov dx, word [ebp - 0x100]
mov byte [ebp - 0xf4], al
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 0xf3], cl
push 8
lea ecx, [ebp - 0xe8]
mov byte [ebp - 0xf2], ah
mov byte [ebp - 0xf1], al
mov word [edi - 0x12], dx
mov edx, dword [ebp - 0xf4]
push ecx
xor eax, eax
lea esi, [edi - 0xe]
push esi
mov dword [edi], edx
mov word [edi - 0x10], ax
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0x24
mov eax, 8
call fcn.00409670
mov esi, dword [ebp - 0x104]
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp + 8]
jl 0x40b417
mov edi, dword [ebp - 0x108]
mov edx, dword [0x4a5ffc]
imul edx, dword [ebp + 8]
push 0
push 0x50
push 0
push edx
call fcn.0045d8c0
mov ecx, eax
or ecx, edx
je 0x40b534
mov ecx, 0x50
sub ecx, eax
mov eax, 0
sbb eax, edx
jmp 0x40b538
xor ecx, ecx
xor eax, eax
push 1
push eax
push ecx
push esi
call dword [sym.imp.MSVCR100.dll__fseeki64]
push esi
push 1
lea edx, [ebp - 0x60]
push 0x50
push edx
call dword [sym.imp.MSVCR100.dll_fread]
push 0x17
lea eax, [ebp - 0x60]
push str.HEADER_RECORDOBS
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x2c
test eax, eax
je 0x40b591
push str.SAS_transport
push edi
push str.The_level__d_file_does_not_seem_to_be_a__s_file__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d089
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [edi*8 + 0x468aa0], eax
mov dword [edi*8 + 0x468aa4], edx
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0045d089
mov esp, ebp
pop ebp
ret
Function at 0x40b780
Capabilities:
Delete file
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea edx, [ebp - 0x110]
push esi
mov eax, edi
sub edx, edi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40b7a0
lea eax, [ebp - 0x110]
push str..ssp
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40b8cd
mov ecx, dword [str..ssd]
mov dword [ebx], ecx
mov dl, byte [0x45f904]
lea eax, [ebp - 0x110]
push 0
push eax
mov byte [ebx + 4], dl
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
jne 0x40b8cd
mov esi, dword [sym.imp.MSVCR100.dll_printf]
lea ecx, [ebp - 0x110]
push ecx
push edi
push str.I_dont_see__s__but_I_do_see__s._n
call esi
add esp, 0xc
push str.Would_you_like_me_to_convert_it_to_a_transport_file_
call fcn.00409940
add esp, 4
test eax, eax
je 0x40b8cd
push str.Give_me_a_moment_to_run_the_SAS_job..._n
call esi
add esp, 4
push 0x45f98c
push str.xyzzy.sas
call dword [sym.imp.MSVCR100.dll_fopen]
push edi
mov esi, eax
push str.libname_tranfile_sasv5xpt_.__s__nlibname_fileout__.___n
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x14
lea edx, [ebp - 0x110]
push edx
push str.proc_copy_infileout_outtranfile__nselect__s__nrun__n
push esi
mov byte [ebx], 0
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
push str.sas_xyzzy.sas
call dword [sym.imp.MSVCR100.dll_system]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
push str.xyzzy.sas
call esi
add esp, 4
test edi, edi
je 0x40b8cd
push 0
push edi
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
jne 0x40b8cd
push edi
push str.Please_keep__s_around_if_you_want_to_do_a_non_linear_run._n
call dword [sym.imp.MSVCR100.dll_printf]
push str.xyzzy.log
call esi
add esp, 0xc
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d089
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045d089
mov esp, ebp
pop ebp
ret
Function at 0x40b8e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
push esi
mov esi, ecx
mov ecx, dword [0x468ec0]
lea eax, [esi*8]
sub eax, esi
add eax, eax
push edi
add eax, eax
add eax, eax
mov edi, dword [eax + ecx]
mov dword [ebp - 0x4c], esi
lea esi, [esi + esi*4]
push edi
add esi, esi
push 1
add esi, esi
lea edx, [ebp - 0x44]
push 4
add esi, esi
push edx
mov dword [ebp - 0x50], eax
mov dword [esi + 0x469010], 8
call ebx
push 4
lea eax, [ebp - 0x44]
push str._FL2
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0x1c
test eax, eax
je 0x40b97a
mov esi, dword [ebp - 0x4c]
push str.SPSS
lea ecx, [esi + 1]
push ecx
push str.The_level__d_file_does_not_seem_to_be_a__s_file__n
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esi*4 + 0x4695d0]
add esp, 0xc
mov ebx, 1
call fcn.004016c0
push 1
push 0
push 0x3c
push edi
call dword [sym.imp.MSVCR100.dll__fseeki64]
push edi
push 1
lea edx, [ebp - 0x48]
push 4
push edx
call ebx
add esp, 0x20
cmp dword [ebp - 0x48], 3
ja 0x40ba3c
push edi
push 1
lea eax, [ebp - 0x48]
push 4
push eax
call ebx
mov ecx, dword [ebp - 0x48]
push edi
push 1
lea edx, [ebp - 0x48]
push 4
push edx
mov dword [esi + 0x469000], ecx
call ebx
mov eax, dword [ebp - 0x48]
push edi
push 1
lea ecx, [ebp - 0x48]
push 4
push ecx
mov dword [esi + 0x469004], eax
call ebx
mov edx, dword [ebp - 0x48]
push edi
push 1
lea eax, [ebp - 0x48]
push 4
push eax
mov dword [esi + 0x469008], edx
call ebx
mov ecx, dword [ebp - 0x48]
add esp, 0x40
push edi
push 1
lea edx, [ebp - 0x58]
push 8
push edx
mov dword [esi + 0x46900c], ecx
call ebx
fld qword [ebp - 0x58]
push 1
fstp qword [esi + 0x469018]
push 0
push 0x54
push edi
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov eax, dword [esi + 0x469000]
mov ecx, dword [0x468ec0]
mov edx, dword [ebp - 0x50]
add esp, 0x20
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045d089
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x4c]
push str.SPSS
lea eax, [esi + 1]
push eax
jmp 0x40b95b
Function at 0x44e6d0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, eax
xor eax, eax
push edi
test edx, edx
jle 0x44e6f4
lea ecx, [esi + 0x48]
cmp byte [ecx], 0
je 0x44e844
inc eax
add ecx, 0x4c
cmp eax, edx
jl 0x44e6e3
push str.Model_is_too_big_for_the_program__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], 0
je 0x44e784
cmp dword [0x489ad0], 0
je 0x44e784
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x44e756
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
push edx
push eax
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x44e774
mov ecx, dword [0x489ad0]
push str.__body___html__n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov eax, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push eax
call esi
mov ecx, dword [0x4899d8]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802bc]
add esp, 4
push edx
call esi
mov eax, dword [0x4802cc]
add esp, 4
push eax
call esi
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x44e83c
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x44e820
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, eax
imul ecx, ecx, 0x4c
pop edi
mov byte [ecx + esi + 0x48], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44e860
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x489ac8]
push ebx
push esi
push edi
inc eax
xor edi, edi
test eax, eax
jle 0x44e8a8
mov ebx, dword [sym.imp.MSVCR100.dll__strnicmp]
xor esi, esi
mov edi, edi
mov ecx, dword [0x489aa4]
push 5
lea edx, [esi + ecx]
push str.THOLD
push edx
call ebx
add esp, 0xc
test eax, eax
je 0x44e8af
mov eax, dword [0x489ac8]
inc edi
inc eax
add esi, 0xd
cmp edi, eax
jl 0x44e880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Variable_names_starting_with_THOLD_are_reserved_for_ordinal_runs_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], 0
je 0x44e93f
cmp dword [0x489ad0], 0
je 0x44e93f
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x44e912
mov ecx, dword [0x489ad0]
push ecx
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
push edx
mov edx, dword [0x489ad0]
push eax
push edx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x44e92f
mov eax, dword [0x489ad0]
push str.__body___html__n
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov ecx, dword [0x489ad0]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
mov eax, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push eax
call esi
mov ecx, dword [0x4899d8]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802bc]
add esp, 4
push edx
call esi
mov eax, dword [0x4802cc]
add esp, 4
push eax
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x44e9c1
call fcn.00409900
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x45d089
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x45d093
repz ret
jmp fcn.0045d330
Function at 0x4056c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x477e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046cd8e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405742
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046aca0
mov eax, dword [eax]
push 0x492c38
push eax
call fcn.0045d9b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046d019
test bl, bl
je 0x405742
push 0x492c38
lea ecx, [esp + 0xc]
call fcn.0046d3a9
push 0x492c44
lea ecx, [esp + 0xc]
call fcn.0046d3a9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40577e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046d019
jmp 0x405849
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405802
lea edx, [esp + 0x7c]
push 0x492c40
push edx
call fcn.0045d9b4
add esp, 8
test eax, eax
je 0x405802
lea eax, [esp + 0x7c]
push 0x492c3c
push eax
call fcn.0045d9b4
add esp, 8
test eax, eax
je 0x405802
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405792
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046d019
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406050
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4060b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc