joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d2a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41d2c3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d2d3
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41d3f5
test ebx, ebx
jl 0x41d3f5
test esi, esi
jle 0x41d3f5
mov eax, dword [ebp - 8]
call fcn.00407d78
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407d78
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41d392
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41d3f5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41d377
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41d346
inc dword [ebp - 0x14]
jmp 0x41d356
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41d356
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41d361
or eax, 0xffffffff
jmp 0x41d377
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41d374
inc eax
jmp 0x41d377
or eax, 0xffffffff
test eax, eax
jl 0x41d37f
cmp esi, eax
jg 0x41d334
cmp esi, eax
jg 0x41d38a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41d3f8
inc edx
dec dword [ebp - 0x1c]
jne 0x41d330
jmp 0x41d3f5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41d3f5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41d3dc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41d3bb
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41d3c6
or eax, 0xffffffff
jmp 0x41d3dc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41d3d9
inc eax
jmp 0x41d3dc
or eax, 0xffffffff
test eax, eax
jl 0x41d3e4
cmp esi, eax
jg 0x41d3a4
cmp esi, eax
jg 0x41d3ef
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41d3f8
inc edx
dec dword [ebp - 0x1c]
jne 0x41d3a0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42196c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov eax, dword [0x4236ac]
mov byte [eax], 1
mov eax, 0x41df94
call fcn.0040cf64
mov esi, dword [0x4235b4]
mov eax, esi
mov edx, 0x421a9c
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421b18
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421b78
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421c04
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421c98
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov ebx, 5
mov eax, esi
mov dx, 0x2e
call fcn.00405744
call fcn.00405030
call fcn.0040464c
push 0x1f4
call sub.kernel32.dll_Sleep
dec ebx
jne 0x421a0b
mov eax, esi
call fcn.00405854
call fcn.0040464c
push 0
push 0x421d10
push 0x421d28
push 0x421db0
push 0
push 0
call sub.shell32.dll_ShellExecuteW
push 0x1f4
call sub.kernel32.dll_Sleep
mov eax, esi
mov edx, 0x421dd0
call fcn.00405640
call fcn.00405854
call fcn.0040464c
push 0x3e8
call sub.kernel32.dll_Sleep
push 1
push 0x421df0
call sub.kernel32.dll_WinExec
pop esi
pop ebx
call fcn.004075e4
mov al, 4
add al, byte [eax]
Function at 0x4e6a55
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004e69d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4e6bcd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4e6bcd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4e6b7c
jg 0x4e6aae
test eax, eax
je 0x4e6b72
push 1
push 0x1000
call fcn.004de49c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e6ad4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4e6b69
push 0x8000
push ebx
call fcn.004dc3fb
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4e6b00
jg 0x4e6afb
cmp ecx, 0x1000
jb 0x4e6b00
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004e124e
add esp, 0x10
cmp eax, 0xffffffff
je 0x4e6b45
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4e6afb
jl 0x4e6b2c
test ecx, ecx
jne 0x4e6aed
push dword [ebp - 0xc]
push ebx
call fcn.004dc3fb
push esi
call fcn.004dcfed
add esp, 0xc
xor edi, edi
jmp 0x4e6bde
cmp byte [edi + 0x24], 0
je 0x4e6b5c
cmp dword [edi + 0x20], 5
jne 0x4e6b5c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4e6b67
mov edi, dword [edi + 0x18]
jmp 0x4e6b69
xor edi, edi
push esi
call fcn.004dcfed
pop ecx
jmp 0x4e6bde
test ecx, ecx
jg 0x4e6b3e
jl 0x4e6b7c
test eax, eax
jae 0x4e6b3e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004dfbec
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4e6b9f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4e6b3e
jmp 0x4e6bd6
push ebx
call fcn.004e2ca8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4e6b3e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4e6bde
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4e6bdb
mov edi, dword [edi + 0x18]
jmp 0x4e6bde
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004dfbec
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
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 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x737e0568
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc_1
nop
mov ebx, 0x42cd70
mov ecx, 0x28e0233f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10062ff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c028]
jne 0x1006310
test ecx, 0xffff0000
jne 0x1006310
ret
jmp fcn.0100631a

Function at 0x10078d7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007914
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x10078f1
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007930
dec esi
je 0x1007929
dec esi
jne 0x1007935
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x419030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x419052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419048
mov eax, 1
add ebx, ebx
jne 0x41906b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419060
jne 0x41907c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419060
xor ecx, ecx
sub eax, 3
jb 0x419090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419102
mov ebp, eax
add ebx, ebx
jne 0x41909b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4190a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4190cc
inc ecx
add ebx, ebx
jne 0x4190b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4190ad
jne 0x4190c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4190ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4190ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4190dd
jmp 0x41904e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4190ec
add edi, ecx
jmp 0x41904e
pop esi
mov edi, esi
mov ecx, 0x140
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41910a
cmp byte [edi], 2
jne 0x41910a
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 0x41910f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41917e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41913c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19c4c]
or eax, eax
je 0x419178
mov dword [ebx], eax
add ebx, 4
jmp 0x419159
call dword [esi + 0x19c50]
popal
jmp 0x403c73
Function at 0x407d9c
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 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
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 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10

Function at 0x401d5f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d9e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d9e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d9e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d9e
cmp dword [ecx + 0x74], 0xe
jbe 0x401d9e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2ab11838
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x47f92c6c
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4d23a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x495015
lea edi, [esi - 0x94015]
push edi
or ebp, 0xffffffff
jmp 0x4d23c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d23c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d23b8
mov eax, 1
add ebx, ebx
jne 0x4d23db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d23ec
jne 0x4d240b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d240b
dec eax
add ebx, ebx
jne 0x4d23f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d23d0
add ebx, ebx
jne 0x4d2407
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d245d
xor ecx, ecx
sub eax, 3
jb 0x4d2423
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d2492
sar eax, 1
mov ebp, eax
jmp 0x4d242e
add ebx, ebx
jne 0x4d242e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d23fc
inc ecx
add ebx, ebx
jne 0x4d243c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d23fc
add ebx, ebx
jne 0x4d2449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d243e
jne 0x4d245a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d243e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d247c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d246e
jmp 0x4d23be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d247c
add edi, ecx
jmp 0x4d23be
pop esi
mov edi, esi
mov ecx, 0x2ce8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d249a
cmp byte [edi], 7
jne 0x4d249a
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 0x4d249f
lea edi, [esi + 0xd0000]
mov eax, dword [edi]
or eax, eax
je 0x4d250e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd2050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d24cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd2058]
or eax, eax
je 0x4d2508
mov dword [ebx], eax
add ebx, 4
jmp 0x4d24e9
call dword [esi + 0xd2054]
mov ebp, dword [esi + 0xd205c]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xd2569]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d255a
sub esp, 0xffffff80
jmp 0x401500
Function at 0x402e0f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x4127f0
call fcn.00404cf0
call fcn.004049c6
movzx esi, ax
push 2
call fcn.004047c6
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x402cc6
xor ebx, ebx
jmp 0x402cf9
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x402cc2
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x402cc2
sub ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x402cf9
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004041e8
test eax, eax
jne 0x402d0d
push 0x1c
call fcn.00402de8
pop ecx
call fcn.00403c4b
or eax, eax
jne 0x402d1e
push 0x10
call fcn.00402de8
pop ecx
call fcn.004048ad
and dword [ebp - 4], 0
call fcn.004041fd
test eax, eax
jns 0x402d38
push 0x1b
call fcn.00402de8
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x484150], eax
call fcn.004048ed
mov dword [0x482144], eax
call fcn.004044ab
test eax, eax
jns 0x402d5e
push 8
call fcn.00403d26
pop ecx
call fcn.004046e4
or eax, eax
jns 0x402d6f
push 9
call fcn.00403d26
pop ecx
push 1
call fcn.00403d60
pop ecx
or eax, eax
je 0x402d82
push eax
call fcn.00403d26
pop ecx
call fcn.00404c9d
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
or ebx, ebx
jne 0x402da4
push esi
call fcn.00403fbc
call fcn.00403d51
jmp 0x402dd9
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00404d35
ret
call fcn.00404813
jmp 0x402c98
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x648e0219
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x3c345ef2
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40149b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.00401494
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d5e90c]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401524
push 0x418248
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d5e90c]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d5e908]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d5e908], eax
mov eax, dword [0x2d5e860]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d5e860], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d5e904], 0xf4ea3dee
call fcn.00401471
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014ec
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015f4
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d5e90c]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d5e864]
test esi, esi
je 0x40163a
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x401625
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.0040149b
add edi, 8
dec esi
je 0x401639
mov eax, dword [0x2d5e90c]
jmp 0x40160d
pop ebx
pop edi
pop esi
ret 4