joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc25
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041cba1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41cd94
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41cd94
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41cd49
jg 0x41cc81
test eax, eax
je 0x41cd3f
push 1
push 0x1000
call fcn.004117d2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41cca4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41cd36
push 0x8000
push ebx
call fcn.0041000d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41cccd
jg 0x41ccc8
cmp ecx, 0x1000
jb 0x41cccd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00412aac
add esp, 0x10
cmp eax, 0xffffffff
je 0x41cd12
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 0x41ccc8
jl 0x41ccf9
test ecx, ecx
jne 0x41ccba
push dword [ebp - 0xc]
push ebx
call fcn.0041000d
push esi
call fcn.0041182f
add esp, 0xc
xor ebx, ebx
jmp 0x41cda2
cmp byte [edi + 0x24], 0
je 0x41cd29
cmp dword [edi + 0x20], 5
jne 0x41cd29
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41cd34
mov ebx, dword [edi + 0x18]
jmp 0x41cd36
xor ebx, ebx
push esi
call fcn.0041182f
pop ecx
jmp 0x41cda2
test ecx, ecx
jg 0x41cd0b
jl 0x41cd49
test eax, eax
jae 0x41cd0b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418f38
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41cd69
cmp byte [edi + 0x1c], 0
je 0x41cd0b
jmp 0x41cd9a
push ebx
call fcn.00416ecb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41cd0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41cda2
cmp byte [edi + 0x1c], 0
je 0x41cd9f
mov ebx, dword [edi + 0x18]
jmp 0x41cda2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00418f38
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ea70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ea9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ea9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4012a4
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x34], eax
call fcn.0040129d
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5c8]
add edi, 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0xb0738c]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132d
push 0x418300
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0xb0738c]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xb07388]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0xb07388], eax
mov eax, dword [0xb072e0]
cmove eax, dword [ebp - 0x24]
mov dword [0xb072e0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0xb07384], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
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 0x4012f5
mov esi, dword [ebp - 0x38]
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 0x40d5ac
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a35c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004050d5
mov dword [ebp - 0x14], eax
cmp dword [0x462b40], esi
jne 0x40d69f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d62c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d77f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d77f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d77f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x462b40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x462b44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x462b48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x462b50], eax
test eax, eax
je 0x40d69c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x462b4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6c4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6b7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6d9
push 4
pop eax
jmp 0x40d781
cmp dword [ebp - 0x14], esi
je 0x40d6d9
push dword [0x462b40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6be
mov eax, dword [0x462b4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d737
cmp dword [0x462b50], edi
je 0x40d737
push eax
call ebx
push dword [0x462b50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d737
test eax, eax
je 0x40d737
call ecx
test eax, eax
je 0x40d72c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d72c
test byte [ebp - 8], 1
jne 0x40d737
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d767
mov eax, dword [0x462b44]
cmp eax, edi
je 0x40d764
push eax
call ebx
test eax, eax
je 0x40d764
call eax
mov esi, eax
test esi, esi
je 0x40d764
mov eax, dword [0x462b48]
cmp eax, edi
je 0x40d764
push eax
call ebx
test eax, eax
je 0x40d764
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x462b40]
call ebx
test eax, eax
je 0x40d77f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d781
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040443b
mov esp, ebp
pop ebp
ret
Function at 0x107d1808
Capabilities:
Encode data using xor

Disassembly:
add ebp, ecx
jmp 0x106e2e09
push ebp
ret
call fcn.10787860
nop
mov cx, ss
mov ss, cx
jmp 0x10953efe
xor ecx, 0x74846bec
stc
bswap ecx
clc
cmp ebp, 0x126309e3
add ecx, 0x21a43a96
xor ecx, 0x4d3a247c
test cl, dh
stc
sub ecx, 0x381491e
stc
xor ebx, ecx
cmp dh, 0x63
jmp 0x1038cd2d
push edx
pushfd
mov edx, 0x56264150
push 0x4d7a2b76
xor edx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], 0xe302538b
cmp dword [esp], 0x220f787c
push edi
jb 0x10953eff
xor dword [esp + 4], 0x15e6121c
sub byte [esp + 4], 0xee
call fcn.108fccc0
mov ecx, dword [edi]
sar ah, cl
bsf ax, sp
mov eax, dword [edi + 4]
test ax, ax
add ecx, eax
mov dword [edi + 4], ecx
pushfd
pop dword [edi]
bt ecx, 0x9b
bt ecx, eax
ror ecx, 0x38
mov ecx, dword [esi]
lea esi, [esi + 4]
xor ecx, ebx
jmp 0x10946e87

Function at 0x1088a9b5
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor edx, 0x2b7e7aa0
jmp 0x10993043
bswap edx
xor ebx, edx
test bh, 0xb
jmp 0x108c4b42
push eax
push edx
push esi
push ebp
rdtsc
push ecx
mov ch, dl
cwde
bswap si
pushfd
mov ebp, 0x394f06e1
rdtsc
push edi
inc di
mov ebp, 0x3bd03e84
push ebx
cdq
lahf
mov eax, 0
dec dh
movzx edx, si
inc cl
push eax
jmp 0x1092fb87
push ebp
ret
add ebp, edx
jmp 0x108a007a
mov edi, dword [esp + 0x28]
inc edi
btc si, 0x64
bts ecx, ebx
rol edi, 1
sar dl, cl
xor ecx, 0x324610ab
lea edi, [edi + 0x49895abf]
xor edi, 0x4233433a
lea edi, [edi + 0xfc608bb]
add edi, eax
sbb dx, 0x5b4e
sar bh, 0xfd
mov esi, esp
bt bx, 0xbd
lea esp, [esp - 0xc0]
mov ebx, edi
mov ecx, 0
bsr edx, edx
cwd
sub ebx, ecx
inc bp
lea ebp, [0x1092fbd9]
mov edx, dword [edi]
test edi, 0x411c53b9
cmp di, 0x5b14
lea edi, [edi + 4]
cmc
xor edx, ebx
not edx
cmp esp, 0x14847dac
test si, 0x3bdf
jmp 0x10744c85
neg edx
jmp 0x1099f39b
inc edx
jmp 0x1075a221
Function at 0x1088f8c0
Capabilities:
Encode data using xor

Disassembly:
xor ecx, 0x72aa4559
inc ecx
cmp dl, 0x53
stc
jmp 0x107d5a91
neg ecx
cmp ebp, 0x59d31556
not ecx
cmp esp, esi
lea ecx, [ecx + 0x1abd0ee0]
clc
neg ecx
xor ebx, ecx
test bp, 0x45a3
test cx, si
add ebp, ecx
jmp 0x109aa3fd
rol ecx, 1
jmp 0x10784cf7
not cl
mov ecx, dword [esi]
cmp esp, 0x66a470d3
lea esi, [esi + 4]
xor ecx, ebx
stc
jmp 0x1085a8eb
setno byte [esp + 0xc]
xor dword [esp + 0xc], 0x16052195
jge 0x1088f8c5
jbe 0x1088f8e6
add byte [eax], al
and dword [esp + 4], 0x45df4bf2
push dword [esp + 0x18]
popfd
lea esp, [esp + 0x1c]
call fcn.1088a9b5
nop
js 0x1088f931
cmp dword [edi + 0x1c], 0xffffff98
retf
sbb ch, byte [ebx]
out dx, eax
dec ecx
jge 0x1088f8d7
das
pop edx
jne 0x1088f91b
dec ebx
xor esi, eax
push ebx
pop es
mov byte [0x7a111136], al
nop
int1
jo 0x1088f89e
in al, dx
add byte [edx], ah
salc
dec ecx
pop eax
fisub dword [ebx]
hlt
and byte [edi - 0x4c64a9c4], 0xe2
in eax, dx
sbb edx, dword [eax - 0x27b60708]
aam 0xfc
dec ebp
jne 0x1088f988
imul esp, edx, 0x489553d1
in eax, 6
adc edi, ebp
push edx
into
inc esp
stosd dword es:[edi], eax
cli
jge 0x1088f903
sub al, 6
push esp
push cs
dec eax
dec esp
mov dh, 0xc4
push es
jle 0x1088f94a
adc byte [eax - 0x53275bc6], ah
xchg edi, eax
mov dh, 0xc4
push es
les eax, [esi]
jle 0x1088f980
test al, 0x2a
push cs
sub byte [edi], 0x4c
cmp al, 0x34
inc edx
int1
iretd
dec esi
fild word fs:[0x979c2191]
and al, 0xc5
fstpnce st(1), st(0)
adc ch, byte [edi]
push cs
jmp 0x1088f9c9
in eax, 0x27
and edx, dword [edx + 0x578f5552]
aad 0xb9
dec edi
mul esi
inc ebp
jecxz 0x1088f968
and al, cl
out 2, al
push ss
sal byte [edx], cl
test dword [eax + 0x70e30fcf], edi
ret
jmp fcn.107213a3

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x4185f9
Capabilities:
Parse pe header
Terminate process

Disassembly:
jmp 0x43f179
push 0x74
push 0x44a368
call fcn.00418432
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x43f1b9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f1b9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43f1d1
cmp eax, 0x20b
je 0x43f1be
mov dword [ebp - 0x1c], edi
jmp 0x43f1e5
cmp dword [ecx + 0x84], 0xe
jbe 0x43f1b9
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x43f1df
cmp dword [ecx + 0x74], 0xe
jbe 0x43f1b9
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x44ff38], 0xffffffff
or dword [0x44ff48], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x44fec8]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x44fec4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x44ff2c], eax
call fcn.0041804a
call fcn.00417f32
cmp dword [0x44f9b0], edi
jne 0x43f245
push 0x418509
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00417037
push 0x44f650
push 0x44f54c
call fcn.0041783e
push 0x41741f
call fcn.00417631
mov eax, dword [0x44fec0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x44febc]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x43f299
push 8
call fcn.0041831f
pop ecx
push 0x44f448
push section..data
call fcn.0041783e
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x43f2c3
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x43f37d
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x43f332
cmp ax, di
je 0x43f2d9
cmp dword [ebp - 0x20], edi
jne 0x43f332
mov ax, word [esi]
cmp ax, di
je 0x43f2ee
cmp ax, 0x20
ja 0x43f2ee
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x43f2d9
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x43f30a
movzx eax, word [ebp - 0x54]
jmp 0x43f30d
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0041859f
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x43f32a
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x43f377
cmp ax, 0x22
jne 0x43f343
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x43f2c3
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00417c94
ret
Function at 0x1001ca9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1001caac
pop dword [ebp - 0x50]
mov eax, 0x8d87aa43
sub eax, 0x7d85df97
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x63620a3f
add dword [ebp - 0x60], 0xeaf03b0c
mov dword [ebp - 0x5c], 0xa1d8f805
add dword [ebp - 0x5c], 0x905a5440
mov dword [ebp - 0x58], 0x89023004
sub dword [ebp - 0x58], 0x3cb5ebd6
mov dword [ebp - 0x54], 0xef3c2cb5
add dword [ebp - 0x54], 0x10c3d34b
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x5b75e15c
add dword [ebp - 0x60], 0x18fc87fa
mov dword [ebp - 0x5c], 0x82f0745d
sub dword [ebp - 0x5c], 0x418412e8
mov dword [ebp - 0x58], 0x56480b2a
sub dword [ebp - 0x58], 0xf2d89ebe
mov dword [ebp - 0x54], 0xe4a55e9a
sub dword [ebp - 0x54], 0xe4a55e9a
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xcd382bd6
add eax, 0x42cab492
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x457ba
push 0
call eax
mov ecx, 0x3b2fc130
sub ecx, 0x3b2f77a5
xor edx, edx
add edx, eax
mov ebx, 0x1530f45a
add ebx, 0xfad36da6
add ebx, dword [ebp - 0x50]
mov esi, 0xa479bab8
xor dword [ebp - 0x14], 0x156eb15e
mov edi, dword [ebx]
xor dword [ebp - 0x3c], 0x986f8fc9
xor edi, esi
sub dword [ebp - 0x38], 0x58e72825
mov dword [edx], edi
sub dword [ebp - 0x4c], ebx
add edx, 4
add ebx, 0xaa13d54e
sub ebx, 0xaa13d54a
loop 0x1001cbc5
add eax, 0x3fbcafeb
add eax, 0xc0446914
mov ebx, eax
add eax, 0xfc0132b7
add eax, 0x3fecd4e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x409cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x409cea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409cf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409ce0
mov eax, 1
add ebx, ebx
jne 0x409d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409cf8
jne 0x409d14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409cf8
xor ecx, ecx
sub eax, 3
jb 0x409d28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409d9a
mov ebp, eax
add ebx, ebx
jne 0x409d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409d40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409d64
inc ecx
add ebx, ebx
jne 0x409d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409d45
jne 0x409d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409d45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409d75
jmp 0x409ce6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409d84
add edi, ecx
jmp 0x409ce6
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409de3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa4fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa560]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409da1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa568]
or eax, eax
je 0x409ddd
mov dword [ebx], eax
add ebx, 4
jmp 0x409dbe
call dword [esi + 0xa564]
mov ebp, dword [esi + 0xa56c]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x409e17
sub esp, 0xffffff80
jmp 0x4011ac
Function at 0x10001d40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012730
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1001b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x1001b938
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.10005380
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x1001b920
push eax
call fcn.10005380
mov esi, dword [0x1001b948]
xor ebx, ebx
mov edi, dword [0x1001b94c]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x1001c608], bl
mov eax, ebx
mov ecx, 0x1001b938
cmovae ecx, dword [0x1001b938]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x1001c508], al
inc ebx
cmp ebx, 0x100
jl 0x10001dc0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x1001c608]
movzx eax, byte [esi + 0x1001c508]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10001e14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x1001c608]
mov byte [esi + 0x1001c608], al
inc esi
mov byte [edi + 0x1001c608], dl
cmp esi, 0x100
jl 0x10001df0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.10001b30
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10001e69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001e5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ebf
push edx
push ecx
call fcn.10005d92
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10001eab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ebf
push edx
push ecx
call fcn.10005d92
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10009690
int3
Function at 0x40a935
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411488
cmp edx, dword [eax]
je 0x40a957
add eax, 8
inc ecx
cmp eax, 0x411518
jl 0x40a948
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411488]
jne 0x40aa85
mov eax, dword [0x491ec0]
cmp eax, 1
je 0x40aa5f
test eax, eax
jne 0x40a988
cmp dword [0x4110b4], 1
je 0x40aa5f
cmp edx, 0xfc
je 0x40aa85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a9bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40aa02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d5b0
push edi
call fcn.0040abe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407380
lea eax, [ebp - 0xa0]
push 0x40d590
push eax
call fcn.00407380
push dword [esi + 0x41148c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407380
push pe_overlay
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040bcb8
add esp, 0x2c
pop edi
jmp 0x40aa85
lea eax, [ebp + 8]
lea esi, [esi + 0x41148c]
push 0
push eax
push dword [esi]
call fcn.00407460
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 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret
Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 5
mov esi, eax
call sub.MPR.dll_WNetCloseEnum
push str.GetFirmwareEnvironmentVariableA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x44a088
test esi, esi
je 0x44a066
mov ecx, dword [0x650d9c]
push 0x650ab8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push str.CLSIDB530CB63_D9DF_4B49_9439_34539662E598Version
push 0x850ee8
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
pop ecx
ret
pop edi
mov al, bl
pop esi
pop ebx
pop ecx
ret