joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xaa
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x85
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x35
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x27
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x48
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb2
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2e
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x80
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x20
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40564b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402fe6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4057a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4057a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405757
cmp dword [0x40b7e8], ecx
je 0x405757
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405757
test ebx, ebx
je 0x405757
call edi
test eax, eax
je 0x40574e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40574e
test byte [ebp - 8], 1
jne 0x405757
or dword [ebp + 0x10], 0x200000
jmp 0x40578a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40578a
push eax
call esi
test eax, eax
je 0x40578a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40578a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40578a
push eax
call esi
test eax, eax
je 0x40578a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x4057a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4057a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023aa
leave
ret

Function at 0x40895b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
and esi, esi
call fcn.00408974
xor dword [eax], edi
inc eax
and esi, esi
inc ebx
cmp eax, edx
jne fcn.0040895b
ret

Function at 0x438c94
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub ebx, 0x2cee9a37
and ebx, eax
inc ebx
call fcn.00438ccb
and ebx, ebx
or ebx, ebx
inc ebx
xor dword [edx], ecx
and ebx, eax
inc edx
mov ebx, 0x60937eeb
and eax, eax
cmp edx, esi
jne fcn.00438c94
sub eax, eax
or ebx, ebx
sub ebx, 0xbed35f3b
ret
Function at 0x406200
Capabilities:
Encode data using xor
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfffffff5
and bh, bh
or al, 0xa1
push esi
push edi
cmp dword [eax + 4], 1
paddq mm6, qword [edi - 0x47]
add byte [edi], cl
pop eax
mov al, 0x8b
inc ebp
or byte [ebx], dh
leave
mov edx, dword [eax + 4]
mov edi, dword [ebx + 4]
test edx, ebx
mov dword [ebp - 8], edi
jbe 0x406240
mov esi, dword [eax + 0x301c]
and esi, 0xc
cmp ebx, dword [esi]
je 0x40624e
inc ecx
add esi, 0x14
cmp edi, dword [edx + 0x5e5ff4f6]
pop edi
pop esi
mov eax, 0x1117f
pop ebx
pop dword [ebp - 0x4d]
ret 8
mov ebx, ecx
inc ecx
lea esi, [eax]
inc edx
cmp ecx, edx
mov dword [eax + 4], esi
push ds
fsub qword [eax]
sbb al, 0x9b
lea edx, [edx - 0x77]
shl ebx, 2
shl edi, 2
sub al, 0xd1
mov dword [ebp + 8], edi
mov dword [ebp + 0x1c888bfc], ebp
xor byte [eax], al
add byte [ebx + 0x528b0c55], cl
sbb ecx, dword [ebp - 0x44c413cc]
or al, 0x75
cld
cld
mov ecx, dword [eax + 0x301c]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x1b]
lea esi, [esp + ebp*8]
cmp edi, dword [ebx - 0x3038af4]
dec eax
add al, 0x5c
lcall 5, 0xb9e03c8d
add byte [ebx + ebp - 0x5b], cl
mov edi, dword [ebp + 8]
add ebx, 0x14
mov ecx, dword [ebp - 4]
add edi, 0x14
dec ecx
mov dword [ebp + 8], edi
mov dword [eax - 4], ebp
jne 0x40626f
mov esp, dword [edx - 8]
mov edx, dword [eax + 0xc]
xor edi, ecx
test edx, edx
jbe 0x4062e1
loope 0x406325
adc byte [ecx], bh
je 0x4062c4
inc ecx
push eax
mov eax, dword [0x72ca3b04]
hlt
dec edx
pushal
retf 0x1573
mov ebp, dword [edx + 0x10]
adc byte [eax], al
add byte [ebx], dh
leave
imul edx, edx, 0x848d0676
adc al, 0x10
add byte [eax], al
cmp dword [esi], edi
je 0x406301
inc ecx
mov cs, ebp
add al, 0x3b
retf 0xf4d3
dec edx
cmp ecx, edx
jae 0x406321
lea edx, [eax + ecx*4 + 0x23210f9]
mov eax, dword [ebp - 0x4276be8f]
mov esi, dword [eax + 0x1010]
xor edx, eax
out 0x28, eax
cmp edi, esi
jb 0x40630d
dec dword [eax + 0x10cc]
add byte [eax], al
imul edx, dword [eax + 0x2081], 0x33
leave
test edx, edx
mov bl, 0xf5
lea esp, [eax + ebx + 0x390000ed]
je 0x406347
inc ecx
add esi, 4
cmp ecx, edx
jb 0x40636b
jmp 0x40636d
xchg esp, eax
cmp ecx, edx
jae 0x406367
lea edx, [ebx + eax + 0x2018]
mov al, 0x72
add byte [ebp - 0x35], dl
mov byte [eax], bl
xor byte [ebp + 0x75f93b7b], bh
or ecx, esp
leave
jle 0x406382
dec ecx
mov dword [eax + 0x30a2], ecx
or ch, ah
Function at 0x406355
Capabilities:
Get socket status

