joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1049394e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [0x104a6a28], 0x242
mov dword [ebp - 0x10], eax
call fcn.104929b1
xor ecx, ecx
mov edx, dword [0x104a6a28]
mov esi, eax
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, edi
mov edi, dword [eax + edi]
cmp edi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
je 0x1049399d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffc697
mov dword [0x104a6a2c], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x1c]
add esi, 0xffffd5ad
mov dword [0x104a6a28], esi
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
jne 0x10493a2e
mov eax, dword [ebp - 0x34]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
setb bl
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x45], bl
xor eax, eax
mov cl, byte [ebp - 0x45]
test cl, 1
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
jne 0x10493a40
jmp 0x104939e6
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x20]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], bh
mov byte [ebp - 0x5e], cl
je 0x10493aab
mov eax, dword [ebp - 0x5c]
add eax, 1
mov cl, byte [ebp - 0x5d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x5e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x58], eax
jne 0x10493a5a
mov al, byte [ebp - 0x5e]
test al, 1
jne 0x10493ab7
jmp 0x104939f1
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x104a6a28], 0x238b
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
add eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x104939e6
Function at 0x10493ae7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x145d
mov dword [0x104a6a30], 0
mov dword [0x104a6a34], 0
mov dword [0x104a6a40], 0
mov dword [0x104a6a28], 0x145d
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10493c4c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, ecx
add ebx, 0x21fe
mov dword [0x104a6a28], ebx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x104a6a30], edx
add ecx, 0x3191
mov dword [0x104a6a2c], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x104a6a34], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x104a6a38], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x104a6a2c], 0x2b4
mov cl, byte [0x104a6a38]
mov edx, dword [0x104a6a34]
mov byte [edi + edx], cl
mov edx, dword [0x104a6a30]
movzx edx, byte [edi + edx]
mov ebx, dword [0x104a6a34]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x104a6a2c], 0xdf3
and ebx, 0xff
mov dword [0x104a6a40], ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10493c4c
mov eax, dword [0x104a6a28]
mov ecx, dword [0x104a6a30]
mov edx, dword [0x104a6a34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10493b52
mov dword [0x104a6a2c], 0x2692
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1049445e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x104a6a28]
add edi, 0xffffe7eb
mov dword [0x104a6a28], edi
mov dword [0x104a6a34], 0
mov byte [0x104a6a38], 0
mov dword [0x104a6a2c], 0x4dd
mov dword [0x104a6a30], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x104944d2
xor eax, eax
mov dword [0x104a6a28], 0x208
mov dword [0x104a6a30], 0
mov dword [ebp - 0x20], eax
jmp 0x1049451b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x104a6a28]
add eax, 0xfffffe61
mov dword [0x104a6a28], eax
mov eax, dword [0x104a6a30]
add eax, 1
mov dword [0x104a6a30], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x104944d2
jmp 0x104944b7
mov dword [0x104a6a28], 0x2088
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x104a6a3c], 0
mov dword [0x104a6a28], 0x959
mov edx, dword [0x104a6a34]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x104a6a3c], edi
mov dword [0x104a6a28], 0x1b47
mov eax, edi
cdq
idiv ecx
mov dword [0x104a6a34], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x104a6a38], cl
mov dword [0x104a6a2c], 0x5e8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x104a6a38]
mov edx, dword [0x104a6a34]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x104a6a30]
add edx, 1
mov dword [0x104a6a30], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1049451b
jmp 0x10494509
Function at 0x402600
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4025f0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40260e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
js 0x402632
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40266c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
loop 0x40263e
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402653
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je fcn.0040265c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402666
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402648
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4025d2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4026b9
dec eax
je 0x4026b0
sub eax, 3
je 0x4026a7
mov dword [ebp - 4], 0x40
jmp 0x4026d6
mov dword [ebp - 4], 4
jmp 0x4026bc
mov dword [ebp - 4], 0x20
jmp 0x4026bc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x402708
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x402688
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00401f19
mov esp, 0xff8a84fc
jne 0x402713
push 1
push esi
call edi
mov eax, esi
jmp 0x402714
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403aa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
invalid
Function at 0x403f0c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x403fbf
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
invalid
invalid
push 0
push 2
push 0
push 2
push 0x40000000
inc eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x403f63
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x403f68
jmp 0x4038bb
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x403faf
lea eax, [ebp - 0x714]
push eax
call fcn.00401f29
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00401ede
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x403fba
jmp 0x403fbf
jmp 0x4038bb
cmp dword [ebp - 0x37c], 0
jne 0x404069
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
invalid
invalid
Function at 0x404770
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4047d6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403b14
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004029a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4047c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4047dd
lea eax, [ebp - 0x10]
call fcn.004038b0
ret

Function at 0x4065cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x406605
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039a0
jmp 0x40660e
mov eax, ebx
mov edx, esi
call fcn.00403904
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0xe847408
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x35a95a34
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4011c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
push 0x15b200
mov dword [ebp - 0x20], edi
call fcn.00406c71
mov ecx, dword [edi + 4]
mov ebx, eax
inc ecx
mov dword [ebp - 0x28], ebx
shl ecx, 4
push ecx
call fcn.00406c71
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.004015c0
lea ecx, [esi + 0xf]
lea eax, [ebp - 0x14]
cmp eax, ecx
ja 0x401222
lea eax, [ebp - 5]
cmp eax, esi
jb 0x401222
movups xmm1, xmmword [esi]
movups xmmword [ebp - 0x14], xmm1
jmp 0x40122d
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x14], xmm0
movups xmm1, xmmword [ebp - 0x14]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], 0x15b20
mov eax, 0x41da70
sub edi, ebx
sub eax, ebx
mov esi, ebx
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
lea ebx, [eax + esi]
push esi
push ebx
call fcn.004012c0
lea eax, [esi + 0xf]
lea ecx, [ebp - 0x14]
cmp ecx, eax
ja 0x401280
lea eax, [ebp - 5]
cmp eax, esi
jb 0x401280
mov eax, esi
mov edx, 0x10
nop dword [eax]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x401270
jmp 0x401289
movups xmm0, xmmword [esi]
xorps xmm0, xmm1
movups xmmword [esi], xmm0
movups xmm1, xmmword [ebx]
mov eax, dword [ebp - 0x24]
sub edi, 0x10
add esi, 0x10
sub dword [ebp - 0x18], 1
movups xmmword [ebp - 0x14], xmm1
jne 0x401245
pop edi
pop esi
pop ebx
push dword [ebp - 0x1c]
call fcn.00406c29
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00406c1b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401a40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413be0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x41d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00401940
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
je 0x401bd8
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x401bd8
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
nop dword [eax + eax]
sub ecx, 4
mov dword [ebp - 0x1c], 0x2e8cf9b4
mov dword [ebp - 0x2c], ecx
dec edx
mov dword [ebp - 0x18], edx
mov ecx, dword [ecx]
add ecx, ebx
mov dl, byte [ecx]
inc ecx
mov byte [ebp - 0x11], dl
test dl, dl
mov edx, dword [ebp - 0x18]
je 0x401bcd
mov dl, byte [ebp - 0x11]
nop dword [eax]
movsx esi, dl
lea ecx, [ecx + 1]
imul edx, esi, 0xcc9e2d51
ror edx, 0x11
imul edi, edx, 0x1b873593
imul edx, esi, 0x51000000
xor edi, dword [ebp - 0x1c]
ror edx, 0x11
imul edx, edx, 0x1b873593
ror edi, 0x13
lea esi, [edi - 0x52250ec]
lea esi, [esi + esi*4]
xor esi, edx
xor esi, 1
mov edx, esi
shr edx, 0x10
xor edx, esi
imul esi, edx, 0x85ebca6b
mov edx, esi
shr edx, 0xd
xor edx, esi
imul esi, edx, 0xc2b2ae35
mov edx, esi
shr edx, 0x10
xor esi, edx
mov dl, byte [ecx - 1]
imul esi, esi, 0x539
mov dword [ebp - 0x1c], esi
test dl, dl
jne 0x401af0
mov edx, dword [ebp - 0x18]
cmp esi, 0x33215d9
jne 0x401bcd
mov eax, dword [ebp - 0x20]
push 0xa
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, ebx
add eax, ebx
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, ebx
call eax
lea ecx, [ebp - 0x30]
call fcn.00401940
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x28]
test eax, eax
jg 0x401bb9
jl 0x401b9f
cmp ecx, 0x2710
jae 0x401bb9
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
test edx, edx
jne 0x401ac0
mov eax, dword [eax]
jmp 0x401a91
Function at 0x407953
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407992
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407992
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407992
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407992
cmp dword [ecx + 0x74], 0xe
jbe 0x407992
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4108d1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41096e
push ebx
push esi
call fcn.0041089a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040f766
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41091b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41096d
push edi
push eax
call fcn.0040e3b0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41093b
call fcn.0040d780
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41096c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f766
add esp, 0x20
test eax, eax
jne 0x41095a
push edi
call fcn.0040d780
jmp 0x410962
push ebx
call fcn.0040d780
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x413970
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41399d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41399d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x53a769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x53e190
cmp edx, dword [eax]
je 0x53a78b
add eax, 8
inc ecx
cmp eax, 0x53e220
jl 0x53a77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x53e190]
jne 0x53a8b9
mov eax, dword [0x53ebb0]
cmp eax, 1
je 0x53a893
test eax, eax
jne 0x53a7bc
cmp dword [0x53e0e4], 1
je 0x53a893
cmp edx, 0xfc
je 0x53a8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x53a7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0053b670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0053b490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x53a836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0053b490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x53d45c
push edi
call fcn.0053bf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0053b670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0053b680
lea eax, [ebp - 0xa0]
push 0x53d43c
push eax
call fcn.0053b680
push dword [esi + 0x53e194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0053b680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0053be75
add esp, 0x2c
pop edi
jmp 0x53a8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x53e194]
push 0
push eax
push dword [esi]
call fcn.0053b490
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x271351a7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2b554e27
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret