joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409cf0
Capabilities:
Create device object
Create thread

Disassembly:
sub esp, 0x1c
push ebx
push edi
push 0x4d6c7431
push 0x20
xor ebx, ebx
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, ebx
je 0x409d32
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
xor ecx, ecx
cmp dword [ecx*4 + 0x41072c], ebx
je 0x409d25
inc ecx
cmp ecx, 0xa
jl 0x409d14
jmp 0x409d32
inc dword [0x410754]
mov dword [ecx*4 + 0x41072c], eax
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x40eba8
lea eax, [esp + 0x14]
push eax
call edi
push str.DosDevicesHelpDetectWz
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 1
push 0x100
push 0x22
lea eax, [esp + 0x20]
push eax
push ebx
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebx
jl 0x409e68
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
cmp edi, ebx
mov eax, dword [esp + 0xc]
jge 0x409da0
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
pop edi
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x70]
push 0xc8
push ebx
push 0x410648
mov dword [0x410518], ecx
mov dword [0x410644], edx
mov dword [esi + 0x70], 0x409f50
mov dword [0x410728], esi
mov dword [0x410640], eax
mov dword [esi + 0x34], 0x409e70
call dword [sym.imp.ntoskrnl.exe_KeInitializeSemaphore]
mov eax, 0x410638
mov dword [0x41063c], eax
mov dword [0x410638], eax
mov eax, 0x410528
mov dword [0x410520], ebx
mov dword [0x41052c], eax
mov dword [0x410528], eax
call fcn.00409130
push ebx
push 0x40a520
push ebx
push ebx
push ebx
push ebx
push 0x410524
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, ebx
je 0x409e3c
mov ecx, dword [0x41007c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
push str.Create_Thread_Fail_Code__x
push ecx
call eax
add esp, 0xc
xor eax, eax
pop edi
pop ebx
add esp, 0x1c
ret
mov ecx, dword [sym.imp.ntoskrnl.exe_PsThreadType]
mov edx, dword [ecx]
mov eax, dword [0x410524]
push ebx
push 0x41051c
push ebx
push edx
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ecx, dword [0x410524]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
pop edi
pop ebx
add esp, 0x1c
ret

Function at 0x40a6a0
Capabilities:
Parse pe header

Disassembly:
cmp esi, 0x40
jae 0x40a6a8
xor eax, eax
ret
mov edx, 0x5a4d
mov dword [ecx + 0x14], eax
cmp word [eax], dx
jne 0x40a6a5
mov edx, dword [eax + 0x3c]
push edi
lea edi, [edx + 0xf8]
cmp esi, edi
jb 0x40a715
add eax, edx
mov dword [ecx + 0x18], eax
cmp dword [eax], 0x4550
jne 0x40a715
mov edx, pe_nt_image_headers32
cmp word [eax + 0x14], dx
jne 0x40a715
mov edi, dword [ecx + 0x18]
push ebx
lea edx, [eax + 0xf8]
xor ebx, ebx
mov dword [ecx + 0x1c], edx
xor eax, eax
cmp bx, word [edi + 6]
pop ebx
jae 0x40a70e
add edx, 0x10
mov edi, dword [edx + 4]
add edi, dword [edx]
cmp edi, esi
ja 0x40a715
mov edi, dword [ecx + 0x18]
movzx edi, word [edi + 6]
inc eax
add edx, 0x28
cmp eax, edi
jl 0x40a6f6
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x40a720
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 6]
mov edx, dword [eax + 0x54]
push ebx
lea ecx, [ecx + ecx*4]
push ebp
mov ebp, dword [esp + 0xc]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call sub.ntoskrnl.exe_memcpy
mov edx, dword [esi + 0x18]
xor eax, eax
add esp, 0xc
xor ebx, ebx
cmp ax, word [edx + 6]
jae 0x40a78d
push edi
xor edi, edi
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x40a77d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40a77d
push edx
mov edx, dword [eax + 0x14]
add edx, dword [esp + 0x18]
add ecx, ebp
push edx
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, ecx
jl 0x40a755
pop edi
mov dword [esi + 0x14], ebp
mov edx, dword [ebp + 0x3c]
lea eax, [edx + ebp]
mov dword [esi + 0x18], eax
add eax, 0xf8
pop ebp
mov dword [esi + 0x1c], eax
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x448b10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x448b32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x448b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448b28
mov eax, 1
add ebx, ebx
jne 0x448b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x448b5c
jne 0x448b6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448b6c
dec eax
add ebx, ebx
jne 0x448b68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x448b40
xor ecx, ecx
sub eax, 3
jb 0x448b84
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x448bf6
sar eax, 1
mov ebp, eax
jmp 0x448b8f
add ebx, ebx
jne 0x448b8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x448b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x448bc0
inc ecx
add ebx, ebx
jne 0x448bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x448ba1
jne 0x448bbd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x448ba1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x448be0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x448bd1
jmp 0x448b2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x448be0
add edi, ecx
jmp 0x448b2e
pop esi
mov edi, esi
mov ecx, 0x921
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x448bfe
cmp byte [edi], 7
jne 0x448bfe
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 eax, ebx
loop 0x448c03
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x448c7b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48990]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48a08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x448c30
mov ecx, edi
jns 0x448c5f
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 + 0x48a0c]
or eax, eax
je 0x448c75
mov dword [ebx], eax
add ebx, 4
jmp 0x448c4d
call dword [esi + 0x48a10]
popal
jmp 0x4150a0

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407a99
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
jmp 0x407a16
pop esi
push edx
push ebx
add esp, 4
sub edx, 0x15acb
xor edx, 0xad9c
and edx, 0xb8b6
pop edx
push edx
push esi
add esp, 4
xor edx, 0xad0f
sub edx, 0x2526
pop edx
lea edx, [ebp - 0x173c]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcbc], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push esi
add esi, 0x875d
sub esi, 0x63f8
pop esi
push edi
push esi
add esp, 4
add edi, 0xbed4
jmp 0x407a89
call 0x407a99
add byte [ebx], bh
xor al, 0x4e
inc ecx
cmp dword [edx], edi
cmp al, byte [ebx + 0x44]
cmp byte [ebx - 0x74a0fb3c], al
lea eax, [ebx + esi*8 - 1]
jmp dword [esi - 0x75]
add esp, 4
or edx, 0x10692
pop edx
push edx
and edx, 0xaf5d
pop edx
push esi
push ebx
add esp, 4
xor esi, 0x17120
pop esi
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xcc4]
je 0x407c44
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x407a0f
mov dword [ebp - 0x2fc], 0

Function at 0x407bd4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x407c4e

Function at 0x407bfa
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
jmp 0x407a16
pop esi
push edx
push ebx
add esp, 4
sub edx, 0x15acb
xor edx, 0xad9c
and edx, 0xb8b6
pop edx
push edx
push esi
add esp, 4
xor edx, 0xad0f
sub edx, 0x2526
pop edx
lea edx, [ebp - 0x173c]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcbc], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push esi
add esi, 0x875d
sub esi, 0x63f8
pop esi
push edi
push esi
add esp, 4
add edi, 0xbed4
jmp 0x407a89
call 0x407a99
add byte [ebx], bh
xor al, 0x4e
inc ecx
cmp dword [edx], edi
cmp al, byte [ebx + 0x44]
cmp byte [ebx - 0x74a0fb3c], al
lea eax, [ebx + esi*8 - 1]
jmp dword [esi - 0x75]
add esp, 4
or edx, 0x10692
pop edx
push edx
and edx, 0xaf5d
pop edx
push esi
push ebx
add esp, 4
xor esi, 0x17120
pop esi
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xcc4]
je 0x407c44
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x407a0f
mov dword [ebp - 0x2fc], 0
Function at 0x4128b0
Capabilities:
Encode data using xor

Disassembly:
add bl, byte [ebp + 0x53]
pop eax
test esi, eax
push es
sub ebx, 0x5a
inc ebx
add al, byte [edx]
pop ebx
test dword [edi + 0x101fef6], edi
add dl, byte [ecx]
xchg dword [edi], ecx
or eax, dword [edx]
add bh, byte [edx + 0x202026d]
push 0xe9ca878b
add dword [ecx], eax
mov ebx, 0x2020267
push 0xe9cc8f8b
add dword [ecx], eax
mov esp, 0x2020274
push 0xe9ce978b
add dword [ecx], eax
mov edx, 0x2020270
push 0xe9d0878b
add dword [ecx], eax
mov ebx, 0x2020267
push 0xe9d28f8b
add dword [ecx], eax
mov esp, 0x202026e
push 0xe9d4978b
add dword [ecx], eax
mov edx, 0x2020235
push 0xe9d6878b
add dword [ecx], eax
mov ebx, 0x2020234
push 0xe9d88f8b
add dword [ecx], eax
mov esp, 0x2020230
push 0xe9da978b
add dword [ecx], eax
mov edx, 0x2020266
push 0xe9dc878b
add dword [ecx], eax
mov ebx, 0x202026e
push 0xe9de8f8b
fsubp st(1)
add dword [ecx], eax
mov esp, 0x202026e
push 0xe9e0978b
add dword [ecx], eax
xor eax, 0x878b68c2
loop 0x41294b
add dword [ecx], eax
push ebp
pop ecx
test esi, eax
push es
xor ebp, 5
add al, byte [edx]
add al, byte [edx]
pop ebp
push edx
or edx, 0xffffff99
push ebx
add eax, dword [edx]
and edx, 0xffffff96
insd dword es:[edi], dx
add eax, dword [edx]
or edx, 0x47
out 2, eax
add bl, byte [edx + 0x55]
push edx
test esi, eax
push es
add ebp, 0x69
xor byte [ebx], al
add al, byte [ebx + 0x3854ecd]
add bl, byte [ebp - 0x38]
xchg esi, ebp
clc
add dword [ecx], eax
dec esi
enter 0xffffffffffffef87, 0xfffffffffffffff8
add dword [ecx], eax
jno 0x41296d
xchg eax, esi
clc
add dword [ecx], eax
arpl ax, cx
xchg ecx, esi
clc
add dword [ecx], eax
enter 0xfffffffffffff287, 0xfffffffffffffff8
add dword [ecx], eax
dec esi
enter 0xfffffffffffff387, 0xfffffffffffffff8
add dword [ecx], eax
imul ecx, eax, 0xffffff87
hlt
Function at 0x42bca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0042b890
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00451886
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452f00
add esp, 4
mov dword [ebp - 0xc], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00451886
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x42bcff
push 0
push 0
push 0xf
mov ecx, dword [ebp - 4]
call fcn.0042bdf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x42bddd
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.004479fa
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
push ecx
call fcn.00451488
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
je 0x42bd57
push 0
push 0
push 5
mov ecx, dword [ebp - 4]
call fcn.0042bdf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x42bddd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.00428df0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00429860
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42bda2
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42bdb8
push 0
push 0
push 0xf
mov ecx, dword [ebp - 4]
call fcn.0042bdf0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
jmp 0x42bddd
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax + 0x40]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x40]
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
mov esp, ebp
pop ebp
ret 4

