joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d41d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x56617c]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 0xf
ja 0x4d4338
je 0x4d42f4
sub eax, 1
je 0x4d42ce
sub eax, 1
je 0x4d4289
sub eax, 4
jne 0x4d4230
movzx ecx, word [ebp + 0x10]
mov eax, dword [edi + 0x68]
test cx, cx
jne 0x4d4245
and dword [eax], 0xfffffffe
call fcn.004296f0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d4230
mov eax, dword [ecx]
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
or dword [eax], 1
cmp ecx, 2
jne 0x4d4254
push esi
call dword [sym.imp.USER32.dll_SetCapture]
call fcn.004296f0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d4265
mov eax, dword [ecx]
call dword [eax + 0xc]
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push SysReAllocStringLen
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x68]
or dword [eax], 2
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
push 0x6c
push dword [0x59287c]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [edi + 0x78], eax
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 8]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0xa1
je 0x4d4384
sub eax, 2
je 0x4d4384
sub eax, 0x6f
jne 0x4d4230
cmp dword [ebp + 0x10], 0xf060
jne 0x4d4230
push eax
push 0x9c41
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 3
jne 0x4d4230
mov ecx, dword [esp + 0x4c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d43e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x104], 0
jne 0x4d43f6
xor eax, eax
pop esi
pop ebp
ret 4
movzx eax, byte [ebp + 8]
push edi
movzx edi, byte [eax + 0x57e950]
lea eax, [edi - 0xa0]
cmp eax, 3
ja case.default.0x4d440d
jmp dword [eax*4 + 0x4d4430]
push edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sets al
mov byte [edi + esi + 4], al
movzx eax, byte [edi + esi + 4]
pop edi
pop esi
pop ebp
ret 4
Function at 0x4d9050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52989d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
test esi, esi
jle 0x4d9173
cmp dword [ebp + 0x14], 0
jle 0x4d9173
mov eax, dword [edi]
mov dword [ebp - 0x14], edi
call dword [eax + 0x34]
push dword [ebp - 0x1c]
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
push dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp - 0x18]
add edi, eax
push 1
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
cdq
and edx, 3
add eax, edx
and eax, 0xfffffffc
mov dword [ebp - 0x1c], eax
nop
xor ecx, ecx
cmp esi, 0x10
jb 0x4d9150
movaps xmm2, xmmword [0x54d110]
lea eax, [edi + 0x20]
mov edx, esi
and edx, 0xfffffff0
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pxor xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x4d9106
mov eax, dword [ebp - 0x1c]
cmp ecx, esi
jge 0x4d915c
nop word [eax + eax]
xor dword [edi + ecx*4], 0xffffff
inc ecx
cmp ecx, esi
jl 0x4d9150
add edi, eax
sub dword [ebp + 0x14], 1
jne 0x4d90f0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d9b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jle 0x4d9c74
cmp dword [ebp + 0x20], 1
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x4d9b56
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp + 0x14], eax
push eax
push esi
push edi
call fcn.004ffc30
add edi, dword [ebp + 0x18]
add esp, 0xc
add esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
sub ebx, 1
jne 0x4d9b36
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
xor ecx, ecx
test edx, edx
jle 0x4d9c5d
cmp edx, 0x10
jb 0x4d9c35
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
lea esi, [edx - 1]
lea esi, [edi + esi*4]
cmp edi, eax
ja 0x4d9b8d
cmp esi, ebx
jae 0x4d9c35
movaps xmm3, xmmword [0x54d110]
lea esi, [ebx + 0x30]
movaps xmm4, xmmword [0x54d1a0]
mov eax, edx
and eax, 0xfffffff0
mov edx, ebx
sub edx, edi
mov dword [ebp + 0x20], eax
mov dword [ebp + 8], edx
lea eax, [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x10
lea eax, [eax + 0x40]
lea esi, [esi + 0x40]
pand xmm0, xmm4
movups xmm1, xmmword [esi - 0x70]
movups xmm2, xmmword [ebx + eax - 0x40]
pand xmm1, xmm3
por xmm1, xmm0
pand xmm2, xmm3
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm4
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
por xmm2, xmm1
movaps xmm1, xmm4
movups xmmword [eax - 0x40], xmm2
movups xmm0, xmmword [eax - 0x30]
movups xmm2, xmmword [esi - 0x50]
pand xmm1, xmm0
pand xmm2, xmm3
por xmm2, xmm1
movups xmm1, xmmword [esi - 0x40]
movups xmmword [eax - 0x30], xmm2
pand xmm1, xmm3
movups xmm0, xmmword [eax - 0x20]
pand xmm0, xmm4
por xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp + 0x20]
jl 0x4d9bb6
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
cmp ecx, edx
jge 0x4d9c5a
mov esi, ebx
lea eax, [edi + ecx*4]
sub esi, edi
sub edx, ecx
nop
mov ecx, dword [eax + esi]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
and ecx, 0xffffff
xor dword [eax - 4], ecx
sub edx, 1
jne 0x4d9c40
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add ebx, dword [ebp + 0x1c]
add edi, dword [ebp + 0x18]
sub eax, 1
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], eax
jne 0x4d9b62
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
Function at 0x4e23e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x4e2446
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4e1f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x4e2446
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4e2448
movzx eax, ax
or eax, 0x80070000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fe27d
mov esp, ebp
pop ebp
ret
Function at 0x4e4b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
lea esi, [ebx + 0x4b40c]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebx + 0x4b428]
mov ecx, edx
add ecx, dword [ebx + 0x4b430]
adc eax, dword [ebx + 0x4b434]
cmp eax, dword [ebx + 0x4b42c]
jl 0x4e4bed
jg 0x4e4be5
cmp ecx, edi
jbe 0x4e4bed
sub edi, dword [ebx + 0x4b430]
jmp 0x4e4bef
mov edi, edx
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0xc]
push dword [ebx + 0x4b424]
call dword [sym.imp.KERNEL32.dll_ReadFile]
add dword [ebx + 0x4b430], edi
mov eax, dword [ebp - 0x10]
adc dword [ebx + 0x4b434], 0
push esi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f3f30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x98
movaps xmm5, xmmword [ecx]
movaps xmm6, xmm1
movaps xmm1, xmmword [ecx + 0x20]
movaps xmm3, xmm5
movaps xmm4, xmmword [ecx + 0x30]
movaps xmmword [ebp - 0x90], xmm1
xorps xmm1, xmm1
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [ecx + 0x10]
shufps xmm3, xmm5, 0xee
movaps xmm2, xmm0
cmpeqps xmm1, xmm3
push esi
push edi
mov edi, edx
shufps xmm2, xmm0, 0xee
movaps xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x54a470]
andps xmm0, xmm1
movaps xmmword [ebp - 0x80], xmm4
andnps xmm1, xmm3
movss xmm7, dword [ecx + 0x38]
orps xmm0, xmm1
mov ecx, dword [ecx + 0x44]
movaps xmmword [ebp - 0x50], xmm5
mov dword [ebp - 4], ecx
movaps xmmword [ebp - 0x30], xmm3
movaps xmmword [ebp - 0x20], xmm2
divps xmm4, xmm0
movaps xmmword [ebp - 0x40], xmm4
test cl, 4
je 0x4f3fcd
mulps xmm5, xmm6
mulps xmm3, xmm6
movaps xmmword [ebp - 0x50], xmm5
movaps xmmword [ebp - 0x30], xmm3
jmp 0x4f3fd4
mulps xmm4, xmm6
movaps xmmword [ebp - 0x40], xmm4
test cl, 8
jne 0x4f3fe1
mulps xmm2, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x20], xmm2
ucomiss xmm7, dword [0x54c894]
lahf
test ah, 0x44
jnp 0x4f4038
push ecx
movss dword [esp], xmm7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042dd60
movss xmm0, dword [ebp - 8]
xorps xmm6, xmm6
movaps xmm3, xmmword [ebp - 0x30]
movaps xmm2, xmm0
movss xmm0, dword [ebp - 0xc]
subps xmm6, xmm2
movaps xmm4, xmmword [ebp - 0x40]
movaps xmm1, xmm0
movaps xmm5, xmmword [ebp - 0x50]
movaps xmm7, xmm1
mov ecx, dword [ebp - 4]
add esp, 0xc
unpcklps xmm7, xmm2
movaps xmm2, xmmword [ebp - 0x20]
unpcklps xmm6, xmm1
jmp 0x4f4046
movaps xmm7, xmmword [0x540130]
movaps xmm6, xmmword [0x540140]
and ecx, 3
mov esi, section..data
mov dword [ebp - 4], ecx
xor edx, edx
lea ecx, [edi + 0xc]
mov edi, dword [ebp - 4]
nop dword [eax]
movaps xmm1, xmmword [esi]
mov eax, edx
subps xmm1, xmm4
xor eax, edi
shl eax, 4
inc edx
add eax, section..data
add esi, 0x10
mulps xmm1, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0
mulps xmm0, xmm7
shufps xmm1, xmm1, 0x55
mulps xmm1, xmm6
addps xmm0, xmmword [ebp - 0x70]
addps xmm0, xmm1
shufps xmm0, xmmword [ebp - 0x80], 0xb4
movups xmmword [ecx - 0xc], xmm0
movaps xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx], xmm0
movaps xmm0, xmmword [eax]
mulps xmm0, xmm3
addps xmm0, xmm5
movss dword [ecx + 0x10], xmm0
shufps xmm0, xmm0, 0x55
movss dword [ecx + 0x14], xmm0
add ecx, 0x24
cmp edx, 4
jb 0x4f4060
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4f5f20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x57cea0], 0
push esi
mov esi, dword [ebp + 0x10]
jne 0x4f5f8f
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4f5f7f
mov eax, dword [ebp - 0x114]
cmp eax, 5
ja 0x4f5f71
jne 0x4f5f7f
cmp dword [ebp - 0x110], 1
jb 0x4f5f7f
mov al, 1
mov byte [0x57cea1], al
mov byte [0x57cea0], al
jmp 0x4f5f94
xor al, al
mov byte [0x57cea0], 1
mov byte [0x57cea1], al
jmp 0x4f5f94
mov al, byte [0x57cea1]
test al, al
mov eax, dword [ebp + 0x18]
je 0x4f5fa0
or eax, 0x100
push eax
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fe27d
mov esp, ebp
pop ebp
ret
Function at 0x4f97d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x4f97ef
pop edi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
xor eax, eax
lea esi, [edi + 4]
cmp edi, 0xc
cmove esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebx], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [ebp + 8], eax
test eax, eax
je 0x4f98c5
dec eax
test dword [ebp - 8], eax
jne 0x4f98c5
cmp dword [edi + 0x44], 1
jne 0x4f984a
push esi
mov edi, 0x8004020f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x20]
cmp eax, dword [edi + 0x30]
jge 0x4f9869
push esi
mov edi, 0x80040210
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [ebp + 0x10], eax
mov eax, ecx
cdq
idiv dword [ebp + 8]
test edx, edx
je 0x4f9885
mov eax, dword [ebp + 8]
sub eax, edx
add ecx, eax
sub ecx, dword [ebp + 0x10]
mov dword [edi + 0x34], ecx
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
mov dword [edi + 0x2c], eax
mov dword [ebx], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x38], eax
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x3c], eax
mov dword [ebx + 0xc], eax
mov dword [edi + 0x40], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov edi, 0x8004020e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404ac0
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x458378]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45837c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00404ab0
mov ecx, dword [0x458380]
mov edx, dword [0x458384]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x404b30
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x45fb04]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x404b5c
mov dword [0x45fb00], 0xedeb2e40
jmp 0x404b77
cmp eax, 0x3eb
jne 0x404b77
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x45f590], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x45fb04], 0x9e6
mov dword [0x45fafc], 0xf4ea3dee
jne 0x404bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 4], esi
cmp dword [0x45fb04], 0x213
jne 0x404c32
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x45fb04], 0xc
jne 0x404c46
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x20]
xor edx, dword [ebp - 4]
xor edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x404b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404ca0
Capabilities:
Set file attributes
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x45fb04]
mov ecx, dword [0x45f594]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x404d63
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x45fb04], 0x959
jne 0x404d4d
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404ac0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4094d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457698]
jne 0x4094da
repz ret
jmp fcn.0040eafa

