joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4285b5
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x31c
push ebx
mov ebx, dword [ebp + 0x78]
push esi
mov esi, dword [ebp + 0x74]
xor edx, edx
push edi
xor edi, edi
cmp esi, 0xffffffff
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x68], edx
jne 0x4285e9
cmp ebx, esi
jne 0x4285e9
mov eax, dword [ebp + 0x7c]
call fcn.00428596
jmp 0x428786
cmp dword [ebp + 0x7c], edx
jle 0x4285fe
mov edi, dword [ebp + 0x7c]
call fcn.00429b7b
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x64], eax
xor edx, edx
xor eax, eax
or ecx, 0xffffffff
inc eax
cmp esi, ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x1ac], edx
je 0x42862e
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], eax
mov ecx, esi
cmp ebx, 0xffffffff
mov dword [ebp - 0x2b0], edx
je 0x428685
mov dword [ebp - 0x2b0], eax
xor eax, eax
cmp dword [ebp - 0xa8], edx
mov dword [ebp - 0x2ac], ebx
jbe 0x428661
cmp dword [ebp + eax*4 - 0xa4], ebx
je 0x428661
inc eax
cmp eax, dword [ebp - 0xa8]
jb 0x42864f
cmp eax, dword [ebp - 0xa8]
jne 0x42867f
cmp dword [ebp - 0xa8], 0x40
jae 0x42867f
mov dword [ebp + eax*4 - 0xa4], ebx
inc dword [ebp - 0xa8]
cmp ebx, ecx
jbe 0x428685
mov ecx, ebx
cmp dword [ebp + 0x7c], edx
jge 0x42868e
xor ebx, ebx
jmp 0x428691
lea ebx, [ebp + 0x5c]
lea esi, [ecx + 1]
xor eax, eax
cmp dword [ebp + 0x7c], eax
jle 0x4286b0
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp + 0x60], edx
jmp 0x4286b5
jne 0x4286b8
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x5c], eax
push ebx
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x1ac]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x428711
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x4286eb
cmp eax, 0x2714
jne 0x428715
cmp dword [ebp + 0x7c], 0
jle 0x428694
push dword [ebp + 0x68]
push dword [ebp + 0x64]
call fcn.00429b7b
push edx
push eax
call fcn.00429b91
mov edi, dword [ebp + 0x7c]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x428694
jmp 0x428715
test eax, eax
jge 0x42871a
or eax, 0xffffffff
jmp 0x428786
jne 0x428720
xor eax, eax
jmp 0x428786
xor esi, esi
cmp dword [ebp + 0x74], 0xffffffff
je 0x428752
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp + 0x74]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42873c
inc esi
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x74]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428752
or esi, 4
cmp dword [ebp + 0x78], 0xffffffff
je 0x428784
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42876e
or esi, 2
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428784
or esi, 4
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x42a6d3
Capabilities:
Parse pe header

Disassembly:
movsx eax, byte [esp + 4]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42a6e0
jmp dword [eax*4 + 0x42a73b]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, byte [esp + 4]
ret

Function at 0x42c46d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457064]
jne 0x42c477
repz ret
jmp fcn.004331ed
Function at 0x43086b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4308a8
cmp dword [ebp + 0x14], edi
je 0x4308a8
cmp ecx, edi
jne 0x4308af
call fcn.004327cf
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042d07e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4308c3
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4308e4
cmp ebx, 0xffffffff
je 0x4308d3
push ebx
push edi
push ecx
call fcn.0042c4d0
add esp, 0xc
cmp esi, edi
je 0x430890
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x430890
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x430900
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x430907
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4309f8
test word [esi + 0xc], 0x10c
je 0x43095b
mov eax, dword [esi + 4]
test eax, eax
je 0x43095b
jl 0x430a59
cmp ebx, eax
mov edi, ebx
jb 0x43092c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x430a00
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042c54a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4309f0
cmp ebx, dword [ebp - 0xc]
jb 0x4309c8
cmp dword [ebp - 0xc], 0
je 0x430985
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x43097a
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x430981
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x430990
mov eax, closesocket
cmp ebx, eax
ja 0x430990
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x430a2c
push eax
push dword [ebp - 8]
push esi
call fcn.00438c4c
pop ecx
push eax
call fcn.0043cd3a
add esp, 0xc
test eax, eax
je 0x430a6b
cmp eax, 0xffffffff
je 0x430a59
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4309f0
push esi
call fcn.004388d8
cmp eax, 0xffffffff
pop ecx
je 0x430a5d
cmp dword [ebp - 4], 0
je 0x430a2c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43090f
mov eax, dword [ebp + 0x14]
jmp 0x4308aa
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x430a17
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042c4d0
add esp, 0xc
call fcn.004327cf
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4308a0
cmp dword [ebp + 0xc], 0xffffffff
je 0x430a42
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042c4d0
add esp, 0xc
call fcn.004327cf
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4308a0
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4308aa
or dword [esi + 0xc], 0x10
jmp 0x430a5d
Function at 0x436275
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x457d88]
je 0x436290
inc edi
cmp edi, 0x17
jb 0x436281
cmp edi, 0x17
jae 0x436410
push ebp
push 3
call fcn.0043fce7
cmp eax, 1
pop ecx
je 0x4363dc
push 3
call fcn.0043fce7
test eax, eax
pop ecx
jne 0x4362c4
cmp dword [0x457060], 1
je 0x4363dc
cmp ebx, 0xfc
je 0x43640f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4590c0
push ebp
call fcn.0042c620
add esp, 0xc
test eax, eax
je 0x4362fa
push esi
push esi
push esi
push esi
push esi
call fcn.0042cf82
add esp, 0x14
push 0x104
mov esi, 0x4590d9
push esi
push 0
mov byte [0x4591dd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43633e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042c620
add esp, 0xc
test eax, eax
je 0x43633e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042cf82
add esp, 0x14
push esi
call fcn.0042d0c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x436383
push esi
call fcn.0042d0c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4593d4
push 0x44ea9c
sub ecx, eax
push ecx
push eax
call fcn.0043f0b3
add esp, 0x14
test eax, eax
je 0x436383
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042cf82
add esp, 0x14
jmp 0x436385
xor esi, esi
push 0x44ea98
push ebx
push ebp
call fcn.0042c8e1
add esp, 0xc
test eax, eax
je 0x4363a5
push esi
push esi
push esi
push esi
push esi
call fcn.0042cf82
add esp, 0x14
push dword [edi*8 + 0x457d8c]
push ebx
push ebp
call fcn.0042c8e1
add esp, 0xc
test eax, eax
je 0x4363c7
push esi
push esi
push esi
push esi
push esi
call fcn.0042cf82
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043fb2a
add esp, 0xc
jmp 0x43640f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43640f
cmp ebp, 0xffffffff
je 0x43640f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x457d8c]
push dword [esi]
call fcn.0042d0c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43fb2a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00433ef8
xor ebx, ebx
cmp dword [0x459670], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43fc00
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43fce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43fce0
push eax
call fcn.00433e8a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x459670], eax
call esi
push eax
call fcn.00433e8a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x459674], eax
call esi
push eax
call fcn.00433e8a
mov dword [0x459678], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436002
test eax, eax
pop ecx
pop ecx
je 0x43fbce
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042cf82
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43fc00
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00433e8a
cmp eax, ebx
pop ecx
mov dword [0x459680], eax
je 0x43fc00
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00433e8a
pop ecx
mov dword [0x45967c], eax
mov eax, dword [0x45967c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43fc85
cmp dword [0x459680], ecx
je 0x43fc85
push eax
call fcn.00433f01
push dword [0x459680]
mov esi, eax
call fcn.00433f01
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43fc85
cmp edi, ebx
je 0x43fc85
call esi
cmp eax, ebx
je 0x43fc52
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fc52
test byte [ebp - 0x18], 1
jne 0x43fc85
lea eax, [ebp - 0x10]
push eax
call fcn.00436039
test eax, eax
pop ecx
je 0x43fc6d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042cf82
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43fc7c
or dword [ebp + 0x10], 0x200000
jmp 0x43fcc0
or dword [ebp + 0x10], 0x40000
jmp 0x43fcc0
mov eax, dword [0x459674]
cmp eax, dword [ebp - 8]
je 0x43fcc0
push eax
call fcn.00433f01
cmp eax, ebx
pop ecx
je 0x43fcc0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43fcc0
mov eax, dword [0x459678]
cmp eax, dword [ebp - 8]
je 0x43fcc0
push eax
call fcn.00433f01
cmp eax, ebx
pop ecx
je 0x43fcc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459670]
call fcn.00433f01
cmp eax, ebx
pop ecx
je 0x43fce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43fce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x445f40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x457064]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00445e7f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042c4d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445f8f
cmp dword [ebp - 0x1c], 5
jb 0x445fa7
jmp 0x445fa3
cmp dword [ebp - 0x10], 1
jne 0x445fa7
cmp dword [ebp - 0x1c], 4
ja 0x445fa3
jne 0x445fa7
cmp dword [ebp - 0x18], 0
jbe 0x445fa7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44fce8
call fcn.004053db
test eax, eax
jge 0x445fc8
mov byte [0x459838], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042c46d
add ebp, 0x78
leave
ret
Function at 0x53f3f4
Capabilities:
Check for vm using instruction vpcext

Disassembly:
xchg ebp, eax
enter 0x7b43, 0x33
add ch, byte [edx + edi*2]
cmp eax, dword [esi + 0x3ea9581a]
pop ebx
xor al, 0x8b
inc ebp
mov eax, dword [0x3d53a8af]
push ebx
cmp eax, 0xbafb0b33
xchg ebp, eax
dec edx
test byte [ebx + ebx*2], 0x9d
push ebx
cmp eax, 0xbafb0b33
xchg ebp, eax
dec edx
test byte [ebx + ebx*2], 0x9d
and al, 0xc8
mov ah, byte [0x4c3ad9cb]
mov ebx, 0xa5266883
sbb dword [edi], esi
stosb byte es:[edi], al
salc
mov ds, ebx
mov ebx, 0x9c76194e
aad 0xee
rcr dword [ecx - 0x62], cl
js 0x53f3df
pop ss
das
inc edi
xor eax, dword [edx]
sub dl, byte [esi + ebx*4 + 0x50]
sub dword [edi + edi], edx
mov ch, al
movd dword [ebp + ecx*8 - 0x6c], mm6
xor ebx, eax
jno 0x53f47c
movd dword [edx + 0x24], mm1
mov dl, 0x68
ljmp 0x9503
sbb byte [edx], bh
sbb dword [esi + 0x54], 0xa9c815e8
add ebp, edi
out dx, eax
pop ds
bound ebx, qword [ebp - 0x47]
cld
push esi
sti
clc
xor byte [edi + 0x1f58f8db], al
cli
cld
and byte [edx + 0x61], bl
pop edx
popal
jge 0x53f499
out dx, al
fsubr qword [ebx - 0x79]
push ds
xchg byte [edx], cl
fstp xword [edx + 0x55]
imul ebp, dword [eax], 0xffffffea
inc eax
pop edx
fst qword [ebx]
wait
mov byte [0x2dab9b74], al
dec ebx
push 0xc
jle 0x53f45f
or al, 0x7e
ret
jecxz 0x53f4bd
bound ecx, qword [ecx]
dec esi
and eax, dword [ecx + 0x3b]
test byte [ebp - 0x16], 0xd7
or dword [esi - 0x7814d77a], edi
jno 0x53f46a
push esi
pop edx
pop edx
xor al, dh
jp 0x53f532
inc ebx
call 0xc3b521c5
out 0xd8, al
cwde
cmc
imul ebx
loopne 0x53f480
ret
cmp ebx, dword [ebx]
xchg ebp, eax
or dword [ebx + esi*2 - 0x157b65e6], ebx
lcall 0xfd2b, 0x49b858df
dec ebp
cli
xor edx, ebp
ret
sbb dl, byte [esi]
clc
sub byte [edi + 0x1a7eaaa0], bh
bnd jl 0x53f56a
cmp bl, byte [edi - 4]
sbb eax, dword [ebx - 0x2ee8215a]
inc edi
cmp ecx, dword [eax + 0x1ed62824]
fld xword [ecx + 0x7b8cdb77]
sar dword [edi + ebp + 0x4d], 0x71
or bl, byte [edi + 0x737de8a2]
shl byte [ebp + 0xbb8faa8], 0xc9
cld
mov word [eax - 0x7fa9a56f], es
lodsd eax, dword [esi]
mov al, 0xfe
xchg ebx, eax
pop edx
inc eax
xchg ecx, eax
pop edx
push esi
sub byte [ebp + 0x5a93feb0], 0x40
mov dword [0x835a851f], eax
push ecx
sbb ch, byte [edx + eax*4]
sbb al, bh
inc edx
fisttp dword [0xfd8b0b3b]
wait
dec eax
loope 0x53f5b5
and ch, bl
js 0x53f5a8
sbb byte [ecx], cl
wait
add esi, dword [edx + 0x215d5576]
invalid
sbb byte [edi + 0x4a691661], bh
out dx, eax
call dword [ebx]
mov al, ah
jae 0x53f58c
ja 0x53f560
dec ebx
ficomp dword [eax + 0x3b]
std
or edi, dword [edi - 0x1e1705d0]
adc al, 0xeb
ljmp 0xcac8

Function at 0x58a204
Capabilities:
Encode data using xor

Disassembly:
jno 0x58a23a
adc ebp, edi
mov dword [ebp + edi*8 + 0x75], eax
lcall 0x8b35, 0xdc86592a
adc ebp, dword [eax]
loop 0x58a292
invalid
and dword [edi], ebp
mov dh, 0x99
popal
retf 0x2b44
ficomp dword [edx]
adc ecx, dword [ecx - 5]
push esp
or ch, byte [ecx + 0x7a]
or eax, 0x7cc76987
mov edx, 0x7269fce9
cmp dword [edi - 0x7b], esi
daa
stosb byte es:[edi], al
push ebp
mov edx, 0x674ee811
invalid
Function at 0x5ffcc5
Capabilities:
Encode data using xor

Disassembly:
xchg bh, bh
movsd dword es:[edi], dword [esi]
pop esi
aaa
sub byte [eax], 4
dec esi
push es
sbb cl, byte [0x52a6b124]
push 0x3c1a809e
bound edx, qword [ecx]
or esp, esp
rcl byte [eax - 0x7a03cf0c]
xor cl, byte [eax]
aam 0x1a
outsd dx, dword [esi]
push eax
add dword [edi], 0x4d1fc191
imul edx, dword [edx + 0x24], 0xffffffbd
and al, 0xeb
stosb byte es:[edi], al
test dword [eax - 0x6c], ebp
test al, 0x10
cdq
stc
dec edi
invalid

Function at 0x60dcdc
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je 0x60dcea
call dword [0x10070]
test eax, eax
jne 0x60dcec
aas
add byte [eax + 0x129e902], dh
add byte [eax], al
add byte [ecx], al
or byte [ebp - 0x7fcd8b37], al
add byte [eax + ebx + 0x50], dh
mov eax, ecx
call dword [0x870100]
pop ecx
or eax, eax
std
add byte [ecx + 0x2b0c301], cl
jmp 0x61dd1c
mov al, 2
jmp fcn.0060de1c
and eax, dword [edx + 0x54e6cf0b]
or ecx, esi
mov dl, 2
inc ecx
invalid
inc edi
arpl word [eax], si
push edx
aad 0x1b
into
outsd dx, dword [esi]
leave
in al, dx
je 0x61dd2d
sbb eax, 0x9837d141
sahf
leave
mov bl, 0x14
mov gs, word [esp + edx*4]
jge 0x61dcd8
or al, 0x85
cmp byte [0xc0758f29], dl
loopne 0x61dd14
int 0x17
pop ss
lodsd eax, dword [esi]
cld
lahf
jecxz 0x61dd61
add bh, cl
dec edx
xor eax, 0x3072dde8
invalid
jge 0x61dd78
push cs
and eax, 0xaf4cd26f
popal
jl 0x61dd99
jae 0x61dd3a
mov byte [0x97089dff], al
invalid
cmpsd dword [esi], dword es:[edi]
mov eax, dword [ecx - 0x78235ba7]
pop esp
pushal
jnp 0x61ddc6
dec edx
cmc
pop ebp
pop edx
pop ebp
adc bl, ah
jmp 0x61dda3
mov esi, 0x6da0c8b7
and bl, byte [ebp + 0xb617f42]
sbb bl, al
loop 0x61ddee
or ebx, dword [edx]
fsub st(2)
inc esi
push es
insd dword es:[edi], dx
movsb byte es:[edi], byte [esi]
invalid
invalid
jb 0x61de0f
sub ebp, dword [edx + 0x5b]
or eax, edx
pushal
retf
inc ecx
mov ah, ch
test bl, ah
invalid
Function at 0x658dfd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x658e1f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x658e10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x658f4d
mov eax, dword [0xa5bdf4]
cmp eax, 1
je 0x658f27
test eax, eax
jne 0x658e50
cmp dword [0x65f2c4], 1
je 0x658f27
cmp edx, 0xfc
je 0x658f4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658e87
lea eax, [ebp - 0x1a4]
push 0x65e4e0
push eax
call fcn.006597e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00659c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x658eca
lea eax, [ebp - 0x1a4]
push eax
call fcn.00659c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e4dc
push edi
call fcn.0065bb40
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e4c0
push eax
call fcn.006597e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006597f0
lea eax, [ebp - 0xa0]
push 0x65e4bc
push eax
call fcn.006597f0
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.006597f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e494
push eax
call fcn.0065bab4
add esp, 0x2c
pop edi
jmp 0x658f4d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.00659c70
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 0x46dd3e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x521f60]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004670cf
mov dword [ebp - 0x14], eax
cmp dword [0x523e98], edi
jne 0x46de2f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x46ddbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46df0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x46df0f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46df0f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x523e98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x523e9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x523ea0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x523ea8], eax
test eax, eax
je 0x46de2c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x523ea4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46de54
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46de47
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x46de69
push 4
pop eax
jmp 0x46df11
cmp dword [ebp - 0x14], edi
je 0x46de69
push dword [0x523e98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46de4e
mov eax, dword [0x523ea4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x46dec7
cmp dword [0x523ea8], esi
je 0x46dec7
push eax
call ebx
push dword [0x523ea8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46dec7
test eax, eax
je 0x46dec7
call ecx
test eax, eax
je 0x46debc
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 0x46debc
test byte [ebp - 8], 1
jne 0x46dec7
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x46def7
mov eax, dword [0x523e9c]
cmp eax, esi
je 0x46def4
push eax
call ebx
test eax, eax
je 0x46def4
call eax
mov edi, eax
test edi, edi
je 0x46def4
mov eax, dword [0x523ea0]
cmp eax, esi
je 0x46def4
push eax
call ebx
test eax, eax
je 0x46def4
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x523e98]
call ebx
test eax, eax
je 0x46df0f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x46df11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004630aa
leave
ret
Function at 0x65a41607
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x234
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0x18
mov eax, dword [ebp - 0x34]
mov eax, dword fs:[eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x236]
mov ecx, 0x1fe
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
jmp 0x65a41711
sub dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x2c
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.65a414b0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
jmp 0x65a416dc
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp], eax
call fcn.65a415eb
movsx dx, al
mov eax, dword [ebp - 0x10]
mov word [ebp + eax*2 - 0x236], dx
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jle 0x65a416b0
lea eax, [ebp - 0x236]
mov dword [esp], eax
call fcn.65a4151c
cmp dword [ebp + 8], eax
jne 0x65a41705
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x65a41720
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jne 0x65a41683
mov eax, dword [ebp - 0x14]
add esp, 0x234
pop ebx
pop edi
pop ebp
ret