joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ca640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1c7000]
push edi
jmp 0x6ca65a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6ca661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ca650
mov eax, 1
add ebx, ebx
jne 0x6ca673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6ca684
jne 0x6ca6a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ca6a3
dec eax
add ebx, ebx
jne 0x6ca690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6ca668
add ebx, ebx
jne 0x6ca69f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6ca6f5
xor ecx, ecx
sub eax, 3
jb 0x6ca6bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6ca72a
sar eax, 1
mov ebp, eax
jmp 0x6ca6c6
add ebx, ebx
jne 0x6ca6c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ca694
inc ecx
add ebx, ebx
jne 0x6ca6d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ca694
add ebx, ebx
jne 0x6ca6e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6ca6d6
jne 0x6ca6f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6ca6d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6ca714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6ca706
jmp 0x6ca656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6ca714
add edi, ecx
jmp 0x6ca656
pop esi
mov edi, esi
mov ecx, 0x10988
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6ca732
cmp byte [edi], 0x45
jne 0x6ca732
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 0x6ca737
lea edi, [esi + 0x2be000]
mov eax, dword [edi]
or eax, eax
je 0x6ca7af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dabcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dad84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6ca764
mov ecx, edi
jns 0x6ca793
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 + 0x2dad8c]
or eax, eax
je 0x6ca7a9
mov dword [ebx], eax
add ebx, 4
jmp 0x6ca781
call dword [esi + 0x2dad88]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6ca7e0
cmp al, 0xef
ja 0x6ca7d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6ca7b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6ca7c2
mov ebp, dword [esi + 0x2dad90]
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 0x6ca814
sub esp, 0xffffff80
jmp 0x5b418c
Function at 0x41c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420190
cmp edx, dword [eax]
je 0x41c78b
add eax, 8
inc ecx
cmp eax, 0x420220
jl 0x41c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420190]
jne 0x41c8b9
mov eax, dword [0x420bb0]
cmp eax, 1
je 0x41c893
test eax, eax
jne 0x41c7bc
cmp dword [0x4200e4], 1
je 0x41c893
cmp edx, 0xfc
je 0x41c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41f45c
push edi
call fcn.0041df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041d680
lea eax, [ebp - 0xa0]
push 0x41f43c
push eax
call fcn.0041d680
push dword [esi + 0x420194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041de75
add esp, 0x2c
pop edi
jmp 0x41c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x420194]
push 0
push eax
push dword [esi]
call fcn.0041d490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
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 0xbda6e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x469000]
push edi
or ebp, 0xffffffff
jmp 0xbda702
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbda709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbda6f8
mov eax, 1
add ebx, ebx
jne 0xbda71b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbda72c
jne 0xbda74b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbda74b
dec eax
add ebx, ebx
jne 0xbda738
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbda710
add ebx, ebx
jne 0xbda747
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbda79d
xor ecx, ecx
sub eax, 3
jb 0xbda763
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbda7d2
sar eax, 1
mov ebp, eax
jmp 0xbda76e
add ebx, ebx
jne 0xbda76e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbda73c
inc ecx
add ebx, ebx
jne 0xbda77c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbda73c
add ebx, ebx
jne 0xbda789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbda77e
jne 0xbda79a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbda77e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbda7bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbda7ae
jmp 0xbda6fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbda7bc
add edi, ecx
jmp 0xbda6fe
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbda7da
cmp byte [edi], 0x13
jne 0xbda7da
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 0xbda7df
lea edi, [esi + 0x7d7000]
mov eax, dword [edi]
or eax, eax
je 0xbda857
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7dffd4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e0098]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbda80c
mov ecx, edi
jns 0xbda83b
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 + 0x7e00a0]
or eax, eax
je 0xbda851
mov dword [ebx], eax
add ebx, 4
jmp 0xbda829
call dword [esi + 0x7e009c]
mov ebp, dword [esi + 0x7e00a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0xbda88b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x4041a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4041eb
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4041ba
jmp 0x4041eb
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4041db
pop esi
pop ebp
ret

Function at 0x40424b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestCeilingFloor.exe_gMozillaPoisonSize]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x404283
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042ad
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042ad
test edi, edi
je 0x40427a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40427a
test edi, edi
je 0x4042b5
mov eax, edi
jmp 0x40427c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40427c
int3

Function at 0x4042e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonSize], eax
call fcn.0040424b
mov ecx, dword [sym.TestCeilingFloor.exe_gMozillaPoisonSize]
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40431a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x401384
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x432008], 0x8088405
inc edx
mov dword [ebx + 0x432008], edx
fld qword [ebx + 0x432060]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret
Function at 0x422fb0
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, eax
call sub.kernel32.dll_GetCommandLineA
xor edx, edx
jmp 0x422fd6
movzx ecx, byte [eax]
sub cl, 0x2d
je 0x422fc9
sub cl, 2
jne 0x422fd5
movzx ecx, byte [eax + 1]
cmp cl, byte [esi]
jne 0x422fd5
mov dl, 1
jmp 0x422fdb
inc eax
cmp byte [eax], 0
jne 0x422fbc
mov eax, edx
pop esi
ret

Function at 0x4230c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea edx, [ebp - 0x10b]
mov ecx, 0xfe
call fcn.00423088
lea eax, [ebp - 0x10b]
cmp byte [ebp + 8], 0
je 0x4230f3
mov edx, 4
jmp 0x4230f8
mov edx, 2
push 0
push 0x80
push edx
push 0
push 0
push 0x40000000
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42313c
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423144
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
cmp byte [ebp + 8], 0
je 0x423170
lea edx, [ebp - 0x107]
mov ecx, 0xfe
call fcn.00423088
lea eax, [ebp - 0x107]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4231c0
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov dword [esi], eax
mov eax, dword [esi]
call fcn.00401184
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423e70
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov ebx, eax
push esp
push 0
push ebx
push 0x423e60
push 0
push 0
call sub.kernel32.dll_CreateThread
pop edx
pop ebx
ret
Function at 0x40101f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0040aca0
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040aca0
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
mov eax, 0
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x4010b9
push 0x19
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
push 0
push 0x1f0fff
mov eax, 1
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x4010f2
push 0x46
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push dword [ebp - 8]
mov eax, 2
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x40112a
push 0x73
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
push str.SeDebugPrivilege
push 0
mov eax, 3
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x401160
push 0x9d
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
push 0
push 0
push 0
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 4
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x4011f9
push 0x1ad
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 5
call fcn.0040ac9a
cmp dword [ebp - 0x1c], esp
je 0x401228
push 0x1ed
push 0x40160f1
push 6
call fcn.0040ac94
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x401230
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040ac8e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0040ac8e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x403c15
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x403c1f
add dword [esp], 5
retf

Function at 0x403ddd
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x403de7
add dword [esp], 5
retf

Function at 0x403e72
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x403ef2
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x403ef2
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x403ef2
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x403ef2
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x403ee3
test bl, bl
je 0x403ef6
dec eax
mov eax, edx
jmp 0x403ecf
inc ebp
test al, al
je 0x403ef6
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x403eca
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x403eb6
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x403ef0
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x403f43
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x403f4d
add dword [esp], 5
retf

Function at 0x4040da
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4040e4
add dword [esp], 5
retf
Function at 0x410450
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a5bb
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.0048f63a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4104d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048d54c
mov eax, dword [eax]
push 0x515c70
push eax
call fcn.0047f794
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048f8c5
test bl, bl
je 0x4104d2
push 0x515c70
lea ecx, [esp + 0xc]
call fcn.0048fc55
push 0x515c7c
lea ecx, [esp + 0xc]
call fcn.0048fc55
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 0x41050e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048f8c5
jmp 0x4105d9
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 0x410592
lea edx, [esp + 0x7c]
push 0x515c78
push edx
call fcn.0047f794
add esp, 8
test eax, eax
je 0x410592
lea eax, [esp + 0x7c]
push 0x515c74
push eax
call fcn.0047f794
add esp, 8
test eax, eax
je 0x410592
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 0x410522
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.0048f8c5
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 0x410de0
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 0x410e42
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 0x410e50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a63b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x526c48]
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 0x410f88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410eb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f8c5
xor eax, eax
jmp 0x410fff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048fa02
push esi
lea ecx, [esp + 0xc]
call fcn.0048fc91
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 0x410fdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00410de0
test eax, eax
jne 0x410fdd
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 accept
mov ecx, edi
call fcn.00410de0
test eax, eax
jne 0x410fdd
lea eax, [esp + 0x14]
push 0x515c8c
push eax
call fcn.00480810
mov esi, eax
add esp, 8
test esi, esi
jne 0x410fbc
lea ecx, [esp + 0x14]
push 0x515c88
push ecx
call fcn.00480790
mov esi, eax
add esp, 8
test esi, esi
jne 0x410fbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410fbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048f9b2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410ece
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f8c5
xor eax, eax
jmp 0x410fff
mov byte [esi], 0
push 0x515c84
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.0048f8c5
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