joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f000
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov eax, 0x30
nop
mov edi, dword fs:[eax]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
mov edi, dword [edi]
mov edi, dword [edi + 8]
call 0x40f019
pop ebx
sub ebx, 0x401019
mov dword [ebx + 0x4011ed], edi
mov esi, edi
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011ed]
lea esi, [ebx + 0x4011c6]
nop
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x40f05a
pop esi
mov edx, esi
pop esi
jmp 0x40f06b
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x40f03b
sub esp, 4
jmp 0x40f18e
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011ed]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011ed]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011ed]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011ed]
lea eax, [ebx + 0x4011a1]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011bd]
push eax
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
lea ecx, [ebx + 0x401193]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011e1]
push eax
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x4011f1]
push ecx
push ecx
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
mov edx, 0x40112c
add edx, ebx
push edx
push eax
ret
jmp loc.00401f6f
Function at 0x40fa3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x64616f4c
mov dword [ebp - 0x3c], 0x6f736552
mov dword [ebp - 0x38], 0x65637275
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x40]
push eax
push 0x4082a8
call dword [0x4080dc]
push eax
call dword [0x4080d0]
mov dword [ebp - 8], eax
push 0x4082b8
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [0x4080a4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [0x4080c4]
mov dword [ebp - 4], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
call dword [0x4080d8]
cmp dword [ebp + 0x10], 0x65
jne 0x40fae2
mov dword [ebp - 0x1c], 0xc6f
cmp dword [ebp + 0x10], 0x66
jne 0x40faef
mov dword [ebp - 0x1c], 0x145
push dword [ebp - 4]
call fcn.00415585
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x44]
push dword [ebp - 0x10]
call fcn.00415573
add esp, 0xc
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.0040f5fb
push 0
push dword [ebp + 0x14]
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [fcn.004080a0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40fb4c
and dword [ebp - 0x14], 0
jmp 0x40fb61
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [fcn.004080bc]
cmp dword [ebp - 0x10], 0
je 0x40fb76
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.0041557f
pop ecx
cmp dword [ebp - 0x44], 0
je 0x40fb85
push dword [ebp - 0x44]
call dword [0x4080a8]
cmp dword [ebp - 0x18], 0xffffffff
je 0x40fb94
push dword [ebp - 0x18]
call dword [fcn.004080e8]
mov eax, dword [ebp - 0x14]
leave
ret 0x10
Function at 0x410f06
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
cmp dword [0x40c930], 0
jne 0x410f93
push 0x400
call fcn.00415585
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x40c930], eax
and dword [ebp - 8], 0
jmp 0x410f3c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x410f93
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 8
jmp 0x410f5b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x410f82
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x410f78
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
jmp 0x410f80
mov eax, dword [ebp - 0xc]
shr eax, 1
mov dword [ebp - 0xc], eax
jmp 0x410f54
mov eax, dword [ebp - 8]
mov ecx, dword [0x40c930]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
jmp 0x410f35
and dword [ebp - 0x14], 0
jmp 0x410fa0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x410fdc
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
movsx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x40c930]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x410f99
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 8
Function at 0x414443
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
or dword [ebp - 0x14], 0xffffffff
and dword [ebp - 0x40], 0
mov dword [ebp - 8], 0x4000
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0
push 0
push 2
call fcn.004155a9
test eax, eax
je 0x41447e
jmp 0x41461f
push dword [ebp - 8]
push 0x40
call dword [0x40804c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414497
jmp 0x41461f
mov dword [ebp - 0x3c], 0x74654e57
mov dword [ebp - 0x38], 0x6d756e45
mov dword [ebp - 0x34], 0x6f736552
mov dword [ebp - 0x30], 0x65637275
mov dword [ebp - 0x2c], 0x41
lea eax, [ebp - 0x3c]
push eax
push 0x408cf4
call dword [0x4080dc]
push eax
call dword [0x4080d0]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.00415579
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4145f6
and dword [ebp - 0x44], 0
jmp 0x41450e
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jae 0x4145f4
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 1
je 0x4145ce
or dword [ebp - 0x154], 0xffffffff
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x408cfc
lea eax, [ebp - 0x150]
push eax
call dword [fcn.00408218]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x150]
push eax
call dword [fcn.004080a0]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x4145ce
push dword [ebp - 0x154]
call dword [fcn.004080e8]
lea eax, [ebp - 0x150]
push eax
call dword [0x4080f0]
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x408950
lea eax, [ebp - 0x150]
push eax
call dword [fcn.00408218]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call fcn.00412d5e
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 2
je 0x4145ef
mov eax, dword [ebp - 0x44]
shl eax, 5
add eax, dword [ebp - 0xc]
push eax
call fcn.00414443
jmp 0x414507
jmp 0x414601
cmp dword [ebp - 0x40], 0x103
je 0x414601
jmp 0x41460e
cmp dword [ebp - 0x40], 0x103
jne 0x4144d3
push dword [ebp - 0xc]
call dword [0x408050]
push dword [ebp - 4]
call fcn.004155a3
leave
ret 4
Function at 0x4ebf20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x218000
lea edi, [esi - 0x97000]
push edi
jmp 0x4ebf3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ebf41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ebf30
mov eax, 1
add ebx, ebx
jne 0x4ebf53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ebf64
jne 0x4ebf83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ebf83
dec eax
add ebx, ebx
jne 0x4ebf70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ebf48
add ebx, ebx
jne 0x4ebf7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ebfd5
xor ecx, ecx
sub eax, 3
jb 0x4ebf9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ec00a
sar eax, 1
mov ebp, eax
jmp 0x4ebfa6
add ebx, ebx
jne 0x4ebfa6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ebf74
inc ecx
add ebx, ebx
jne 0x4ebfb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ebf74
add ebx, ebx
jne 0x4ebfc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ebfb6
jne 0x4ebfd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ebfb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ebff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ebfe6
jmp 0x4ebf36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ebff4
add edi, ecx
jmp 0x4ebf36
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ec012
cmp byte [edi], 0x11
jne 0x4ec012
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 0x4ec017
lea edi, [esi + 0xe4000]
mov eax, dword [edi]
or eax, eax
je 0x4ec08f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xffaf0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xffc6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ec044
mov ecx, edi
jns 0x4ec073
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 + 0xffc70]
or eax, eax
je 0x4ec089
mov dword [ebx], eax
add ebx, 4
jmp 0x4ec061
call dword [esi + 0xffc80]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ec0c0
cmp al, 0xef
ja 0x4ec0b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ec095
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ec0a2
mov ebp, dword [esi + 0xffc74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4ec0f4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x609c0d38
Capabilities:
Encode data using xor

Disassembly:
jmp 0x609c0d42
pushal
call 0x609c0d48
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0d38
mov al, byte [esp + 0x28]
cmp al, 1
je 0x609c0d6c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x609c0d75
mov eax, 0x9c0d38
add eax, ebp
add eax, 0x63
mov ecx, 0x5d1
mov edx, 0x748cbf56
xor byte [eax], dl
inc eax
dec ecx
jne 0x609c0d8c
jmp 0x609c0d9f
fstp qword [ebx + 0x566adfdd]
push esi
push esi
xlatb
xchg edi, eax
scasb al, byte es:[edi]
push esi
push esi
push esi
push ebp
wait
out dx, al
push ecx
push esi
push esi
push esi
in al, dx
jle 0x609c0e0d
push esi
push esi
mov eax, dword [0xdd9e55b4]
xlatb
pop edx
push esi
push esi
push esi
push ebp
xchg ebx, eax
push es
invalid
push edx
pop ds
pop ecx
shl dword [edx - 0x22565657], cl
jp 0x609c0e8a
invalid
mov esi, 0x564cd259
push esi
push esi
salc
lodsd eax, dword [esi]
mov edi, 0x5647d259
push esi
push esi
xor bh, dl
lodsd eax, dword [esi]
test eax, 0x43d25973
push esi
push esi
push esi
pop ss
mov edi, 0xa9a9a99a
jg 0x609c0ec7
outsd dx, dword [esi]
push edi
aad 0x97
push ebx
aad 0xbe
push edx
mov edi, 0xa9a9a9eb
jg 0x609c0ebe
outsd dx, dword [esi]
push esp
aad 0x97
push eax
aad 0xbc
push edx
aad 0xbe
push ebx
mov edi, 0xa9a9a9fd
fnstsw word [edx + 0x72]
invalid
Function at 0x4e8b8e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x48], 0
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 8], 0
mov eax, dword [0x4090cc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x64616f4c
mov dword [ebp - 0x40], 0x6f736552
mov dword [ebp - 0x3c], 0x65637275
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
push 0x4092e0
call dword [0x409104]
push eax
call dword [0x4090f4]
mov dword [ebp - 8], eax
push 0x4092f0
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [0x4090c8]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call dword [0x4090e8]
mov dword [ebp - 4], eax
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
call dword [0x4090fc]
cmp dword [ebp + 0x10], 0x65
jne 0x4e8c3c
mov dword [ebp - 0x20], 0x9b4
cmp dword [ebp + 0x10], 0x66
jne 0x4e8c49
mov dword [ebp - 0x20], 0xa7f
push dword [ebp - 4]
call fcn.004f0273
pop ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.004f0261
add esp, 0xc
push 0
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.004e86a1
push 0
push dword [ebp + 0x14]
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [fcn.004090c4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4e8ca6
and dword [ebp - 0x14], 0
jmp 0x4e8cbb
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [fcn.004090e0]
cmp dword [ebp - 0x10], 0
je 0x4e8cd0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
call fcn.004f026d
pop ecx
cmp dword [ebp - 0x48], 0
je 0x4e8cdc
push dword [ebp - 0x48]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4e8ceb
push dword [ebp - 0x1c]
call dword [fcn.00409110]
mov eax, dword [ebp - 0x14]
leave
ret 0x10
Function at 0x4ea5a2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
cmp dword [0x40e3b4], 0
jne 0x4ea62f
push 0x400
call fcn.004f0273
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x40e3b4], eax
and dword [ebp - 8], 0
jmp 0x4ea5d8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4ea62f
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 8
jmp 0x4ea5f7
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4ea61e
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x4ea614
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
jmp 0x4ea61c
mov eax, dword [ebp - 0xc]
shr eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4ea5f0
mov eax, dword [ebp - 8]
mov ecx, dword [0x40e3b4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
jmp 0x4ea5d1
and dword [ebp - 0x14], 0
jmp 0x4ea63c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x4ea678
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
movsx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x40e3b4]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x4ea635
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x4ebecf
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x4ef10d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
or dword [ebp - 0x14], 0xffffffff
and dword [ebp - 0x40], 0
mov dword [ebp - 8], 0x4000
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0
push 0
push 2
call fcn.004f02a3
test eax, eax
je 0x4ef148
jmp 0x4ef2e9
push dword [ebp - 8]
push 0x40
call dword [0x4090bc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ef161
jmp 0x4ef2e9
mov dword [ebp - 0x3c], 0x74654e57
mov dword [ebp - 0x38], 0x6d756e45
mov dword [ebp - 0x34], 0x6f736552
mov dword [ebp - 0x30], 0x65637275
mov dword [ebp - 0x2c], 0x41
lea eax, [ebp - 0x3c]
push eax
push 0x409e3c
call dword [0x409104]
push eax
call dword [0x4090f4]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.004f0267
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4ef2c0
and dword [ebp - 0x44], 0
jmp 0x4ef1d8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jae 0x4ef2be
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 1
je 0x4ef298
or dword [ebp - 0x154], 0xffffffff
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x409e44
lea eax, [ebp - 0x150]
push eax
call dword [0x40920c]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x150]
push eax
call dword [fcn.004090c4]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x4ef298
push dword [ebp - 0x154]
call dword [fcn.00409110]
lea eax, [ebp - 0x150]
push eax
call dword [0x409118]
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x409a0c
lea eax, [ebp - 0x150]
push eax
call dword [0x40920c]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call fcn.004ed700
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 2
je 0x4ef2b9
mov eax, dword [ebp - 0x44]
shl eax, 5
add eax, dword [ebp - 0xc]
push eax
call fcn.004ef10d
jmp 0x4ef1d1
jmp 0x4ef2cb
cmp dword [ebp - 0x40], 0x103
je 0x4ef2cb
jmp 0x4ef2d8
cmp dword [ebp - 0x40], 0x103
jne 0x4ef19d
push dword [ebp - 0xc]
call dword [0x4090b8]
push dword [ebp - 4]
call fcn.004f029d
leave
ret 4
Function at 0x401440
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1a68
call fcn.00414ff0
mov eax, dword [0x433dc0]
xor eax, esp
mov dword [esp + 0x1a64], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x206
lea eax, [esp + 0x72]
mov ebx, edx
push ebp
push eax
mov esi, ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x78], bp
call fcn.00414040
push esi
lea ecx, [esp + 0x7c]
push 0x104
push ecx
mov dword [esp + 0x28], ebp
call fcn.004118d4
add esp, 0x18
cmp word [esi], 0x22
lea edi, [esp + 0x6c]
jne 0x4014d9
lea eax, [esp + 0x6c]
lea edi, [esp + 0x6e]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4014a7
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x6a], 0x22
jne 0x4014d9
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4014c5
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x6a], bp
push 0x44
lea edx, [esp + 0x2c]
push ebp
push edx
call fcn.00414040
push 0xffe
lea eax, [esp + 0xa86]
push ebp
push eax
mov dword [esp + 0x40], 0x44
mov word [esp + 0xa8c], bp
call fcn.00414040
push ebx
push edi
push str._s__s
lea ecx, [esp + 0xa98]
push 0x800
push ecx
call fcn.0041142e
push 0x7fe
lea edx, [esp + 0x2a6]
push ebp
push edx
mov word [esp + 0x2ac], bp
call fcn.00414040
push esi
push str.__s_
lea eax, [esp + 0x2b4]
push 0x400
push eax
call fcn.0041142e
add esp, 0x48
lea ecx, [esp + 0xa74]
push ecx
push str.CreateProcess__s
call fcn.00402180
mov edi, eax
call fcn.00402660
add esp, 8
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
push 8
push ebp
push ebp
push ebp
lea ecx, [esp + 0xa94]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401626
push str.CreateProcess_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00402180
mov ecx, eax
call fcn.004027c0
add esp, 4
push str.Attempt_spawn_before_giving_up...
call fcn.00402180
mov edi, eax
call fcn.00402660
mov ebx, dword [esp + 0x18]
add esp, 4
push ebx
lea edx, [esp + 0x278]
push edx
push str._tspawnl__s__s
call fcn.00402180
mov edi, eax
call fcn.00402660
push ebp
push ebx
lea eax, [esp + 0x288]
push eax
push esi
push ebp
call fcn.00411bdc
add esp, 0x20
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40166f
call fcn.00411c66
push str.tspawn_failed
mov esi, eax
call fcn.00402180
mov ebx, dword [esi]
mov ecx, eax
call fcn.004027c0
add esp, 4
jmp 0x40166b
push str.Waiting_for_CreateProcess_to_complete
call fcn.00402180
mov edi, eax
call fcn.00402660
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1a74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004112e9
add esp, 0x1a68
ret
Function at 0x402040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402059
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402094
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402090
lea ebx, [ebx]
cmp esi, eax
jae 0x402094
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402080
cmp esi, eax
jb 0x40209a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret