joyce8/EMBER2024-capa huggingface dataset:
Function at 0x575010
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0x1f8
mov eax, 0x3f
shr ecx, 3
sub eax, ecx
lea edx, [esi + ecx + 0x1c]
mov byte [edx], 0x80
inc edx
cmp eax, 8
jge 0x57509f
push eax
push 0
push edx
call fcn.00578050
add esp, 0xc
xor eax, eax
mov ax, word [0x6360a8]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x57508c
lea eax, [esi + 0x1c]
mov ebp, 0x10
mov ecx, dword [eax]
add eax, 4
mov edx, ecx
shl edx, 0x10
shr ecx, 0x10
or edx, ecx
mov ecx, edx
shl ecx, 8
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
dec ebp
mov dword [eax - 4], edx
jne 0x575065
push esi
call fcn.005754b0
add esp, 4
lea eax, [esi + 0x1c]
push 0x38
push 0
push eax
jmp 0x5750a6
sub eax, 8
push eax
push 0
push edx
call fcn.00578050
add esp, 0xc
xor eax, eax
mov ax, word [0x6360a8]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x5750f2
lea ebp, [esi + 0x1c]
mov eax, 0x10
mov ecx, dword [ebp]
add ebp, 4
mov edx, ecx
shl edx, 0x10
shr ecx, 0x10
or edx, ecx
mov ecx, edx
shl ecx, 8
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
dec eax
mov dword [ebp - 4], edx
jne 0x5750ca
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], edi
call fcn.005754b0
add esp, 4
xor eax, eax
mov ax, word [0x6360a8]
and eax, 0xffffff00
cmp eax, 0x5000
je 0x575144
lea edx, [esi + 0x1c]
mov ecx, 0x10
mov eax, dword [edx]
add edx, 4
mov edi, eax
shl edi, 0x10
shr eax, 0x10
or edi, eax
mov eax, edi
shl eax, 8
shr edi, 8
xor edi, eax
and edi, 0xff00ff
xor edi, eax
dec ecx
mov dword [edx - 4], edi
jne 0x57511d
xor eax, eax
mov edx, esi
mov ecx, dword [esp + 0x14]
lea edi, [eax + ecx]
mov bl, byte [edx]
add edx, 4
add eax, 4
mov byte [edi], bl
mov ebx, dword [edx - 4]
mov byte [edi + 1], bh
mov ebx, dword [edx - 4]
shr ebx, 0x10
mov byte [edi + 2], bl
mov ebx, dword [edx - 4]
shr ebx, 0x18
cmp eax, 0x14
mov byte [edi + 3], bl
jb 0x57514c
push 0x5c
push 0
push esi
call fcn.00578050
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57a5f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax], 0x67452301
ret

Function at 0x57b0e0
Capabilities:
Encode data using xor