Function at 0x430550
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret 8

Function at 0x430770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4307c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret 0x28

Function at 0x430900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x460345
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045ffec

Function at 0x460350
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00460176

Function at 0x466184
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00465cd1
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x402d53
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x403488
call fcn.0040323c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043a0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d98
cmp eax, esi
jne 0x402d8b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d9b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402d6f
xor esi, esi
inc esi
cmp dword [0x4043a4], esi
jne 0x402dad
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402de7
cmp dword [0x4043a4], ebx
jne 0x402de1
mov dword [0x4043a4], esi
push 0x4011a8
push 0x40119c
call fcn.00402ec2
pop ecx
pop ecx
test eax, eax
je 0x402de7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402ebc
mov dword [0x404034], esi
cmp dword [0x4043a4], esi
jne 0x402e0a
push 0x401198
push 0x401190
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043a4], 2
test edi, edi
jne 0x402e17
xor eax, eax
mov ecx, 0x4043a0
xchg dword [ecx], eax
cmp dword [0x4043a8], 0
je 0x402e43
push 0x4043a8
call fcn.00403090
pop ecx
test eax, eax
je 0x402e43
push ebx
push 2
push ebx
mov esi, dword [0x4043a8]
mov ecx, esi
call dword [0x40515c]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401a43
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402ea1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402eb5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403284
ret
call fcn.0055a000
jmp 0x402d53

Function at 0x402f94
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4034a8
call fcn.0040340c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402ff4
cmp eax, 0xffffffff
je 0x402ff4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402fed
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402fed
cmp edx, 0x10000000
jae 0x402fed
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402fea
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00403451
ret 4

Function at 0x403040
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 0x40307e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403076
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403080
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403066
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x405b6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xffffffff
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jecxz 0x405b8b
movzx edx, al
xor dl, byte [esi]
inc esi
shr eax, 8
xor eax, dword [edi + edx*4]
loop 0x405b7d
not eax
jmp 0x405b94
jmp 0x405b99
mov esp, ebp
pop ebp
ret 0xc