joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401384
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [0x40dc48]
not eax
mov dword [0x40dc48], eax
push eax
push dword [0x406c58]
test eax, eax
jne 0x4013ad
push dword [0x40dc40]
call sub.winmm.dll_waveOutRestart
call sub.kernel32.dll_ResumeThread
jmp 0x4013bd
call sub.kernel32.dll_SuspendThread
push dword [0x40dc40]
call sub.winmm.dll_waveOutPause
pop eax
neg eax
ret

Function at 0x4019de
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x40dc34]
push ebx
cdq
idiv dword [0x40dc30]
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov edi, eax
jne 0x401a00
xor al, al
jmp 0x401b76
movzx eax, byte [esi + 0x128]
or dword [esi + 0x150], 0xffffffff
or dword [esi + 0x14c], 0xffffffff
mov dword [esi + 0x12c], eax
movsx eax, word [esi + 0x24]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x158]
cmp eax, ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x154], ebx
je 0x401a54
push esi
call eax
pop ecx
movsx eax, word [esi + 0x26]
push eax
push esi
call fcn.00401859
add esp, 8
movsx eax, word [esi + 0x14]
imul eax, eax, 0x2b
push edi
mov ecx, eax
mov edi, 0x406ccc
mov eax, ebx
rep stosd dword es:[edi], eax
pop edi
xor edx, edx
cmp word [esi + 0x14], bx
jle 0x401a9e
push ebp
mov ecx, 0x406cd0
mov eax, 0x4083ec
mov dword [ecx], eax
inc edx
movsx ebp, word [esi + 0x14]
add eax, 0x58
add ecx, 0xac
cmp edx, ebp
jl 0x401a89
pop ebp
lea eax, [edi + edi*2]
mov dword [0x406c64], esi
mov esi, sub.kernel32.dll_GlobalAlloc
shl eax, 1
push eax
push 0x40
call esi
mov dword [0x4083a0], eax
mov eax, dword [0x40dc34]
mov edi, eax
shl edi, 2
push edi
push 0x40
call esi
or dword [0x40dc20], 0xffffffff
mov dword [0x40dc10], edi
mov edi, 0x40dc0c
push 0x20
push edi
push dword [0x40dc40]
mov dword [0x40dc2c], eax
mov dword [0x40dc1c], 0xc
mov dword [0x40dc0c], eax
mov dword [0x40dc14], ebx
mov dword [0x40dc18], ebx
call sub.winmm.dll_waveOutPrepareHeader
mov eax, dword [0x40dc34]
lea eax, [eax*8 + 0x100]
push eax
push 0x40
call esi
mov dword [0x40dc3c], eax
add eax, 0xf
and al, 0xf0
mov dword [0x40dbec], eax
mov dword [0x406c5c], ebx
call fcn.0040162f
cmp dword [0x406c5c], ebx
jne 0x401b2d
push 0x20
push edi
push dword [0x40dc40]
call sub.winmm.dll_waveOutWrite
mov byte [0x406c54], bl
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push 0x4017a9
push ebx
push ebx
call sub.kernel32.dll_CreateThread
mov dword [0x406c58], eax
push 0xf
push dword [0x406c58]
call sub.kernel32.dll_SetThreadPriority
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1000d860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000d86f
pop dword [ebp - 0x2c]
mov eax, 0x6b04f491
sub eax, 0x5b041c22
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x39212
push 0
mov eax, 0x7fcb1d9c
add eax, 0x9035e2a8
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0xcc36996c
add ecx, 0x33c9b6ca
xor edi, edi
add edi, eax
mov ebx, 0x10019800
add ebx, dword [ebp - 0x2c]
mov esi, 0xb6c029d1
add esi, 0xb8db4c19
add dword [ebp - 4], 0x9eb304a8
mov edx, dword [ebx]
xor dword [ebp - 0x18], ebx
add edx, esi
add dword [ebp - 0xc], 0x7a7a6d07
mov dword [edi], edx
sub dword [ebp - 8], 0x96dd4023
add edi, 0x3384680
add edi, 0xfcc7b984
add ebx, 0x11b3ba4d
sub ebx, 0x11b3ba49
loop 0x1000d8ca
add eax, 0xa0628c52
add eax, 0x5f9ea759
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x19627b2
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x19627b8
pop ebp
sub ebp, 0x10
sub ebp, 0x15627a8
jmp 0x19627ce
mov eax, 0x15627a8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0x541909d5
xor byte [eax], dl
inc eax
dec ecx
jne 0x19627e5
jmp 0x19627f8
pop esi
sbb byte [esi + 0x5c], bl
jmp 0x566bfdd6
Function at 0x100ebc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x932000]
push edi
or ebp, 0xffffffff
jmp 0x100ebe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100ebe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100ebd8
mov eax, 1
add ebx, ebx
jne 0x100ebfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100ebf0
jne 0x100ec0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ebf0
xor ecx, ecx
sub eax, 3
jb 0x100ec20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100ec92
mov ebp, eax
add ebx, ebx
jne 0x100ec2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100ec38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100ec5c
inc ecx
add ebx, ebx
jne 0x100ec48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100ec3d
jne 0x100ec59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ec3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100ec7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100ec6d
jmp 0x100ebde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100ec7c
add edi, ecx
jmp 0x100ebde
pop esi
mov edi, esi
mov ecx, 0x1d1ec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100ec9a
cmp byte [edi], 0xb5
jne 0x100ec9a
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 0x100ec9f
lea edi, [esi + 0xbe5000]
mov eax, dword [edi]
or eax, eax
je 0x100ed17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc13074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc13250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100eccc
mov ecx, edi
jns 0x100ecfb
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 + 0xc13258]
or eax, eax
je 0x100ed11
mov dword [ebx], eax
add ebx, 4
jmp 0x100ece9
call dword [esi + 0xc13254]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100ed48
cmp al, 0xef
ja 0x100ed3b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100ed1d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100ed2a
mov ebp, dword [esi + 0xc1325c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x277]
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 0x100ed7c
sub esp, 0xffffff80
jmp 0x86eb99
Function at 0x40135e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x401412
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004012ee
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4013eb
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40141e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x401439
test ebp, ebp
je 0x401439
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x401441
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x401481
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4014dd
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4014d8
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4014c3
test dl, dl
je 0x4014bf
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4014c3
add ecx, 2
add eax, 2
test dl, dl
jne 0x4014a3
xor eax, eax
jmp 0x4014c8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4014e7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x401490
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4014fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0040135e
test eax, eax
jne 0x401516
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0040141e
mov esi, eax
test esi, esi
jne 0x40154c
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x401566
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x40165e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0040135e
mov esi, eax
test esi, esi
jne 0x40167c
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0040141e
mov dword [esp + 0x18], eax
test eax, eax
je 0x401674
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0040141e
mov dword [esp + 0x34], eax
test eax, eax
je 0x401674
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0040141e
mov dword [esp + 0x28], eax
test eax, eax
je 0x401674
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0040141e
mov dword [esp + 0x30], eax
test eax, eax
je 0x401674
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x401843
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x401843
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4017a6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x401827
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x4017c9
movzx esi, ax
jmp 0x4017ce
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4017ed
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x4017fc
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x401850
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x4017be
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x401783
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x401879
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x401879
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x40185e
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x40188e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0040135e
mov esi, eax
test esi, esi
je 0x40194a
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0040141e
mov ebp, eax
test ebp, ebp
je 0x401949
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0040141e
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x401949
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x401949
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x401948
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x40192e
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x401bc7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x401bd7
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x401ce5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00401cf5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x401ce5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00401cf5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x401ce5
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00401cf5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401ce5
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x401ce2
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00401d08
test eax, eax
je 0x401cd1
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00401d3c
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x401c8c
add esp, 0xc
mov eax, 0
jmp 0x401cef
mov esp, ebp
pop ebp
ret 8
Function at 0x40fa0e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040fbbe
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40fb0c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40faaf
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40faf2
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40fac6
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40fae1
test al, 0x40
je 0x40fad8
mov ecx, dword [edi + 0x20]
jmp 0x40fadf
test al, 0x80
je 0x40faf2
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40faf2
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40fa7e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x435390
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c391b
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.004b86d7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435412
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b65e9
mov eax, dword [eax]
push 0x8e6c60
push eax
call fcn.004a86c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b8962
test bl, bl
je 0x435412
push 0x8e6c60
lea ecx, [esp + 0xc]
call fcn.004b8cf2
push 0x8e6c6c
lea ecx, [esp + 0xc]
call fcn.004b8cf2
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 0x43544e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b8962
jmp 0x435519
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 0x4354d2
lea edx, [esp + 0x7c]
push 0x8e6c68
push edx
call fcn.004a86c4
add esp, 8
test eax, eax
je 0x4354d2
lea eax, [esp + 0x7c]
push 0x8e6c64
push eax
call fcn.004a86c4
add esp, 8
test eax, eax
je 0x4354d2
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 0x435462
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.004b8962
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 0x435d10
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 0x435d72
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 0x435d80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c399b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8fa758]
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 0x435eb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435de6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b8962
xor eax, eax
jmp 0x435f2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b8a9f
push esi
lea ecx, [esp + 0xc]
call fcn.004b8d2e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x8e6ca0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x435f0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00435d10
test eax, eax
jne 0x435f0d
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 SysReAllocString
mov ecx, edi
call fcn.00435d10
test eax, eax
jne 0x435f0d
lea eax, [esp + 0x14]
push 0x8e6c7c
push eax
call fcn.004a9830
mov esi, eax
add esp, 8
test esi, esi
jne 0x435eec
lea ecx, [esp + 0x14]
push 0x8e6c78
push ecx
call fcn.004a97b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x435eec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x435eef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b8a4f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x435dfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b8962
xor eax, eax
jmp 0x435f2f
mov byte [esi], 0
push 0x8e6c74
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.004b8962
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