Disassembly:
xor cx, cx
sub esp, 0x3c
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [esp + 0x4c]
push ebp
movsx eax, cx
inc cx
or edx, dword [esi + eax*4]
movsx eax, cx
cmp eax, 5
jb 0x57b0f0
test edx, edx
jne 0x57b136
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edi
push eax
call fcn.005740e0
add esp, 8
push edi
call fcn.00574080
add esp, 4
lea eax, [edi + 0x14]
push eax
push edi
call fcn.005740e0
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00574770
lea eax, [esp + 0x40]
add esp, 8
push eax
call fcn.00574040
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x58]
add esp, 4
push eax
push ecx
push edx
call fcn.00574430
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
call fcn.00574080
add esp, 4
xor ecx, ecx
xor edx, edx
movsx eax, cx
inc cx
xor edx, dword [esp + eax*4 + 0x24]
movsx eax, cx
cmp eax, 5
jb 0x57b179
mov ax, 0x10
mov edi, 0xffffffff
mov cl, al
shr edi, cl
sar ax, 1
mov ebx, edi
and ebx, edx
shr edx, cl
xor ebx, edx
test ax, ax
mov edx, ebx
jg 0x57b193
test edx, edx
je 0x57b1d4
mov edi, dword [esp + 0x58]
push edi
call fcn.005740c0
add esp, 4
add edi, 0x14
push edi
call fcn.005740c0
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x10]
push eax
call fcn.005740c0
xor cx, cx
add esp, 4
mov edx, 1
movsx edi, cx
mov bx, 4
mov eax, edi
shr eax, 5
inc edi
shr edi, 5
sub bx, ax
mov ax, 4
sub ax, di
movsx edi, bx
lea ebp, [edi*4]
mov edi, dword [esp + edi*4 + 0x24]
xor edi, dword [esp + ebp + 0x10]
and edi, edx
cmp ax, bx
jne 0x57b229
movsx eax, ax
add edi, edi
add edx, edx
or dword [esp + eax*4 + 0x10], edi
jmp 0x57b239
mov edx, 1
test edi, edi
je 0x57b239
movsx eax, ax
mov dword [esp + eax*4 + 0x10], edx
inc cx
cmp cx, 0x9e
jl 0x57b1e9
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
xor eax, dword [esp + 0x10]
push edi
test eax, 0x20000000
je 0x57b277
add edi, 0x14
call fcn.005740c0
add esp, 4
push edi
call fcn.005740c0
add esp, 4
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00574430
add esp, 0xc
lea eax, [edi + 0x14]
push eax
call fcn.005740c0
xor cx, cx
add esp, 4
movsx eax, cx
shl eax, 2
inc cx
lea edx, [edi + eax]
mov eax, dword [esi + eax]
xor eax, dword [edx]
mov dword [edx + 0x14], eax
movsx edx, cx
cmp edx, 5
jb 0x57b294
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x57b2c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x30]
push edi
push eax
push esi
call fcn.005740e0
lea ecx, [esp + 0x10]
add esp, 8
push ecx
call fcn.00574040
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
add esp, 4
push eax
push ecx
push esi
call fcn.00574430
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp word [esi], 0
push edi
je 0x57b319
lea eax, [esi + 2]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00574430
add esp, 0xc
jmp 0x57b321
call fcn.005740c0
add esp, 4
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esi + eax + 0x16]
xor ecx, dword [esp + eax + 0x1c]
xor dword [edi + eax], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b324
pop edi
pop esi
add esp, 0x28
ret