Function at 0x40e7b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409fe3
and dword [ebp - 4], 0
cmp dword [0x45d584], 0
mov ebx, eax
jne 0x40e866
push 0x4026c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e917
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4026bc
push edi
call esi
test eax, eax
je 0x40e917
push eax
call fcn.00409f71
mov dword [esp], 0x4026ac
push edi
mov dword [0x45d584], eax
call esi
push eax
call fcn.00409f71
mov dword [esp], 0x402698
push edi
mov dword [0x45d588], eax
call esi
push eax
call fcn.00409f71
mov dword [esp], 0x40267c
push edi
mov dword [0x45d58c], eax
call esi
push eax
call fcn.00409f71
pop ecx
mov dword [0x45d594], eax
test eax, eax
je 0x40e866
push 0x402664
push edi
call esi
push eax
call fcn.00409f71
pop ecx
mov dword [0x45d590], eax
mov eax, dword [0x45d590]
cmp eax, ebx
je 0x40e8be
cmp dword [0x45d594], ebx
je 0x40e8be
push eax
call fcn.00409fec
push dword [0x45d594]
mov esi, eax
call fcn.00409fec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e8be
test edi, edi
je 0x40e8be
call esi
test eax, eax
je 0x40e8b5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e8b5
test byte [ebp - 0xc], 1
jne 0x40e8be
or dword [ebp + 0x10], 0x200000
jmp 0x40e8f7
mov eax, dword [0x45d588]
cmp eax, ebx
je 0x40e8f7
push eax
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e8f7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e8f7
mov eax, dword [0x45d58c]
cmp eax, ebx
je 0x40e8f7
push eax
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e8f7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d584]
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e917
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e919
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

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