joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x401bd7
pop dword [ebp - 0x1c]
mov eax, 0x8512d632
add eax, 0x7b2d45a5
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x3961ef7d
add dword [ebp - 0x2c], 0x14f055ce
mov dword [ebp - 0x28], 0xad40e649
add dword [ebp - 0x28], 0x84f265fc
mov dword [ebp - 0x24], 0x777fbd1f
sub dword [ebp - 0x24], 0x2b3378f1
mov dword [ebp - 0x20], 0x6a5b000a
sub dword [ebp - 0x20], 0x6a5b000a
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xf2560cf
add eax, 0xf11b0f91
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x4d3a86a3
add dword [ebp - 0x2c], 0x2737e2b3
mov dword [ebp - 0x28], 0x3571ce2c
sub dword [ebp - 0x28], 0xf4056cb7
mov dword [ebp - 0x24], 0x2078bcc9
add dword [ebp - 0x24], 0x42f6afa3
mov dword [ebp - 0x20], 0x85b861f5
sub dword [ebp - 0x20], 0x85b861f5
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xd1897aa5
sub eax, 0xd14909a5
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a653
push 0
call eax
mov ecx, 0x5748
xor ebx, ebx
add ebx, eax
mov edi, 0x8e4baa99
sub edi, 0x8e0aaa99
add edi, dword [ebp - 0x1c]
mov edx, 0x5f874a1d
add edx, 0x5e53957e
xor dword [ebp - 4], 0xddd78962
mov esi, dword [edi]
sub dword [ebp - 8], 0x3ef5c86f
sub esi, edx
add dword [ebp - 0x10], edi
mov dword [ebx], esi
add dword [ebp - 0x14], eax
add ebx, 4
add edi, 0x316f5975
add edi, 0xce90a68f
loop 0x401cf5
add eax, 0x911b8c83
add eax, 0x6ee5c370
xor ebx, ebx
add ebx, eax
add eax, 0xfa41726
sub eax, 0xfa41721
mov ecx, 0x43b3ec88
sub ecx, 0x4373ec88
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x406c6f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x406c93
jmp 0x406c9d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406c83
mov esp, ebp
pop ebp
ret

Function at 0x408a60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408a80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a4dc
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x408aa1
test byte [esp + 8], 2
je 0x408aa1
mov dword [0x417f10], 0xd
mov dword [0x417f14], 5
jmp 0x408a7c
xor eax, eax
ret

Function at 0x40a315
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4108a0
cmp edx, dword [eax]
je 0x40a337
add eax, 8
inc ecx
cmp eax, 0x410930
jl 0x40a328
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4108a0]
jne 0x40a465
mov eax, dword [0x417f64]
cmp eax, 1
je 0x40a43f
test eax, eax
jne 0x40a368
cmp dword [0x410328], 1
je 0x40a43f
cmp edx, 0xfc
je 0x40a465
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a39f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407220
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407310
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a3e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407310
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f4fc
push edi
call fcn.00407ac0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407220
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407230
lea eax, [ebp - 0xa0]
push 0x40f4dc
push eax
call fcn.00407230
push dword [esi + 0x4108a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407230
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040cdcf
add esp, 0x2c
pop edi
jmp 0x40a465
lea eax, [ebp + 8]
lea esi, [esi + 0x4108a4]
push 0
push eax
push dword [esi]
call fcn.00407310
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 0x418345
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4186df
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4186f4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x418706
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00418c10
push 0x4620fc
lea eax, [ebp - 0x10]
push eax
call fcn.0042f157
int3

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

Disassembly:
push 4
mov eax, 0x44c3ab
call fcn.0041705a
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x80000000
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.00420b3b
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x4650c4], 0x80000000
je 0x422e2d
push dword [0x469854]
call fcn.0041872c
pop ecx
test eax, eax
jne 0x422e32
call fcn.0041e001
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x422e4d
cmp eax, 2
je 0x422e4d
lock inc dword [eax + 4]
mov ecx, edi
call fcn.00423a32
lea ecx, [edi + 0x3c]
call fcn.0042150c
cmp byte [ebp + 0xc], 0
je 0x422e8e
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x422e88
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x422e77
jmp 0x422e96
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.0041e1fd
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x422eae
mov ecx, esi
call fcn.004222da
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.00417023
ret 8