Function at 0x57b350
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
push ebp
push eax
call fcn.005740c0
lea eax, [esp + 0x50]
add esp, 4
push eax
call fcn.005740c0
xor cx, cx
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
add esp, 4
movsx eax, cx
inc cx
lea edi, [eax*4]
lea eax, [edi + ebx]
lea edx, [edi + esi]
mov ebp, dword [eax]
mov eax, dword [eax + 0x14]
xor ebp, dword [edx]
xor eax, dword [edx + 0x14]
movsx edx, cx
mov dword [esp + edi + 0x38], ebp
mov dword [esp + edi + 0x4c], eax
cmp edx, 5
jb 0x57b37f
lea eax, [esp + 0x60]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00574770
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
lea eax, [esp + 0x68]
add esp, 8
push ecx
push edx
push eax
call fcn.00574430
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
add esp, 0xc
push ecx
push edx
call fcn.005740e0
lea ecx, [esp + 0x18]
add esp, 8
push ecx
call fcn.00574040
mov ecx, dword [esp + 0x88]
add esp, 4
cmp word [ecx], 0
je 0x57b431
xor dx, dx
mov edi, dword [esp + 0x80]
movsx eax, dx
shl eax, 2
inc dx
mov ebp, dword [eax + ecx + 2]
xor ebp, dword [eax + ebx]
xor ebp, dword [eax + esi]
xor ebp, dword [esp + eax + 0x10]
xor ebp, dword [esp + eax + 0x24]
mov dword [eax + edi], ebp
movsx eax, dx
cmp eax, 5
jb 0x57b40a
jmp 0x57b45c
xor cx, cx
mov edi, dword [esp + 0x80]
movsx eax, cx
shl eax, 2
inc cx
mov edx, dword [eax + ebx]
xor edx, dword [eax + esi]
xor edx, dword [esp + eax + 0x10]
xor edx, dword [esp + eax + 0x24]
mov dword [eax + edi], edx
movsx eax, cx
cmp eax, 5
jb 0x57b43b
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + edi]
xor ecx, dword [eax + esi]
mov dword [esp + eax + 0x38], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b45f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.00574430
xor dx, dx
add esp, 0xc
movsx eax, dx
inc dx
mov ebx, dword [esi + eax*4 + 0x14]
xor ebx, dword [esp + eax*4 + 0x10]
lea ecx, [eax*4]
lea eax, [ecx + edi]
xor ebx, dword [eax]
mov dword [eax + 0x14], ebx
movsx eax, dx
cmp eax, 5
jb 0x57b493
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x57b4c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
mov esi, dword [esp + 0x74]
push eax
push esi
call fcn.00574770
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.00574430
xor dx, dx
add esp, 0xc
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + esi]
xor ecx, dword [esp + eax + 0xc]
mov dword [esp + eax + 0x20], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b4f1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005740e0
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.00574040
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x57b560
xor cx, cx
mov edi, dword [esp + 0x78]
movsx eax, cx
shl eax, 2
inc cx
mov ebx, dword [eax + edx + 2]
xor ebx, dword [esp + eax + 0x20]
xor ebx, dword [esp + eax + 0x48]
mov dword [eax + edi], ebx
movsx eax, cx
cmp eax, 5
jb 0x57b53f
jmp 0x57b582
xor dx, dx
mov edi, dword [esp + 0x78]
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor ecx, dword [esp + eax + 0x48]
mov dword [eax + edi], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b567
xor cx, cx
mov edx, 0xffffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0xc], edx
movsx ebx, cx
cmp ebx, 5
jb 0x57b58a
and dword [esp + 0xc], 0x3fffffff
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0xc], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b5a6
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.00574430
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.005740e0
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.00574040
xor dx, dx
add esp, 4
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x5c]
xor ecx, dword [esp + eax + 0x34]
mov dword [eax + edi + 0x14], ecx
movsx eax, dx
cmp eax, 5
jb 0x57b5ef
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x57b620
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x34]
push edi
push eax
push esi
xor di, di
call fcn.005740e0
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.005740c0
add esp, 4
movsx eax, di
inc di
lea ecx, [eax*4]
mov edx, dword [esi + ecx + 0x14]
lea eax, [esi + ecx]
xor edx, dword [eax]
movsx eax, di
mov dword [esp + ecx + 0x1c], edx
cmp eax, 5
jb 0x57b647
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.0057b350
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
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.00402767
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00402767
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00402767
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402767
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00402767
mov dword [0x41203c], eax
call fcn.00402767
test eax, eax
jge 0x402550
push 8
call fcn.00402767
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402767
pop ecx
push 1
call fcn.00402767
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402767
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.00402767
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00402767
jmp 0x402495
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x407467
pop dword [ebp - 0x38]
mov eax, 0xefd3d6a0
sub eax, 0xef936239
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8f9ca82
add dword [ebp - 0x48], 0x45587ac9
mov dword [ebp - 0x44], 0x17bba1ce
sub dword [ebp - 0x44], 0xe5885589
mov dword [ebp - 0x40], 0x29540740
sub dword [ebp - 0x40], 0xdd07c312
mov dword [ebp - 0x3c], 0xb64923b1
sub dword [ebp - 0x3c], 0xb64923b1
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6d639906
add eax, 0x92dce772
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xd62bb69d
sub dword [ebp - 0x48], 0x61b94d47
mov dword [ebp - 0x44], 0x544aef6a
add dword [ebp - 0x44], 0xed21720b
mov dword [ebp - 0x40], 0x544e6b76
add dword [ebp - 0x40], 0xf2100f6
mov dword [ebp - 0x3c], 0xbd7ad385
add dword [ebp - 0x3c], 0x42852c7b
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3b5b8
push 0
call eax
mov ecx, 0x5906
mov edx, eax
mov ebx, 0x40232c17
sub ebx, 0x3fdd9a17
add ebx, dword [ebp - 0x38]
mov edi, 0xc49424e3
add edi, 0x810f7526
add dword [ebp - 4], 0xfe921050
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0x76dba667
sub esi, edi
mov dword [ebp - 0x2c], 0xa54ebb65
mov dword [edx], esi
sub dword [ebp - 0x28], eax
add edx, 0x16da9ca2
sub edx, 0x16da9c9e
add ebx, 0x3f66d376
add ebx, 0xc0992c8e
loop 0x40757e
add eax, 0x156eb
xor ebx, ebx
add ebx, eax
add eax, 0x7409465f
sub eax, 0x7409465a
mov ecx, 0x3483761d
add ecx, 0xcbbc89e3
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x300021fd
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x30002ff0
call fcn.30002680
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x30004584
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30001fa0
cmp eax, esi
jne 0x30001f93
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30001fa3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30001f7a
xor esi, esi
inc esi
mov eax, dword [0x30004580]
cmp eax, esi
jne 0x30001fb6
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30001fe5
mov eax, dword [0x30004580]
test eax, eax
jne 0x30001fdf
mov dword [0x30004580], esi
push 0x30001210
push 0x30001208
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30001fe5
jmp 0x30002109
mov dword [0x30004228], esi
mov eax, dword [0x30004580]
cmp eax, esi
jne 0x30002009
push 0x30001204
push 0x300011f4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30004580], 2
cmp dword [ebp - 0x20], ebx
jne 0x30002016
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30004590], ebx
je 0x30002037
push 0x30004590
call fcn.30002608
pop ecx
test eax, eax
je 0x30002037
push ebx
push 2
push ebx
call dword [0x30004590]
mov eax, dword [sym.imp.MSVCR80.dll__wcmdln]
cmp dword [eax], ebx
je 0x30002109
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x300020a1
cmp cx, bx
je 0x3000205c
cmp dword [ebp - 0x1c], ebx
jne 0x300020a1
movzx ecx, word [eax]
cmp cx, bx
je 0x30002071
cmp cx, 0x20
ja 0x30002071
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x3000205c
test byte [ebp - 0x40], 1
je 0x3000207d
movzx ecx, word [ebp - 0x3c]
jmp 0x30002080
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x30000000
call main
mov dword [0x30004224], eax
cmp dword [0x30004218], ebx
jne 0x300020e6
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp cx, 0x22
jne 0x300020b2
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x30002046
cmp dword [0x30004228], ebx
jne 0x300020f4
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30004224]
jmp 0x30002115
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.300026c5
ret
call fcn.30001e2f
jmp 0x30001f3d
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push edi
mov edi, str.http:__ehdehdfl.net_ex.html_search
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401030
push 1
push eax
push eax
push str.http:__ehdehdfl.net_ex.html_search
push str.OPEN
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
ret 0x10
Function at 0x10013a4
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x248]
mov edi, 0xfffff758
and eax, edi
or eax, dword [ebp + 8]
push eax
lea eax, [esi + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10013e4
mov eax, dword [esi + 0x248]
and eax, edi
or eax, dword [ebp + 8]
mov dword [esi + 0x248], eax
mov al, 1
jmp 0x10013f5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10013f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop edi
pop esi
pop ebp
ret 8

Function at 0x401a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x438810]
push dword [0x438810]
push 0x401a7b
jmp fcn.004015b0
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x406243
pop dword [ebp - 0x48]
mov eax, 0x406243
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x212d3fe8
sub dword [ebp - 0x58], 0xd2dafa9d
mov dword [ebp - 0x54], 0x35f60589
add dword [ebp - 0x54], 0xfc3d46bc
mov dword [ebp - 0x50], 0x150557e4
sub dword [ebp - 0x50], 0xc8b913b6
mov dword [ebp - 0x4c], 0xbd353aa6
sub dword [ebp - 0x4c], 0xbd353aa6
lea eax, [ebp - 0x58]
push eax
mov eax, 0x181c4225
sub eax, 0x17dbc121
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x90c05d5e
sub dword [ebp - 0x58], 0x1c4df408
mov dword [ebp - 0x54], 0x8479c8c6
sub dword [ebp - 0x54], 0x430d6751
mov dword [ebp - 0x50], 0x3773248f
sub dword [ebp - 0x50], 0xd403b823
mov dword [ebp - 0x4c], 0x7fb4c41f
add dword [ebp - 0x4c], 0x804b3be1
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xd39307cd
sub eax, 0xd35286cd
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3985b
push 0
call eax
mov ecx, 0x895dca5c
add ecx, 0x76a287a3
mov esi, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x48]
mov ebx, 0x2aabc83c
sub dword [ebp - 4], 0x6d47fe1b
mov edx, dword [edi]
sub dword [ebp - 0x20], 0xc4535969
add edx, ebx
xor dword [ebp - 0x10], edx
mov dword [esi], edx
mov dword [ebp - 0x2c], 0x9e193b23
add esi, 0xe51ff820
sub esi, 0xe51ff81c
add edi, 0xa4a153e2
sub edi, 0xa4a153de
loop 0x406354
add eax, 0x13acf
mov ebx, eax
add eax, 0x1d8b726d
add eax, 0xe2748d98
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x40353d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0x234
test eax, 0x5bb68838
jne 0x403563
push 0x401078
push dword [section..data]
call sub.USER32.dll_LoadIconA
push 0xffffffffffffffff
push dword [0x404004]
call sub.GDI32.dll_GetDeviceCaps
nop
call sub.KERNEL32.DLL_GetOEMCP
mov esi, dword [0x404008]
test ax, 0xd8b5
je 0x403596
and esi, dword [0x40400c]
push 0x401088
call sub.msvcrt.dll_remove
pop ecx
mov ebx, dword [ebp - 8]
push 0
call sub.msvcrt.dll_time
pop ecx
neg edx
mov byte [0x404010], 0xdc
sbb dword [ebp - 0xc], 0xffffffff
and dword [ebp - 0x10], 0xd4fbc0
push 0x40109c
call sub.msvcrt.dll_strlen
pop ecx
mov dx, word [0x404014]
or dword [0x404018], 0x19c
mov byte [0x404010], ch
and ecx, dword [0x40401c]
call sub.KERNEL32.DLL_GetACP
mov byte [ebp - 0x14], dl
push 0x4010b0
push ebx
call sub.USER32.dll_LoadIconA
call sub.KERNEL32.DLL_GetTickCount
mov bx, word [0x404014]
bswap eax
push 0x210
call sub.msvcrt.dll_srand
pop ecx
add edi, dword [ebp - 0x10]
push 0x4010c4
call sub.msvcrt.dll_remove
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
push 0
push 0
push 0xb
push 0
push 0x4036aa
push 0
push 0x404008
call sub.KERNEL32.DLL_CreateTimerQueueTimer
or eax, eax
jne 0x40363e
push 0
call sub.KERNEL32.DLL_ExitProcess
push 0xffffffffffffffff
call sub.KERNEL32.DLL_Sleep
test eax, 0x9ec0d1e2
je 0x40365c
or dword [0x4068f4], 0x247120
mov word [0x404014], ax
leave
ret