Disassembly:
invalid
add al, 0x41
cmp byte [edx], dh
jecxz 0x40631e
adc al, 0x5a
add byte [eax], al
adc ebx, 4
jae 0x40639f
into
jb 0x406383
dec dword [eax + 0x55002014]
retf
in al, dx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
nop
push ebp
mov ebp, esp
mov eax, 0xa13020
call fcn.0040b86d
push ebx
jno 0x40640d
or byte [esi + 0x57], dl
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4063ce
mov eax, dword [ebp - 2]
pop edi
pop esi
pop ebx
mov dword [eax], 0xdc0000
xor eax, eax
mov edx, ebx
pop ebp
stosb byte es:[edi], al
adc al, 0xb8
jns 0x406445
mov byte [ebx - 0x9a6f383], cl
mov eax, dword [0x85047cb2]
invalid
jae 0x40641b
lea edi, [ebp - 0x20d6]
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x401
add byte [eax], al
lea esi, [ebx + 0x1010]
lea edi, [ebp + 0x1cffef0b]
lea edx, [ebp - 0x2001018]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xd9000401
push ecx
mov bl, 0x14
and byte [eax], al
add byte [ebp - 0x141f43], cl
dec dword [ebp - 0x20b37b]
push ebx
movsd dword es:[edi], dword [esi]
or byte [ebp + 0x7057cfe0], 0x51
mov ecx, dword [ebx - 0x57ffcfe8]
push edx
inc ecx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_select]
mov edx, dword [ebp - 0x36]
xor edi, edi
mov esp, 0x7d0289c7
xchg ecx, eax
xor eax, sym.imp.WSOCK32.dll_WSAGetLastError
call esi
test eax, eax
pinsrw mm2, word [edi + 1], 0xd3
add bh, bh
salc
pop edi
pop esi
xchg ecx, eax
cmp ah, 0xa
add byte [ebx - 0x75], bl
in eax, 0x3c
ret 0x14
invalid
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x6f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x5f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x63
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x5a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x5c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x66
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x98
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x2a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xba
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf0
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x25
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa1
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x65
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xef
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xe8
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4042bd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
push 0x3ec
push 0x8200
push 0x3ec
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404930
test eax, eax
jne 0x404323
mov ecx, 1
test ecx, ecx
je 0x40430c
mov dword [ebp - 0x38], 0
jmp 0x40431c
push str.Failed_to_create_dialogbar_n
call fcn.00404760
add esp, 4
mov dword [ebp - 0x38], eax
xor eax, eax
jmp 0x4044ca
call fcn.00401af0
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0xc4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x40434b
cmp dword [ebp - 0x14], 0
jne 0x404352
xor eax, eax
jmp 0x4044ca
push 0x104
push 0x41dc3c
call sub.Ufxtwl.dll_Ordinal_170
add esp, 8
push 0x41dc3c
push 0
push 0x41d1e0
push 0x41d1ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x77d], ax
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x90]
push eax
push 0x465
push 0xd16
mov ecx, dword [ebp - 0x34]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call fcn.00401b00
push 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x90]
push edx
push 0x465
push 0xd18
mov ecx, dword [ebp - 0x34]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call fcn.00401b00
push 0xd17
mov ecx, dword [ebp - 0x34]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x1c], eax
push 0x286
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x404409
mov ecx, dword [ebp - 0x28]
call sub.AdbWnfg.dll_Ordinal_192
mov dword [ebp - 0x3c], eax
jmp 0x404410
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4044b2
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x18]
call sub.adbapi.dll_Ordinal_115
test eax, eax
jne 0x404488
push 0xc
mov ecx, dword [ebp - 0x18]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x404480
mov dword [ebp - 0x20], 0
jmp 0x40445b
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 5
jge 0x404480
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 9
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0x215]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004033b0
jmp 0x404452
mov ecx, dword [ebp - 0x18]
call sub.adbapi.dll_Ordinal_104
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x4044ab
push 1
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
call dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x4044b2
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 0x77d]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004033e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x416085
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4160dd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x41a5e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4160d0
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4160df
xor eax, eax
pop esi
leave
ret 4
Function at 0x40a1ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c458]
jne 0x40a1f8
repz ret
jmp fcn.0040cf1b

Function at 0x40a98b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80c458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004084a7
and dword [ebp - 0x14], 0
cmp dword [0x80e9e0], 0
mov dword [ebp - 0x18], eax
jne 0x40aa3e
push 0x4021f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aae6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e4
push ebx
call edi
test eax, eax
je 0x40aae6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4021d4
push ebx
mov dword [0x80e9e0], eax
call edi
push eax
call esi
push 0x4021c0
push ebx
mov dword [0x80e9e4], eax
call edi
push eax
call esi
push 0x4021a4
push ebx
mov dword [0x80e9e8], eax
call edi
push eax
call esi
mov dword [0x80e9f0], eax
test eax, eax
je 0x40aa3e
push 0x40218c
push ebx
call edi
push eax
call esi
mov dword [0x80e9ec], eax
mov eax, dword [0x80e9ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa97
cmp dword [0x80e9f0], ecx
je 0x40aa97
push eax
call esi
push dword [0x80e9f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa97
test ebx, ebx
je 0x40aa97
call edi
test eax, eax
je 0x40aa8e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa8e
test byte [ebp - 8], 1
jne 0x40aa97
or dword [ebp + 0x10], 0x200000
jmp 0x40aaca
mov eax, dword [0x80e9e4]
cmp eax, dword [ebp - 0x18]
je 0x40aaca
push eax
call esi
test eax, eax
je 0x40aaca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aaca
mov eax, dword [0x80e9e8]
cmp eax, dword [ebp - 0x18]
je 0x40aaca
push eax
call esi
test eax, eax
je 0x40aaca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80e9e0]
call esi
test eax, eax
je 0x40aae6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aae8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a1ee
leave
ret
Function at 0x807fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0xb92a90], ax
mov word [0xb92a94], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0xb92a90
mov dword [0xb92a9c], 0x320033
mov dword [0xb92aa4], 0x6c006c
mov word [0xb92a96], cx
mov dword [0xb92a98], 0x6c0065
mov dword [0xb92aa0], 0x64002e
mov word [0xb92a92], dx
mov word [0xb92aa8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0xb92a8c]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0xb92a88], eax
mov eax, dword [0x813adc]
push edx
push eax
mov byte [0x80ed53], 0x65
mov dword [0x80ed49], 0x75747269
mov word [0x80ed4d], 0x6c61
mov byte [0x80ed48], 0x56
mov word [0x80ed54], 0x7463
mov byte [0x80ed56], 0
mov dword [0x80ed4f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x8080c0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x148c
call fcn.0040cef0
cmp dword [0xb92a8c], 0x37
jne 0x808195
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046bc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x48c]
push edx
push 0x4046e8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
push 0x404728
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0
lea ecx, [esp + 0xc8c]
push ecx
push 0
push 0x40473c
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404774
push 0x40478c
push 0x4047a4
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0xb93a80]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x813adc]
mov byte [edx + esi], cl
add esp, 0x148c
ret
Function at 0x808330
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92a8c]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x813adc]
shr eax, 3
push edi
test eax, eax
je 0x8084dc
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x808364
mov esi, dword [esp + 0x18]
cmp dword [0xb92a8c], 0x1c
jne 0x808381
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x80d210]
mov ecx, dword [0x80d214]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [0x80d218]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x80d21c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x8083c5
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0xb929fc], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0xb92a8c], 0x1be
lea ebp, [ebx + edi]
jne 0x80841a
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0xb92a8c], 0x979
mov dword [0xb92a00], 0xff6b3619
mov dword [0xb92a04], 0xffffffff
jne 0x80845a
mov eax, dword [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add ebx, 0x61c88647
dec dword [esp + 0x1c]
jne 0x8083c1
cmp dword [0xb92a8c], 0x8d4
jne 0x80848f
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0xb92a8c], 0x17
jne 0x8084cb
push 0
push 0
push 0
push 0x404690
push 0x4046a4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x808360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret