joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [esp + 0x64]
mov byte [esp + 0x4d], 0x4a
mov dword [esp + 0x44], 0x4c93
mov dword [esp + 0x40], eax
call fcn.00401ee0
mov ecx, eax
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call fcn.00401e50
sub esp, 4
xor ecx, ecx
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 0x38]
add edx, eax
mov esi, edx
add esi, 0x18
mov edi, dword [esp + 0x3c]
mov ebx, dword [edi + eax + 0x18]
mov ebp, dword [esp + 0x38]
add ebp, dword [edi + eax + 0x20]
cmp ebx, 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
je 0x401e06
jmp 0x401d85
mov ax, word [esp + 0x4e]
add ax, word [esp + 0x4e]
mov ecx, dword [esp + 0x44]
xor ecx, 0x4c92
mov word [esp + 0x4e], ax
mov dl, byte [esp + 0x4d]
mov word [esp + 0x4e], 0x721f
add dl, 0xb6
mov dh, byte [esp + 0x23]
cmp dh, dl
setne dl
mov bl, byte [esp + 0x22]
and bl, dl
mov esi, dword [esp + 0x1c]
add esi, ecx
cmp esi, 0x20
setb dl
and bl, dl
test bl, 1
mov dword [esp + 0x18], esi
jne 0x401dc5
jmp 0x401dbb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add esi, dword [edi + eax*4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp + 0x18], edx
jmp 0x401dc5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx + 0x1c]
mov edx, dword [esp + 8]
movzx esi, word [edx]
mov edi, dword [esp + 0x38]
add edi, dword [eax + esi*4]
mov dword [esp + 0x24], edi
jmp 0x401e06
xor eax, eax
mov cx, word [esp + 0x4e]
add cx, 0x796d
mov word [esp + 0x4e], cx
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + 0x24]
mov edi, dword [esp + 0x30]
and edi, 0x2be
mov ebx, dword [esp + 0x38]
add ebx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x401d3c
mov al, byte [esp + 0x22]
test al, 1
jne 0x401d63
jmp 0x401e14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
xor ecx, 0x398c
mov edx, dword [esp + 4]
mov bl, byte [edx + eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
mov ch, byte [esp + 0x4d]
xor ch, 0x4a
cmp bl, ch
mov dword [esp + 0x1c], eax
mov byte [esp + 0x23], bh
mov byte [esp + 0x22], cl
je 0x401dbb
jmp 0x401ce9
mov eax, dword [esp + 0x24]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor eax, eax
mov ecx, 0x4c94
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
sub ecx, dword [esp + 0x44]
mov edi, dword [esp + 0xc]
add edi, ecx
mov ecx, dword [esp + 8]
add ecx, 2
cmp edi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
jb 0x401d3c
jmp 0x401e06
Function at 0x402000
Capabilities:
Parse pe header

Disassembly:
push esi
sub esp, 0x2c
lea eax, [fcn.00402000]
mov ecx, 0x5df1
mov word [esp + 0x2a], 0x326a
mov dword [esp + 0x1c], 0x402f
mov byte [esp + 0x1b], 0xff
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp], edx
jmp 0x4020d3
cmp dword [esp + 8], 0x4550
jne 0x402081
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
add esp, 0x2c
pop esi
ret
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x23]
or cl, byte [esp + 0x23]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x23], cl
xor esi, 0xffffb02f
add edx, 0xffffafd1
add eax, edx
and eax, esi
mov dword [esp + 0x10], eax
jmp 0x4020d3
cmp dword [esp + 0x14], 0x730c
jne 0x402053
mov al, 0xa2
mov cl, byte [esp + 0x1b]
xor cl, 0x26
mov edx, dword [esp + 0xc]
mov byte [esp + 7], cl
mov cl, byte [esp + 0x1b]
mov ah, byte [esp + 7]
mov edx, dword [edx + 0x3c]
mov esi, dword [esp + 0xc]
mov edx, dword [esi + edx]
sub al, cl
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
cmp ah, al
ja 0x402039
jmp 0x4020d3
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
je 0x40208b
jmp 0x402081
mov ax, 0x716c
mov cx, 0x3f94
sub cx, word [esp + 0x2a]
sub ax, word [esp + 0x2a]
mov edx, dword [esp + 0x10]
mov word [esp + 0x20], 0x7407
mov dword [esp + 0xc], edx
mov word [esp + 0x18], cx
mov cx, word [esp + 0x18]
mov edx, dword [esp]
add edx, 0x3e86
mov dword [esp + 0x24], edx
cmp ax, cx
jbe 0x402053
jmp 0x4020c6

Function at 0x404000
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov dword [0x40633c], esi
push ebp
push esp
mov dword [0x406340], edi
pop dword [0x40634c]
mov dword [0x406344], ebx
pop dword [0x406348]
mov dword [0x40633c], esi
jmp loc.00401210
Function at 0x108b5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108b51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x108b507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b506a
add dl, dl
jne 0x108b5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b50dc
xor eax, eax
add dl, dl
jne 0x108b5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b517d
add dl, dl
jne 0x108b50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108b50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x108b5075
mov eax, 1
add dl, dl
jne 0x108b50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b50e1
sub eax, ebx
mov ebx, 1
jne 0x108b5128
mov ecx, 1
add dl, dl
jne 0x108b510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108b5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x108b513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108b514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b5136
cmp eax, 0x7d00
jae 0x108b516d
cmp eax, 0x500
jb 0x108b5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b5075
cmp eax, 0x7f
ja 0x108b5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x108b519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x108b5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10009bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10016eb8
call fcn.100165db
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10009c59
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10009c59
call fcn.1000836f
mov esi, eax
jmp 0x10009d5f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10009c7c
call fcn.1000836f
jmp 0x10009d52
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10009c72
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009caf
mov esi, 0x8007000e
jmp 0x10009d54
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009d8d
jb 0x10009cca
cmp eax, 0xffffffff
ja 0x10009d8d
cmp eax, 0x400
jbe 0x10009cdf
push eax
lea ecx, [ebp - 0x418]
call fcn.10016254
jmp 0x10009d01
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009d01
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009ca5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10009c72
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.10016254
mov esi, eax
test edi, edi
je 0x10009d5f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009d78
lea ecx, [ebp - 0x418]
call fcn.10008337
lea ecx, [ebp - 0x428]
call fcn.10001550
mov eax, esi
call fcn.1001652c
ret 0x10
push 0x80070216
call fcn.10016254
int3
Function at 0x10016254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10016263
pop dword [ebp - 0x3c]
mov eax, 0x10016263
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x38f14
push 0
mov eax, 0x7f354e91
sub eax, 0x6f33cd41
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x69c6a236
add ecx, 0x9639a389
mov esi, eax
mov edx, 0x26e4a94
sub edx, 0xf26b9494
add edx, dword [ebp - 0x3c]
mov ebx, 0xb9fa05c4
add ebx, 0xb7c95a1c
xor dword [ebp - 0x2c], 0xd34a201d
mov edi, dword [edx]
mov dword [ebp - 0x18], 0xdb9a1121
add edi, ebx
add dword [ebp - 0x20], ecx
mov dword [esi], edi
xor dword [ebp - 0x2c], 0xe02a61ff
add esi, 0x738b30d3
add esi, 0x8c74cf31
add edx, 4
loop 0x100162bd
add eax, 0xd0eb580
sub eax, 0xd0dabb1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x84a2b35a
sub ecx, 0x74a2b35a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x246a2ec0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..text
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xeb373cc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40d054], 1
mov dword [0x40d050], 1
mov dword [0x40d04c], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40d00c], eax
mov eax, dword [0x40d060]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40d074]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40d05c]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x409018], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x401880
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x4018e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40d068]
test esi, esi
jle 0x401a00
mov eax, dword [0x40d06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401914
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401997
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401900
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401a27
mov eax, dword [0x40d06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x40d06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a07
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401990
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4019a0
add dword [0x40d068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40d06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40191e
mov eax, dword [0x40d06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x401f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40d084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40d07c]
sub esp, 4
test ebx, ebx
je 0x401f95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f8e
test esi, esi
je 0x401f8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f70
mov dword [esp], 0x40d084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40decb
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40dee9
mov eax, 0x4f55f2
push eax
push 1
mov ebx, 0x4417c0
call fcn.0044122b
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40df13
mov eax, 0
jmp 0x40df87
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40df74
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40df5d
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40df4c
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40df3d
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x44ccd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ede0b
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.004e28ec
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44cd52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e062e
mov eax, dword [eax]
push 0x5dbcd0
push eax
call fcn.004cf964
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e2b77
test bl, bl
je 0x44cd52
push 0x5dbcd0
lea ecx, [esp + 0xc]
call fcn.004e2f07
push 0x5dbcdc
lea ecx, [esp + 0xc]
call fcn.004e2f07
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 0x44cd8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e2b77
jmp 0x44ce59
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 0x44ce12
lea edx, [esp + 0x7c]
push 0x5dbcd8
push edx
call fcn.004cf964
add esp, 8
test eax, eax
je 0x44ce12
lea eax, [esp + 0x7c]
push 0x5dbcd4
push eax
call fcn.004cf964
add esp, 8
test eax, eax
je 0x44ce12
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 0x44cda2
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.004e2b77
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 0x44d660
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 0x44d6c2
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
Function at 0x44d6d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ede8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x694d68]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44d808
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44d736
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e2b77
xor eax, eax
jmp 0x44d87f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e2cb4
push esi
lea ecx, [esp + 0xc]
call fcn.004e2f43
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5dbd10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44d85d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0044d660
test eax, eax
jne 0x44d85d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0044d660
test eax, eax
jne 0x44d85d
lea eax, [esp + 0x14]
push 0x5dbcec
push eax
call fcn.004d0bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d83c
lea ecx, [esp + 0x14]
push 0x5dbce8
push ecx
call fcn.004d0b40
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d83c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44d83f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e2c64
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44d74e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e2b77
xor eax, eax
jmp 0x44d87f
mov byte [esi], 0
push 0x5dbce4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004e2b77
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4