Function at 0x42b36c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4698c4], eax
cmp eax, 0xffffffff
je 0x42b386
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42b398
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00418c10
push 0x4620fc
lea eax, [ebp - 0x10]
push eax
call fcn.0042f157
int3
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x64706f8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x3d8723e8
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x413200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.EYZtqSKO
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x413222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413218
mov eax, 1
add ebx, ebx
jne 0x41323b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413230
jne 0x41324c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413230
xor ecx, ecx
sub eax, 3
jb 0x413260
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4132d2
mov ebp, eax
add ebx, ebx
jne 0x41326b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41329c
inc ecx
add ebx, ebx
jne 0x413288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41327d
jne 0x413299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41327d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4132bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4132ad
jmp 0x41321e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4132bc
add edi, ecx
jmp 0x41321e
pop esi
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x41331b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x130b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1311c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4132d9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13124]
or eax, eax
je 0x413315
mov dword [ebx], eax
add ebx, 4
jmp 0x4132f6
call dword [esi + 0x13120]
mov ebp, dword [esi + 0x13128]
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 0x41334f
sub esp, 0xffffff80
jmp section.WZqkObwJ
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00404502
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00404502
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00404502
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00404502
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00404502
mov dword [0x41203c], eax
call fcn.00404502
test eax, eax
jge 0x402550
push 8
call fcn.00404502
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00404502
pop ecx
push 1
call fcn.00404502
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00404502
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00404502
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00404502
jmp 0x402495

Function at 0x404502
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x404511
pop dword [ebp - 0x3c]
mov eax, 0xd9108858
sub eax, 0xd8d04347
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3517e
push 0
mov eax, 0x47de7a7e
sub eax, 0x479d99a6
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xe3e0d1e3
sub ecx, 0xe3e09a51
mov esi, eax
mov edx, 0xdbb7ccfb
add edx, 0x24896ec9
add edx, dword [ebp - 0x3c]
mov edi, 0x5973fc06
sub edi, 0xe806069b
mov ebx, dword [edx]
sub dword [ebp - 0x18], esi
sub ebx, edi
xor dword [ebp - 0x10], edi
mov dword [esi], ebx
sub dword [ebp - 8], 0x3ccb5791
add esi, 0xd0033958
add esi, 0x2ffcc6ac
add edx, 4
loop 0x404570
add eax, 0xd11b
xor ebx, ebx
add ebx, eax
add eax, 0x7d713e73
add eax, 0x828ec192
mov ecx, 0x561c8f10
sub ecx, 0x55dc8f10
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x514e7d5e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x46021077
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x24636215
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
mov ecx, 0x77ce2aa5
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40145b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x418500
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x41864c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
add byte [esi + edi], 0x76
call ebx
add byte [esi + edi], 0xf1
call ebx
xor byte [esi + edi], 0x32
call ebx
add byte [esi + edi], 0x51
call ebx
add byte [esi + edi], 0xee
call ebx
add byte [esi + edi], 0x31
call ebx
add byte [esi + edi], 0x5e
call ebx
xor byte [esi + edi], 0x41
call ebx
add byte [esi + edi], 0x31
call ebx
add byte [esi + edi], 0x50
call ebx
xor byte [esi + edi], 0x88
call ebx
add byte [esi + edi], 0x92
call ebx
add byte [esi + edi], 0x1d
call ebx
add byte [esi + edi], 0x2a
call ebx
add byte [esi + edi], 0x31
call ebx
add byte [esi + edi], 0xec
call ebx
xor byte [esi + edi], 0x26
call ebx
add byte [esi + edi], 0xe8
call ebx
add byte [esi + edi], 2
call ebx
add byte [esi + edi], 0x18
call ebx
add byte [esi + edi], 0xf8
call ebx
add byte [esi + edi], 0xf7
call ebx
add byte [esi + edi], 0x6d
call ebx
add byte [esi + edi], 0x35
call ebx
add byte [esi + edi], 0x59
call ebx
xor byte [esi + edi], 0xd0
call ebx
add byte [esi + edi], 0x37
call ebx
add byte [esi + edi], 0xa0
call ebx
add byte [esi + edi], 0x79
call ebx
add byte [esi + edi], 0xc2
call ebx
add byte [esi + edi], 0xc7
call ebx
xor byte [esi + edi], 0x6b
call ebx
xor byte [esi + edi], 0x96
call ebx
xor byte [esi + edi], 0xa4
call ebx
add byte [esi + edi], 0x5e
call ebx
add byte [esi + edi], 0x9c
call ebx
xor byte [esi + edi], 0x3e
call ebx
add byte [esi + edi], 0xe1
call ebx
add byte [esi + edi], 0x99
call ebx
xor byte [esi + edi], 0x73
call ebx
add byte [esi + edi], 0x53
call ebx
xor byte [esi + edi], 0x26
call ebx
add byte [esi + edi], 0x44
call ebx
xor byte [esi + edi], 0x39
call ebx
add byte [esi + edi], 0x92
call ebx
xor byte [esi + edi], 0x7f
call ebx
add byte [esi + edi], 0x69
call ebx
add byte [esi + edi], 0xc2
call ebx
add byte [esi + edi], 0xce
inc esi
cmp esi, dword [esp + 0x14]
jb 0x418519
pop edi
pop ebx
pop esi
ret

Function at 0x40267b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x418fe2
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
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 [0x5c7600], eax
pop edi
pop esi
ret
Function at 0x403175
Capabilities:
Encode data using xor

Disassembly:
jmp 0x418e99
push ecx
push ebx
push esi
push edi
push str.Dont_afraid
push 0x58bf40
call fcn.0040321f
push eax
call fcn.00406e5b
mov edi, dword [esp + 0x20]
add esp, 0xc
lea eax, [edi + 0x10]
mov esi, dword [eax]
mov ebx, esi
xor ebx, dword [esp + 0x18]
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0xc], eax
jb 0x418ed4
mov edi, dword [edi]
mov dword [esp + 0x14], edi
push edi
shr esi, 2
push esi
push str._x_and__p
call fcn.00402522
add esp, 0xc
test esi, esi
je 0x418f2d
push ebp
mov ebp, edi
mov edi, esi
push 4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0040626c
imul ecx, dword [esp + 0x28], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x1c], eax
sub edi, 1
jne 0x418eef
mov edi, dword [esp + 0x18]
pop ebp
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x418f59
sub eax, 1
je 0x418f4f
sub eax, 1
jne 0x418f67
movsx ecx, byte [edi + esi*4 + 2]
shl ecx, 0x10
movsx eax, byte [edi + esi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [edi + esi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop ecx
ret

Function at 0x403bb1
Capabilities:
Terminate process

Disassembly:
jmp 0x458b79
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x458b8a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004064d3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403d37
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a16b2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a16c3
pop esi
ret
push ebx
push edi
push esi
call fcn.004a1599
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040478c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a16eb
push ebx
push esi
push edi
call fcn.0040626c
add esp, 0xc
push 0
call fcn.00406fe1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x406348
Capabilities:
Parse pe header

Disassembly:
jmp 0x44799f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4479de
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4479de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4479de
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4479de
cmp dword [ecx + 0x74], 0xe
jbe 0x4479de
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4073e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x418aeb
sub esp, 0x20
mov eax, dword [0x588258]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x418b54
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402072
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.00403175
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x418b6c
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402d83
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x418b1c
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040354e
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402d83
jmp 0x418b56