joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1f]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x5c
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x4d
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
call fcn.00407599
mov esi, eax
call fcn.00407599
lea edi, [eax + 0x2710]
mov dword [ebp - 8], ebx
cmp edi, esi
jbe 0x407532
call fcn.00407599
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
mov al, byte [ebp - 4]
push ebx
add al, 0x30
push 0x80
push 3
mov byte [ebp - 0x17], al
push ebx
push 7
lea eax, [ebp - 0x20]
push 0xc0000000
push eax
call fcn.00402fcb
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x4074fc
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x120
push dword [ebp + 0x10]
push 0x130
push dword [ebp + 0xc]
push 0x860021b0
push esi
call fcn.00403056
add esp, 0x20
test eax, eax
push esi
je 0x4074ea
call fcn.004030f4
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00407fae
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x407523
inc dword [ebp - 8]
push 1
call fcn.0040753c
cmp dword [ebp - 8], 0xa
pop ecx
jg 0x407527
jmp 0x40750e
call fcn.004030f4
pop ecx
call fcn.00406cf9
cmp eax, 0x57
je 0x40752b
jmp 0x40750e
call fcn.00406cf9
cmp eax, 5
jne 0x40750e
push 0x32
call fcn.0040753c
pop ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jb 0x40746b
cmp edi, dword [ebp - 0xc]
jmp 0x407456
xor eax, eax
jmp 0x407537
mov eax, esi
jmp 0x407537
mov eax, 0x753c
jmp 0x407537
mov eax, 0x4f1a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407599
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00402e8b
and byte [ebp - 8], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x43
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xb], 0x75
call fcn.00402eba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4075f9
leave
ret
push esi
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00402e8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x407e8f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
lea eax, [ebp - 0x9c]
mov byte [ebp - 0x20], 0x2a
push eax
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0xf], 0x21
mov byte [ebp - 0x1e], 0xed
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0x1d], 0x5e
mov byte [ebp - 0xd], 0xa4
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0xc], 0x10
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0xb], 0x7e
mov byte [ebp - 0x1a], 0x40
mov byte [ebp - 0xa], 0x51
mov byte [ebp - 0x19], 0x19
mov byte [ebp - 9], 0x22
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 8], 0x25
mov byte [ebp - 0x17], 0x40
mov byte [ebp - 7], 0x11
mov byte [ebp - 0x16], 0xe2
mov byte [ebp - 6], 0x2b
mov byte [ebp - 0x15], 0x51
mov byte [ebp - 5], 0x3c
mov byte [ebp - 0x14], 0xaa
mov byte [ebp - 4], 0x46
mov byte [ebp - 0x13], 0xfa
mov byte [ebp - 3], 0x5e
mov byte [ebp - 0x12], 0xdb
mov byte [ebp - 0x11], 0xcb
call fcn.00405f99
lea eax, [ebp - 0x20]
push 0x1c
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00405fc1
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 8]
call fcn.0040605f
and byte [ebp - 0x27], 0
add esp, 0x18
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x79
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x54
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6d
mov byte [ebp - 0x28], 0x65
call fcn.00402eba
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x44]
push ecx
call eax
mov cx, word [ebp - 0x44]
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dl, ch
mov byte [eax], cl
mov cx, word [ebp - 0x42]
mov byte [eax + 1], dl
xor edx, edx
mov byte [eax + 2], cl
mov dl, ch
mov byte [eax + 3], dl
leave
ret
Function at 0x416abd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x498368]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x49ee18
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458dab
push str.programD_Jg.txt
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458716
push 0x48531c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00459214
add esp, 0x24
test eax, eax
je 0x416b24
push 0x40
push 0x4851a0
push 0x485a1c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004582bc
push esi
push edi
lea eax, [ebp - 0x70]
push eax
mov esi, 0x485a18
push esi
push dword [ebp - 0x6c]
call fcn.00459101
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x70], edi
jle 0x416b7d
mov eax, edi
shl eax, 3
lea ecx, [ebp + eax - 0x1b4]
push ecx
lea ecx, [ebp + eax - 0x394]
push ecx
lea ecx, [ebp + eax - 0x254]
push ecx
lea eax, [ebp + eax - 0x114]
push eax
push str._lf__lf__lf__lf
push dword [ebp - 0x6c]
call fcn.00459101
add esp, 0x18
inc edi
cmp edi, dword [ebp - 0x70]
jl 0x416b42
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0x6c]
call fcn.00459101
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x74], esi
jle 0x416bba
lea eax, [ebp + esi*8 - 0x434]
push eax
lea eax, [ebp + esi*8 - 0x2f4]
push eax
push str._lf__lf
push dword [ebp - 0x6c]
call fcn.00459101
add esp, 0x10
inc esi
cmp esi, dword [ebp - 0x74]
jl 0x416b94
push dword [ebp - 0x6c]
call fcn.00458e83
xor esi, esi
cmp dword [ebp - 0x70], esi
pop ecx
jle 0x416c1b
fld qword [0x49a408]
call fcn.00458a10
mov edi, eax
fld qword [ebp + esi*8 - 0x114]
call fcn.00458a10
cmp edi, eax
je 0x416bef
inc esi
cmp esi, dword [ebp - 0x70]
jl 0x416bd7
jmp 0x416c1b
mov eax, esi
shl eax, 3
fld qword [ebp + eax - 0x254]
fstp qword [0x49a758]
fld qword [ebp + eax - 0x394]
fstp qword [0x49a760]
fld qword [ebp + eax - 0x1b4]
fstp qword [0x49a768]
xor esi, esi
cmp dword [ebp - 0x74], esi
jle 0x416c51
fld qword [ebp + 0x10]
call fcn.00458a10
mov edi, eax
fld qword [ebp + esi*8 - 0x2f4]
call fcn.00458a10
cmp edi, eax
je 0x416c44
inc esi
cmp esi, dword [ebp - 0x74]
jl 0x416c2c
jmp 0x416c51
fld qword [ebp + esi*8 - 0x434]
fstp qword [0x49a7d8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00458348
leave
ret
Function at 0x44939e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x498368]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x49ee18
push edi
push 0x64
pop ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00458dab
push str.programD_Control.txt
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00458716
mov esi, 0x48531c
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00459214
add esp, 0x24
test eax, eax
je 0x449408
push 0x40
push 0x4851a0
push 0x486c6c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004582bc
push 0x49efc4
push 0x49f004
push 0x49efbc
push 0x49efb8
push 0x49f01c
push 0x49f000
push 0x49f014
push str._ld__ld__ld__ld__ld__ld__ld
push dword [ebp - 0x6c]
call fcn.00459101
push 0x49cd28
push 0x49ccb8
push 0x49f018
push str._ld__ld__lf
push dword [ebp - 0x6c]
call fcn.00459101
push 0x49f030
push 0x49f010
push 0x49efc0
push str._ld__ld__d
push dword [ebp - 0x6c]
call fcn.00459101
add esp, 0x4c
push dword [ebp - 0x6c]
call fcn.00458e83
push ebx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00459270
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00458dab
push str.programD_SetCad.txt
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00458716
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00459214
add esp, 0x34
test eax, eax
je 0x4494c7
push 0x40
push 0x4851a0
push 0x486bec
jmp 0x4493f9
push 0x49efd0
push 0x49efe0
push 0x49efc8
mov ebx, str._lf__lf__lf
push ebx
push dword [ebp - 0x6c]
call fcn.00459101
push 0x49f040
push 0x49f038
push 0x49eff8
push ebx
push dword [ebp - 0x6c]
call fcn.00459101
push 0x49efb0
push 0x485258
push dword [ebp - 0x6c]
call fcn.00459101
push dword [ebp - 0x6c]
call fcn.00458e83
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00459270
add esp, 0x44
push edi
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458dab
push str.programD_draw.txt
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458716
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00459214
add esp, 0x24
test eax, eax
pop edi
pop esi
pop ebx
je 0x44956b
push 0x40
push 0x4851a0
push 0x486bb8
jmp 0x4493f9
push 0x49f024
push 0x486bb4
push dword [ebp - 0x6c]
call fcn.00459101
push dword [ebp - 0x6c]
call fcn.00458e83
fldz
fcom qword [0x49efc8]
add esp, 0x10
fnstsw ax
fld qword [0x484e30]
test ah, 5
jp 0x4495a5
fst qword [0x49efd8]
jmp 0x4495af
fxch st(1)
fst qword [0x49efd8]
fxch st(1)
fxch st(1)
fcom qword [0x49efe0]
fnstsw ax
test ah, 5
jp 0x4495c2
fstp st(0)
jmp 0x4495c4
fstp st(1)
mov ecx, dword [ebp - 4]
fstp qword [0x49eff0]
xor ecx, ebp
call fcn.00458348
leave
ret
Function at 0x44fec4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x498368]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x49ee18
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458dab
push str.programD_Color.txt
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.00458716
push 0x48531c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00459214
add esp, 0x24
test eax, eax
je 0x44ff28
push 0x40
push 0x4851a0
push 0x487114
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004582bc
push 0x49f13c
push 0x49f068
push 0x49f138
push str._ld__ld__ld
push dword [ebp - 0x6c]
call fcn.00459101
push dword [ebp - 0x6c]
call fcn.00458e83
fld qword [0x4870f8]
fld qword [0x49a5b8]
add esp, 0x18
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x44ff70
fstp st(0)
fld qword [0x484f40]
jmp 0x44ffcc
fld qword [0x4870e8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x44ff89
fstp st(0)
fld qword [0x484e40]
jmp 0x44ffcc
fld qword [0x4870d8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x44ffa2
fstp st(0)
fld qword [0x485080]
jmp 0x44ffcc
fld qword [0x4870c8]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x44ffbd
fstp st(1)
fstp st(0)
fld qword [0x484d40]
jmp 0x44ffcc
fcompp
fnstsw ax
test ah, 5
jp 0x44ffd2
fld qword [0x484fe0]
fstp qword [0x49a028]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458348
leave
ret
Function at 0x4502ed
Capabilities:
Terminate process

Disassembly:
jmp 0x4502ed
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x140
mov eax, dword [0x498368]
xor eax, ebp
mov dword [ebp + 0x64], eax
fld qword [ebp + 0x78]
push esi
push edi
fstp qword [ebp - 0xd8]
push 0x49ee18
push 0x64
pop edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00458dab
push str.programD_NameSm.txt
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00458716
mov esi, 0x48531c
push esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00459214
add esp, 0x24
test eax, eax
je 0x450366
push 0x40
push 0x486620
push 0x487290
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004582bc
push dword [ebp - 0xd0]
lea eax, [ebp]
push edi
push eax
call fcn.00459faa
lea eax, [ebp]
push eax
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.00458dab
push dword [ebp - 0xd0]
call fcn.00458e83
push esi
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00459214
add esp, 0x28
test eax, eax
je 0x4503bb
push 0x40
push 0x486620
push 0x48724c
jmp 0x450357
push dword [ebp - 0xcc]
lea eax, [ebp]
push edi
push eax
call fcn.00459faa
add esp, 0xc
test eax, eax
je 0x45044a
mov esi, 0x486860
lea eax, [ebp]
push esi
push eax
call fcn.0045a6a0
test eax, eax
pop ecx
pop ecx
jne 0x4503f5
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00458716
add esp, 0xc
fldz
lea eax, [ebp]
push eax
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [0x484f40]
fstp qword [esp + 0x10]
fld qword [ebp - 0xd8]
fstp qword [esp + 8]
fld qword [ebp + 0x70]
fstp qword [esp]
call fcn.004011c2
push dword [ebp - 0xcc]
fld qword [ebp - 0xd8]
fsub qword [0x485080]
lea eax, [ebp]
push edi
push eax
fstp qword [ebp - 0xd8]
call fcn.00459faa
add esp, 0x30
test eax, eax
jne 0x4503d7
push dword [ebp - 0xcc]
call fcn.00458e83
pop ecx
mov ecx, dword [ebp + 0x64]
pop edi
xor ecx, ebp
pop esi
call fcn.00458348
add ebp, 0x68
leave
ret

Function at 0x458348
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498368]
jne 0x458352
repz ret
jmp fcn.0045c58f
Function at 0x4671dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045aa0a
xor ebx, ebx
cmp dword [0x49fb04], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4672b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x46721c
xor eax, eax
jmp 0x467375
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x467215
push eax
call fcn.0045a9a7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49fb04], eax
call esi
push eax
call fcn.0045a9a7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49fb08], eax
call esi
push eax
call fcn.0045a9a7
mov dword [0x49fb0c], eax
lea eax, [ebp - 8]
push eax
call fcn.00457fc7
test eax, eax
pop ecx
pop ecx
je 0x46727f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045b367
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4672b1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045a9a7
cmp eax, ebx
pop ecx
mov dword [0x49fb14], eax
je 0x4672b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045a9a7
pop ecx
mov dword [0x49fb10], eax
mov eax, dword [0x49fb10]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x46732a
cmp dword [0x49fb14], esi
je 0x46732a
push eax
call fcn.0045aa13
pop ecx
call eax
cmp eax, ebx
je 0x4672f7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x49fb14]
call fcn.0045aa13
pop ecx
call eax
test eax, eax
je 0x4672f7
test byte [ebp - 0x18], 1
jne 0x46732a
lea eax, [ebp - 0xc]
push eax
call fcn.00458076
test eax, eax
pop ecx
je 0x467312
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045b367
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x467321
or dword [ebp + 0x10], 0x200000
jmp 0x46735b
or dword [ebp + 0x10], 0x40000
jmp 0x46735b
mov eax, dword [0x49fb08]
cmp eax, esi
je 0x46735b
push eax
call fcn.0045aa13
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46735b
mov eax, dword [0x49fb0c]
cmp eax, esi
je 0x46735b
push dword [ebp - 4]
push eax
call fcn.0045aa13
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x49fb04]
call fcn.0045aa13
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401210
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ecx
mov eax, dword [0x405400]
mov dword [esp], 0
test eax, eax
jbe 0x40127e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push edi
mov edi, 0x4043c0
xor esi, esi
push 0x80
push edi
call ebx
push edi
call ebp
cmp eax, 1
je 0x401261
push 0xbb8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc esi
cmp esi, 3
jle 0x401239
mov eax, dword [esp + 0x10]
mov ecx, dword [0x405400]
inc eax
add edi, 0x104
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x401237
pop edi
pop esi
pop ebp
pop ebx
mov eax, dword [0x405404]
test eax, eax
je 0x401292
push 0x4042bc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ecx
ret

Function at 0x401900
Capabilities:
Get hostname
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0xc], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x401944
lea edx, [esp + 8]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x4041a8
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push ebp
push esi
push edi
push 0x280
call ebx
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
mov dword [esp + 0x10], 0x280
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebp, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
jne 0x401987
push edi
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4019bb
test edi, edi
mov esi, edi
je 0x4019bb
lea edx, [esi + 0x1b0]
push str.0.0.0.0
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4019ce
mov esi, dword [esi]
test esi, esi
jne 0x40199c
push edi
call ebp
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push 0x104
call ebx
mov ebx, eax
mov eax, dword [esi + 0x190]
push ebx
add esi, 0x194
push eax
push esi
call fcn.00401a00
push edi
call ebp
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret

Function at 0x401a60
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push esi
push esi
push 0x4041b4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x401ac7
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, 0x14
call fcn.004020a0
push 0x104
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add esp, 4
mov esi, eax
push ecx
push edx
push str._I64d
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x401ad0
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
push 0x104
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
push 0x4041b8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea eax, [esp + 4]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0x4041b4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x401bc6
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 0x1c
mov al, byte [ecx + edx]
mov byte [esi], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 0x18
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 1], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 0x14
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 2], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 0x10
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 4], 0x2d
mov byte [esi + 3], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 0xc
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 5], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 8
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 6], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
shr ecx, 4
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 7], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404178]
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 9], 0
mov byte [esi + 8], al
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401d40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebx
push esi
jne 0x401d53
pop esi
pop ebx
add esp, 8
ret
push 0
push 0
push 0
push 0
push str.tempapp
mov dword [eax], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
jne 0x401d7c
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x401da5
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push ebp
push edi
push 0x400
mov dword [esp + 0x14], 0
xor esi, esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 4
mov edi, eax
mov edx, 0x400
lea ecx, [esp + 0x10]
sub edx, esi
push ecx
push edx
push eax
push ebx
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401dea
add esi, eax
lea eax, [edi + esi]
mov byte [eax], 0
jmp 0x401dc7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
mov dword [eax], esi
mov dword [ecx], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
xor eax, eax
pop edi
test esi, esi
pop ebp
pop esi
setne al
pop ebx
add esp, 8
ret
Function at 0x4029f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404008
test esi, esi
jne 0x402a2a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040f8
jmp 0x402a48
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402908
mov edi, eax
test esi, esi
je 0x402a48
cmp dword [ebx], 0
je 0x402a48
dec esi
jmp 0x402a31
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x477020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403180
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403160
xor eax, eax
push ebp
push 0x403159
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40319c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403160
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x477020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x477020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x479048], 0
je 0x403eed
cmp word [0x47921c], 0xd7b2
jne 0x403eb5
cmp dword [0x479224], 0
jbe 0x403eb5
mov eax, 0x479218
call dword [0x479234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47706c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x477030], 0
jne 0x403f09
push 0
push 0x477064
push 0x47706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret