joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54ca40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x54ca72
push esi
call fcn.0056a480
add esp, 4
cmp byte [esi + 0x40], 0
je 0x54ca6b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x54cafe
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x54cae8
nop dword [eax]
mov eax, dword [esi + 8]
test eax, eax
je 0x54ca9f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x54cae2
cmp eax, 2
je 0x54cae8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54ca90
cmp eax, 3
je 0x54cac7
cmp eax, 1
jne 0x54ca90
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x54ca90
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x54ca90
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0054cb30
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x54cb20
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.0054cb30
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x54cb30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x54cb5e
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
je 0x54cbe2
lea ebx, [esi + 0x78]
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x54cbb6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54cb95
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x184]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x54cbf9
cmp eax, dword [esi + 0x60]
jb 0x54cb77
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
jne 0x54cb70
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x54f140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx]
cmp dword [edx + 4], 0
je 0x54f15f
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x54f15f
mov eax, dword [ecx + 0x10]
mov dword [edx + 8], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.00525a5d
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x54f196
mov dword [ecx], vtable.Run.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x54f198
xor ecx, ecx
test ecx, ecx
jne 0x54f159
push str.Could_not_allocate_memory_
push 0x1297040
call fcn.004342ce
push eax
call fcn.0046a3cf
add esp, 0xc
push 0xffffffffffffffff
call fcn.005c45cb
int3
Function at 0x573e20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x2c]
nop dword [eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp + 8], edx
cmp dword [edi + 0x6c], eax
jb 0x573eaf
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.005b98c0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x573e7f
sub eax, esi
jmp 0x573e81
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x573e70
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x573ea0
sub eax, esi
jmp 0x573ea2
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x573e91
mov edx, dword [ebp + 8]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x573f64
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x573edc
xor eax, eax
jmp 0x573f28
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x573ef9
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.00591a10
jmp 0x573f09
cmp eax, 2
jne 0x573f12
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.00578490
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 0x30], eax
push ecx
push dword [ebx]
push dword [ebp - 4]
call fcn.005b98c0
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x573f50
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x573f64
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x573e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x578490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x57849c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.005784b0
Function at 0x58d370
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [ebp - 0x18], esi
jne 0x58d396
mov eax, 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x58d39b
xor eax, eax
mov byte [esi + 0x1c], al
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
add eax, 0x100
push eax
push 1
mov eax, dword [ecx + 8]
push edi
call eax
xor ebx, ebx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], ebx
cmp dword [edi + 0x64], ebx
jle 0x58d4a9
nop dword [eax]
mov ecx, dword [esi + ebx*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
je 0x58d3ed
mov eax, dword [esi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [esi + 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ecx + 0xfe]
lea ecx, [ecx*2 - 2]
cdq
idiv ecx
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov edx, eax
xor esi, esi
nop dword [eax]
cmp esi, edx
jle 0x58d445
mov ecx, dword [ebp - 0x10]
imul eax, ebx, 0x1fe
lea edi, [ecx*2 - 2]
add ecx, 0xfe
add ecx, eax
nop dword [eax]
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x58d430
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov byte [esi + edi], cl
inc esi
cmp esi, 0xff
jle 0x58d410
cmp dword [ebp - 4], 0
je 0x58d490
mov ecx, 1
lea edx, [edi - 1]
nop dword [eax + eax]
movzx eax, byte [edi]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [edi + 0xff]
mov byte [edi + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x58d470
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [eax + 0x64]
mov eax, dword [ebp - 0xc]
jl 0x58d3d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x591ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 0
jne 0x592062
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.005904f7
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.005904f7
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.00590458
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x59245f
cmp dword [ebp - 0x6fc], 1
jne 0x592113
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
invalid
invalid
Function at 0x5a64b2
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x646fde
call fcn.005b83bf
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x5a65cf
cmp byte [ebx + 0x3e], 0
je 0x5a65cf
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.005267d5
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x5a64fe
xor al, al
jmp 0x5a65d1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004b559c
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x5a652e
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.005267d5
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x5a6563
sub eax, 1
je 0x5a6567
dec eax
sub eax, 1
je 0x5a65bd
xor bl, bl
jmp 0x5a65bf
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x5a6577
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x5a659f
cmp eax, 0x10
jae 0x5a6586
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.005d0fda
add esp, 0x10
cmp esi, eax
jne 0x5a655f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x5a65bd
test esi, esi
jne 0x5a6522
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041d6ba
jmp 0x5a651c
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041c156
mov al, bl
jmp 0x5a65d1
mov al, 1
call fcn.005b8369
ret

Function at 0x5de84c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005de50c

Function at 0x5dedd6
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005decdb

Function at 0x5e3813
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e34d6

Function at 0x5e381e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e3657
Function at 0x5f25e5
Capabilities:
Print debug messages

Disassembly:
push 0xa0
mov eax, 0x6484d2
call fcn.005b83bf
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa0]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0
push 0
push 0x2ae
push str.NGDeviceModel::CScanDataAdaptorEscl::GetPreScanInfoEscl
push 0x12982a0
push dword [0x12989d0]
mov dword [ebp - 0xa8], eax
call fcn.0041f881
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [esi], eax
mov dword [edi + 4], eax
push dword [0x129d18c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], eax
call fcn.0041b35f
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x30]
lea edx, [ebp - 0xa4]
push 0
push edx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0
call fcn.00416b1a
cmp dword [ebp - 0x98], 0
jl 0x5f2780
push esi
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0xa8]
call fcn.0041b3b8
push dword [ebp - 0xa4]
mov ecx, ebx
call fcn.005f09f6
mov dword [ebp - 0x98], eax
test eax, eax
js 0x5f274a
push 7
push 6
push 5
push 4
push 3
push 2
push 1
push dword [esi]
lea eax, [ebp - 0xa0]
push str.CScanDataAdaptorEscl::_GetPreScanInfoEscl:_eJobState___d___d:Aborted___d:Cancelled___d:Completed___d:Pending___d__PendingHeld___d:Processing___d:ProcessingStopped
push 0x2bf
push 0x11
push eax
call fcn.0041fc07
add esp, 0x30
cmp dword [esi], 6
jne 0x5f271c
lea ecx, [ebp - 0x24]
call fcn.00603f3b
push edi
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00604291
push str._n_CFWJobRecEscl::EFJS_Processing
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00603f9d
jmp 0x5f2769
cmp dword [esi], 4
jne 0x5f2728
push str._n_CFWJobRecEscl::EFJS_Pending
jmp 0x5f2732
cmp dword [esi], 5
jne 0x5f273a
push str._n_CFWJobRecEscl::EFJS_PendingHeld
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x5f2769
push dword [esi]
push str.GetPreScanInfoEscl:_JobState___d__5:canceled__6:completed
push 0x2d2
push 0x11
jmp 0x5f275a
push eax
push str.GetPreScanInfoEscl:_EvaluateJobState_failed__HR_0x_08x
push 0x2d7
push 0x80
lea eax, [ebp - 0xa0]
push eax
call fcn.0041fc07
add esp, 0x14
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
jmp 0x5f27a4
push dword [ebp - 0x98]
lea eax, [ebp - 0xa0]
push str.GetPreScanInfoEscl:_m_pIXmlDocumentCache__GetDocument_failed__HR_0x_08x
push 0x2dd
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0xa0]
call fcn.0041f95a
mov eax, esi
call fcn.005b8369
ret 0x10
Function at 0x401350
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4604eb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478424]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
xor ebx, ebx
mov esi, vtable.CBaseFile.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0xa4], ebx
cmp dword [ebp + 0x18], 0x10
jb 0x4013b7
mov eax, dword [ebp + 4]
jmp 0x4013ba
lea eax, [ebp + 4]
push 0x11
push eax
lea ecx, [esp + 0x24]
call fcn.004113c0
cmp al, bl
mov byte [esp + 0x1b], al
jne 0x4013ea
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x1c], esi
je 0x4013e3
push eax
call fcn.00446c68
add esp, 4
xor al, al
jmp 0x40151e
push 0x2d000
call fcn.0042a2f4
add esp, 4
cmp byte [esp + 0x20], bl
mov edi, eax
mov eax, dword [esp + 0x24]
je 0x40142d
cmp eax, ebx
je 0x40142d
push eax
push 0x2d000
push 1
push edi
call fcn.004466bc
mov esi, eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00447461
add esp, 0x14
test eax, eax
je 0x40142f
or esi, 0xffffffff
jmp 0x40142f
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jle 0x4014a9
push edi
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.00412460
cmp esi, 0x2d000
jl 0x4014a9
cmp byte [esp + 0x20], bl
je 0x4014a9
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4014c2
push eax
push 0x2d000
push 1
push edi
call fcn.004466bc
mov ecx, dword [esp + 0x34]
push ecx
mov esi, eax
call fcn.00447461
add esp, 0x14
test eax, eax
jne 0x4014a9
cmp esi, ebx
jg 0x401462
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4014c2
push eax
call fcn.00446c68
add esp, 4
test eax, eax
jne 0x4014c6
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], bl
push edi
call fcn.0042a2ef
add esp, 4
cmp byte [esp + 0x90], bl
jne 0x4014e9
lea esi, [esp + 0x28]
call fcn.00412500
mov byte [esp + 0x90], 1
push 0x10
lea edx, [esp + 0x84]
push edx
push 0x10
add ebp, 0x1c
push ebp
call fcn.00445a61
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x1c], vtable.CBaseFile.0
je 0x40151a
push eax
call fcn.00446c68
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00445276
add esp, 0x94
ret 4
Function at 0x401550
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401587
test al, 1
je 0x401587
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x401587
push esi
push str._COMEBACK_:set__s_not_readonly_failed_n
push 2
call fcn.00411a20
mov ecx, eax
call fcn.00411cc0
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x401592
mov eax, dword [edi + 4]
jmp 0x401595
lea eax, [edi + 4]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
pop ecx
ret
Function at 0x4024a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov eax, 0xff
lea ecx, [edi + 5]
mov esi, 0x233
mov edi, edi
movzx edx, byte [ecx - 1]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4799a0]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4799a0]
add ecx, 2
sub esi, 1
jne 0x4024b0
xor ecx, ecx
cmp eax, dword [edi]
pop esi
sete cl
mov al, cl
ret

Function at 0x4027d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebp
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0x41c]
push esi
push edi
push eax
mov eax, dword [ebp + 0x418]
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00412460
cmp byte [esp + 0x74], 0
mov edi, 0x10
jne 0x40284a
lea esi, [esp + 0xc]
call fcn.00412500
mov byte [esp + 0x74], 1
lea eax, [esp + 0x64]
lea ecx, [ebp + 1]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x402869
sub edi, 4
add eax, 4
add ecx, 4
cmp edi, 4
jae 0x402851
test edi, edi
je 0x4028c6
movzx esi, byte [eax]
movzx edx, byte [ecx]
sub edx, esi
jne 0x4028b8
sub edi, 1
add eax, 1
add ecx, 1
test edi, edi
je 0x4028c6
movzx esi, byte [eax]
movzx edx, byte [ecx]
sub edx, esi
jne 0x4028b8
sub edi, 1
add eax, 1
add ecx, 1
test edi, edi
je 0x4028c6
movzx esi, byte [eax]
movzx edx, byte [ecx]
sub edx, esi
jne 0x4028b8
sub edi, 1
add eax, 1
add ecx, 1
test edi, edi
je 0x4028c6
movzx eax, byte [eax]
movzx edx, byte [ecx]
sub edx, eax
je 0x4028c6
test edx, edx
mov eax, 1
jg 0x4028c8
or eax, 0xffffffff
jmp 0x4028c8
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
test eax, eax
pop esi
sete al
pop ebp
xor ecx, esp
call fcn.00445276
add esp, 0x70
ret 4
Function at 0x403ab0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x13c
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
push 0x124
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 0x128
call fcn.0044bc10
add esp, 0xc
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x14], esi
call sub.KERNEL32.dll_Process32First
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x403ba2
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edx, [esp + 0x3c]
push str.EXPLORER.EXE
push edx
call fcn.00445d52
add esp, 8
test eax, eax
jne 0x403b8f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push eax
push 1
push 0x1f0fff
mov dword [esp + 0x20], 0xffffffff
call edi
mov esi, eax
test esi, esi
je 0x403b8b
lea ecx, [esp + 0x10]
push ecx
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x403b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
jmp 0x403b8b
push esi
call ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x403b8b
mov ecx, dword [esp + 0x14c]
cmp ecx, dword [esp + 0x14]
je 0x403bc3
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403b11
test esi, esi
je 0x403ba9
push esi
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00445276
add esp, 0x13c
ret
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00445276
add esp, 0x13c
ret