joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101eac4
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
setne al
push eax
push 0x100f280
push 0x4c
push 1
push 3
push 0x100f198
push dword [0x102256c]
push 4
call fcn.01020f34
push 0xc
call fcn.0101fb27
test eax, eax
pop ecx
je 0x101eb11
and dword [eax + 8], ebx
mov dword [eax], 0x100f180
mov dword [eax + 4], 1
jmp 0x101eb13
xor eax, eax
test eax, eax
jne 0x101eb5a
mov ecx, 0x8007000e
mov ebx, ecx
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x101eb5c
test dword [eax + 0x9c], 0x10000
je 0x101eb5c
cmp byte [eax + 0x99], 2
jb 0x101eb5c
push ecx
push 0x100e310
push 0xa
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
jmp 0x101eb5c
mov dword [edi], eax
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x101eb69
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.0101c59a
mov edi, eax
call dword [0x10010ac]
push dword [ebp + 8]
mov dword [edi + 0xb4], eax
call fcn.0101e735
lea edx, [ebp - 4]
push edx
mov edi, eax
mov eax, dword [esi + 8]
xor ebx, ebx
push 0x100da54
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x101ebb7
cmp dword [ebp - 4], ebx
je 0x101ebb7
mov al, 1
jmp 0x101ebb9
xor al, al
push eax
push 0x1002cd8
push ebx
push ebx
push ebx
push 0x100f2a8
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push edi
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 4]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x101ebf2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
leave
ret 4
Function at 0x101ebfb
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
setne al
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
push eax
push 0x100f6cc
push 0x2a
push 1
push 3
push 0x100f5c0
push dword [0x102256c]
push 4
call fcn.01020f34
lea eax, [ebp - 8]
push eax
call fcn.0101eac4
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x101ecd8
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x100e320
push eax
call dword [ecx]
test eax, eax
jl 0x101ec68
cmp dword [ebp - 4], ebx
je 0x101ec68
mov al, 1
jmp 0x101ec6a
xor al, al
push esi
push eax
mov esi, 0x1002cd8
push esi
push ebx
push ebx
push ebx
push 0x100f4b0
push dword [0x102256c]
push 4
call fcn.01020f34
push 1
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
call fcn.0101e051
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x101ecd7
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push edi
push 0x10054e0
push eax
call dword [ecx]
test eax, eax
jl 0x101ecb6
cmp dword [edi], ebx
je 0x101ecb6
mov al, 1
jmp 0x101ecb8
xor al, al
push eax
push esi
push ebx
push ebx
push ebx
push 0x100f3a0
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
pop esi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x101ece8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x101ecf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
pop edi
cmp eax, ebx
pop ebx
je 0x101ed04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x101ed10
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x84]
push eax
call fcn.0101b940
mov ebx, eax
mov eax, dword [esi]
push esi
lea edi, [ebx + 0x4c]
call dword [eax + 0x7c]
cmp eax, 1
mov dword [ebp + 0xc], eax
je 0x101ede3
cmp eax, 2
je 0x101edc6
jle 0x101ed57
cmp eax, 5
jle 0x101ed82
cmp eax, 6
je 0x101edc6
push 0
push 0x100f7e0
push 0xc9
push 4
push 3
push 0x100f6f0
push dword [0x102256c]
push 4
call fcn.01020f34
push 0
push 0x80070001
jmp 0x101eddb
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, edi
call fcn.0101d97e
cmp eax, 0xffffffff
jne 0x101eda7
mov eax, dword [esi]
push 0
push 0xd0000128
push esi
call dword [eax + 0x10]
and dword [ebp - 4], 0
jmp 0x101edbe
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp + 0xc]
call fcn.0101e6e9
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.0101d90e
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
jmp 0x101edec
lea eax, [edi + 8]
push eax
call dword [fcn.01001064]
mov ecx, edi
call fcn.0101d90e
push 0
push 0
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
jmp 0x101edec
mov ecx, dword [ebp + 8]
push esi
call fcn.0101eb69
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x101f96d
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
setne al
push eax
push 0x1011858
push 0x36
push 1
push 3
push 0x1011778
push dword [0x102256c]
push 4
call fcn.01020f34
push 0xc
call fcn.0101fb27
test eax, eax
pop ecx
je 0x101f9ba
and dword [eax + 8], ebx
mov dword [eax + 4], 1
mov dword [eax], 0x1011760
jmp 0x101f9bc
xor eax, eax
test eax, eax
jne 0x101fa03
mov ecx, 0x8007000e
mov ebx, ecx
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x101fa05
test dword [eax + 0x9c], 0x10000
je 0x101fa05
cmp byte [eax + 0x99], 2
jb 0x101fa05
push ecx
push 0x1011578
push 0xa
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
jmp 0x101fa05
mov dword [edi], eax
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x101fa12
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
setne al
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
push eax
push 0x100f6cc
push 0x13
push 1
push 3
push 0x1011a80
push dword [0x102256c]
push 4
call fcn.01020f34
lea eax, [ebp - 8]
push eax
call fcn.0101f96d
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x101faef
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x100e320
push eax
call dword [ecx]
test eax, eax
jl 0x101fa7f
cmp dword [ebp - 4], ebx
je 0x101fa7f
mov al, 1
jmp 0x101fa81
xor al, al
push esi
push eax
mov esi, 0x1002cd8
push esi
push ebx
push ebx
push ebx
push 0x1011980
push dword [0x102256c]
push 4
call fcn.01020f34
push 1
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
call fcn.0101e051
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x101faee
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push edi
push 0x10054e0
push eax
call dword [ecx]
test eax, eax
jl 0x101facd
cmp dword [edi], ebx
je 0x101facd
mov al, 1
jmp 0x101facf
xor al, al
push eax
push esi
push ebx
push ebx
push ebx
push 0x1011880
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
pop esi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x101faff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x101fb0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
pop edi
cmp eax, ebx
pop ebx
je 0x101fb1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x1020820
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1020833
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x102082f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x1020860
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x102089f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1020895
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10208a1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1020885
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40ac1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40ac29
pop dword [ebp - 0x18]
mov eax, 0xa7a4f48e
add eax, 0x589bb79b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x17c18f82
sub dword [ebp - 0x28], 0xc96f4a37
mov dword [ebp - 0x24], 0xd73b7546
add dword [ebp - 0x24], 0x5af7d6ff
mov dword [ebp - 0x20], 0x8b3bf9cc
add dword [ebp - 0x20], 0xc1104a62
mov dword [ebp - 0x1c], 0x984db3a5
add dword [ebp - 0x1c], 0x67b24c5b
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe274f47f
sub eax, 0xe2342433
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xfd008daf
sub dword [ebp - 0x28], 0x888e2459
mov dword [ebp - 0x24], 0x4220d21b
add dword [ebp - 0x24], 0xff4b8f5a
mov dword [ebp - 0x20], 0xf24d77ac
add dword [ebp - 0x20], 0x7121f4c0
mov dword [ebp - 0x1c], 0x70a9b1c5
sub dword [ebp - 0x1c], 0x70a9b1c5
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xd8679f1d
sub eax, 0xd826ced5
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39974
push 0
call eax
mov ecx, 0x344ab632
sub ecx, 0x344a6f0a
mov ebx, eax
mov edi, 0x10633a9a
sub edi, 0x10218a9a
add edi, dword [ebp - 0x18]
mov edx, 0x1f901743
sub edx, 0x8300fdc0
add dword [ebp - 8], edi
mov esi, dword [edi]
add dword [ebp - 4], edx
add esi, edx
xor dword [ebp - 0x14], edx
mov dword [ebx], esi
xor dword [ebp - 0x14], esi
add ebx, 0x3b43a6c8
sub ebx, 0x3b43a6c4
add edi, 0x94406bb6
sub edi, 0x94406bb2
loop 0x40ad4b
add eax, 0xfbdc2de
add eax, 0xf0434c95
xor ebx, ebx
add ebx, eax
add eax, 0xfcb1bfd7
add eax, 0x34e402e
mov ecx, 0x99069f56
add ecx, 0x673960aa
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4db570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9c000]
push edi
jmp 0x4db58a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4db591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4db580
mov eax, 1
add ebx, ebx
jne 0x4db5a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4db5b4
jne 0x4db5d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4db5d3
dec eax
add ebx, ebx
jne 0x4db5c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4db598
add ebx, ebx
jne 0x4db5cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4db625
xor ecx, ecx
sub eax, 3
jb 0x4db5eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4db65a
sar eax, 1
mov ebp, eax
jmp 0x4db5f6
add ebx, ebx
jne 0x4db5f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4db5c4
inc ecx
add ebx, ebx
jne 0x4db604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4db5c4
add ebx, ebx
jne 0x4db611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4db606
jne 0x4db622
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4db606
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4db644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4db636
jmp 0x4db586
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4db644
add edi, ecx
jmp 0x4db586
pop esi
mov edi, esi
mov ecx, 0x3f77
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4db662
cmp byte [edi], 0x21
jne 0x4db662
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4db667
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4db6df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xecbec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeccdc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4db694
mov ecx, edi
jns 0x4db6c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xecce0]
or eax, eax
je 0x4db6d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4db6b1
call dword [esi + 0xeccf0]
mov ebp, dword [esi + 0xecce4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4db713
sub esp, 0xffffff80
jmp 0x44fc9a
Function at 0x406887
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x406895
call 0x85667b8
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068ba
call 0xa8d65173
invalid
call 0x401154
call 0x40664a
pop edi
xor eax, eax
pop esi
ret

Function at 0x407505
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407544
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407544
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407544
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407544
cmp dword [ecx + 0x74], 0xe
jbe 0x407544
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5db
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d49c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d60f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d615
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d659
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d49c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d690
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x418a40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418a6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418a6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40862a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408620
mov eax, 1
add ebx, ebx
jne 0x408643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408638
jne 0x408654
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408638
xor ecx, ecx
sub eax, 3
jb 0x408668
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4086da
mov ebp, eax
add ebx, ebx
jne 0x408673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4086a4
inc ecx
add ebx, ebx
jne 0x408690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408685
jne 0x4086a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408685
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4086c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4086b5
jmp 0x408626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4086c4
add edi, ecx
jmp 0x408626
pop esi
mov edi, esi
mov ecx, 0x25
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4086e2
cmp byte [edi], 0
jne 0x4086e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4086e7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408756
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x80b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x80ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408714
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x80f0]
or eax, eax
je 0x408750
mov dword [ebx], eax
add ebx, 4
jmp 0x408731
call dword [esi + 0x8100]
mov ebp, dword [esi + 0x80f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40878a
sub esp, 0xffffff80
jmp 0x401548
Function at 0x42dec0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dc7b
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.00491f09
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42df42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f51d
mov eax, dword [eax]
push 0x4c9234
push eax
call fcn.00480c64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492194
test bl, bl
je 0x42df42
push 0x4c9234
lea ecx, [esp + 0xc]
call fcn.00492524
push 0x4ccdac
lea ecx, [esp + 0xc]
call fcn.00492524
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 0x42df7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492194
jmp 0x42e049
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 0x42e002
lea edx, [esp + 0x7c]
push 0x4ccda8
push edx
call fcn.00480c64
add esp, 8
test eax, eax
je 0x42e002
lea eax, [esp + 0x7c]
push 0x4ccda4
push eax
call fcn.00480c64
add esp, 8
test eax, eax
je 0x42e002
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 0x42df92
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.00492194
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 0x42e840
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 0x42e8a2
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 0x42e8b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dcfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d5640]
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 0x42e9e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42e916
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492194
xor eax, eax
jmp 0x42ea5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004922d1
push esi
lea ecx, [esp + 0xc]
call fcn.00492560
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42ea3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042e840
test eax, eax
jne 0x42ea3d
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.0042e840
test eax, eax
jne 0x42ea3d
lea eax, [esp + 0x14]
push 0x4ccdc0
push eax
call fcn.00481d70
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ea1c
lea ecx, [esp + 0x14]
push 0x4ccdbc
push ecx
call fcn.00481cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ea1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ea1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492281
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42e92e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492194
xor eax, eax
jmp 0x42ea5f
mov byte [esi], 0
push 0x4ccdb8
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.00492194
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