joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402090
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
sub esp, 0x148
mov eax, dword [0x409034]
push ebp
mov ebp, dword [esp + 0x150]
mov dword [esp + 0x148], eax
lea eax, [esp + 8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
je 0x4021f9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov dword [esp + 8], 0x1ca8
call fcn.00401a30
add esp, 4
test al, al
jne 0x4021f9
push ebp
lea ecx, [esp + 8]
call fcn.00401080
test al, al
je 0x4021f9
mov eax, dword [0x4092a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020f8
mov ecx, dword [0x4092a0]
push ebx
push esi
sub eax, edx
lea edx, [eax + ecx + 0xa]
push edi
push edx
call fcn.00403228
mov ecx, dword [0x4092a4]
mov ebx, eax
add esp, 4
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402121
mov edi, ebx
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402130
mov ax, word [0x407140]
mov word [edi], ax
mov eax, dword [0x4092ac]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402148
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402154
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402170
mov cx, word [0x40713c]
mov eax, 0x4092b4
mov word [edi], cx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402190
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4021a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x4092c4]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.00401520
push ebp
push ebx
call fcn.00401e10
add esp, 8
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call fcn.00403275
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
pop ebp
call fcn.00403267
add esp, 0x148
ret
Function at 0x40329f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x407230
call fcn.004036b0
mov edi, 0x94
mov eax, edi
call fcn.004043f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4092e4], ecx
mov eax, dword [esi + 4]
mov dword [0x4092f0], eax
mov edx, dword [esi + 8]
mov dword [0x4092f4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4092e8], esi
cmp ecx, 2
je 0x4032ff
or esi, 0x8000
mov dword [0x4092e8], esi
shl eax, 8
add eax, edx
mov dword [0x4092ec], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40333a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40333a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x403352
cmp eax, 0x20b
je 0x40333f
mov dword [ebp - 0x1c], esi
jmp 0x403366
cmp dword [ecx + 0x84], 0xe
jbe 0x40333a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x403360
cmp dword [ecx + 0x74], 0xe
jbe 0x40333a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0040439a
pop ecx
test eax, eax
jne 0x403392
cmp dword [0x4092d0], 1
jne 0x40337f
call fcn.00403b4f
push 0x1c
call fcn.004039d8
push 0xff
call fcn.0040383d
pop ecx
pop ecx
call fcn.004042f8
mov dword [ebp - 4], esi
call fcn.0040414d
test eax, eax
jge 0x4033ab
push 0x1b
call fcn.0040327a
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x409854], eax
call fcn.0040402b
mov dword [0x4092c8], eax
call fcn.00403f89
test eax, eax
jge 0x4033d1
push 8
call fcn.0040327a
pop ecx
call fcn.00403d56
test eax, eax
jge 0x4033e2
push 9
call fcn.0040327a
pop ecx
push 1
call fcn.0040386d
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4033f8
push eax
call fcn.0040327a
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403cf9
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x403419
movzx eax, word [ebp - 0x40]
jmp 0x40341c
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004029b0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40343a
push edi
call fcn.00403998
call fcn.004039ba
jmp 0x40346c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004036eb
ret
Function at 0x4038d7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x409324], esi
push edi
jne 0x4038f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x409320], esi
mov byte [0x40931c], al
jne 0x40395d
mov ecx, dword [0x409848]
test ecx, ecx
je 0x40393e
mov eax, dword [0x409844]
sub eax, 4
cmp eax, ecx
jmp 0x403937
mov eax, dword [eax]
test eax, eax
je 0x403929
call eax
mov eax, dword [0x409844]
sub eax, 4
cmp eax, dword [0x409848]
mov dword [0x409844], eax
jae 0x403921
mov eax, 0x40901c
mov esi, 0x409020
cmp eax, esi
mov edi, eax
jae 0x40395d
mov eax, dword [edi]
test eax, eax
je 0x403956
call eax
add edi, 4
cmp edi, esi
jb 0x40394e
mov eax, 0x409024
mov esi, 0x409028
cmp eax, esi
mov edi, eax
jae 0x40397c
mov eax, dword [edi]
test eax, eax
je 0x403975
call eax
add edi, 4
cmp edi, esi
jb 0x40396d
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x403996
push dword [ebp + 8]
mov dword [0x409324], 1
call fcn.0040383d
pop ebp
ret

Function at 0x4039d8
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x409034]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x409040]
je 0x403a0d
inc eax
cmp eax, 0x13
jb 0x4039fe
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x409040]
jne 0x403b33
mov eax, dword [0x4092d0]
cmp eax, 1
je 0x403b0b
cmp eax, edx
jne 0x403a3d
cmp dword [0x40903c], 1
je 0x403b0b
cmp ecx, 0xfc
je 0x403b33
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403a73
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00405070
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.004052a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403aa7
mov eax, edi
push eax
call fcn.004052a0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x407274
push edi
call fcn.00405170
add esp, 0x10
push edi
call fcn.004052a0
push dword [esi + 0x409044]
mov ebx, eax
call fcn.004052a0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004043f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00405070
push edi
push ebx
call fcn.00405080
push 0x407270
push ebx
call fcn.00405080
push dword [esi + 0x409044]
push ebx
call fcn.00405080
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00404f6b
add esp, 0x2c
jmp 0x403b33
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x409044]
push dword [esi]
call fcn.004052a0
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00403267
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x404f6b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x409444], ebx
push esi
push edi
jne 0x404feb
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x405026
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x409444], eax
je 0x405026
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x409448], eax
call esi
cmp dword [0x4092e4], 2
mov dword [0x40944c], eax
jne 0x404feb
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x409454], eax
je 0x404feb
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x409450], eax
mov eax, dword [0x409450]
test eax, eax
je 0x405030
call eax
test eax, eax
je 0x405017
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x409454]
test eax, eax
je 0x405017
test byte [ebp - 8], 1
jne 0x405030
cmp dword [0x4092f0], 4
jb 0x40502a
or byte [ebp + 0x12], 0x20
jmp 0x40504f
xor eax, eax
jmp 0x40505f
or byte [ebp + 0x12], 4
jmp 0x40504f
mov eax, dword [0x409448]
test eax, eax
je 0x40504f
call eax
mov ebx, eax
test ebx, ebx
je 0x40504f
mov eax, dword [0x40944c]
test eax, eax
je 0x40504f
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x409444]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40541a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x405448
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40544f
cmp ebx, dword [eax + 4]
jae 0x40544f
xor eax, eax
jmp 0x40563f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x405460
xor eax, eax
inc eax
jmp 0x40563e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x405476
cmp ecx, edx
jae 0x4055bb
cmp dword [eax + 4], 0
je 0x40547f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x405467
cmp dword [ebp + 8], 0
je 0x4054a1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4055bb
cmp eax, esi
jae 0x4055bb
mov eax, dword [0x409458]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4054c6
cmp dword [esi*4 + 0x409460], edi
je 0x4055bf
inc esi
cmp esi, eax
jl 0x4054b4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40563b
cmp dword [ebp - 8], 0x1000000
jne 0x40563b
test byte [ebp - 0xc], 0xcc
je 0x405544
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40563b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40563b
cmp word [eax + 0x18], 0x10b
jne 0x40563b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40563b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405544
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405544
test byte [ecx + 0x27], 0x80
jne 0x4055bb
push 1
push 0x4094a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x405458
mov ecx, dword [0x409458]
test ecx, ecx
mov edx, ecx
jle 0x405578
lea eax, [ecx*4 + 0x40945c]
cmp dword [eax], edi
je 0x405578
dec edx
sub eax, 4
test edx, edx
jg 0x40556c
test edx, edx
jne 0x4055a9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x405585
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40559d
lea eax, [edx*4 + 0x409460]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40558b
cmp ecx, 0x10
jge 0x4055a9
inc ecx
mov dword [0x409458], ecx
push 0
push 0x4094a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x405458
xor eax, eax
jmp 0x40563e
test esi, esi
jle 0x405458
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4094a0
call ebx
test eax, eax
jne 0x405458
cmp dword [esi*4 + 0x409460], edi
je 0x405615
mov eax, dword [0x409458]
lea esi, [eax - 1]
test esi, esi
jl 0x405603
cmp dword [esi*4 + 0x409460], edi
je 0x4055ff
dec esi
jns 0x4055f3
test esi, esi
jge 0x405613
cmp eax, 0x10
jge 0x40560e
inc eax
mov dword [0x409458], eax
lea esi, [eax - 1]
jmp 0x405615
je 0x40562d
xor ecx, ecx
test esi, esi
jl 0x40562d
lea eax, [ecx*4 + 0x409460]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40561b
push 0
push 0x4094a0
call ebx
jmp 0x405458
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406b2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004043f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406bc7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4092e4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x406bc7
cmp eax, 1
je 0x406be8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406bc7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406b94
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x406bc3
xor eax, eax
inc eax
jmp 0x406c07
cmp edi, eax
jae 0x406bcb
xor eax, eax
jmp 0x406c07
cmp eax, esi
jae 0x406bd2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4092e4]
jmp 0x406beb
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5356af
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, bx
rdtsc
lea esi, [edi + ebp]
xchg si, bp
xchg cx, dx
xchg edx, ecx
jmp 0x5356bb
sete dl
mov al, dl
xchg ebp, eax
cld
xchg bh, dl
jmp 0x535699
ror bp, cl
xchg ebx, ecx
std
xchg byte [esp + 6], dl
pop word [esp]
dec dh
jmp 0x53572d
btr ax, bx
mov bp, 0x4360
mov byte [esp + 6], dh
mov dh, 0x15
xchg bp, ax
sub esp, 0xd
jmp 0x5356e5
cpuid
sub bl, bh
mov cl, 0x97
std
cpuid
mov al, bl
jmp 0x5356fb

Function at 0x5359fa
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, 0x32
push dword [esp + 2]
mov eax, esi
cpuid
push word [esp]
jmp 0x535a62
btr ecx, edi
xchg bx, cx
add esp, 0xa
lea esi, [edx*4]
mov dword [esp], esi
xchg word [esp + 3], si
mov si, 0x83c7
push sp
push cx
dec bx
bswap esi
jmp 0x535a38
Function at 0x536fa0
Capabilities:
Execute anti-debugging instructions

Disassembly:
setp ah
push word [esp + 3]
mov ax, sp
bsr ecx, edi
rdtsc
jmp 0x536fbf

Function at 0x5371ab
Capabilities:
Execute anti-debugging instructions

Disassembly:
not edx
mov si, word [esp + 9]
lea ebx, [edi + edi]
pop word [esp + 2]
lea ebx, [esi + esi]
clc
jmp 0x53717c
jmp 0x537192

Function at 0x537330
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov di, 0xc849
jmp 0x53733b
std
cmp eax, ebp
mov byte [esp + 8], dl
pop edx
xchg bp, ax
cpuid
jmp 0x53736e

Function at 0x53763f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], dl
lea eax, reloc.MSIMG32.dll_TransparentBlt
jmp 0x5376d8
lea ebp, [esp + edx]
mov ecx, 0xcf188c4a
mov dword [esp], eax
sub esp, 7
jmp 0x5376bd
mov word [esp], dx
mov dword [esp], ebx
rdtsc
mov esi, edx
neg ax
and eax, esi
jmp 0x537673
cpuid
sub esp, 2
xchg bl, bh
mov word [esp], si
cpuid
lea esi, [ebp + ebp]
jmp 0x537689
lea ebp, [edx + ebx]
lea esi, reloc.MSIMG32.dll_TransparentBlt
dec bh
dec cl
setae dh
stc
jmp 0x53770b
bswap edx
cld
add bx, bp
inc bh
rdtsc
pop word [esp]
jmp 0x5376aa
setl ah
xchg dword [esp], edx
neg edi
neg bh
pop ecx
xchg bx, ax
jmp 0x537737
lea eax, [ebp - 0xf3]
xchg byte [esp], al
pop dword [esp + 4]
xchg byte [esp], dh
xchg bx, bp
stc
jmp 0x5376e8
mov bh, byte [esp + 3]
adc bp, di
setb ah
bsr ax, bx
bswap edx
jmp 0x537798
cmc
cpuid
xchg cl, bh
lea ecx, [ebp*4]
push word [esp + 4]
mov word [esp + 4], dx
jmp 0x537721
rdtsc
cpuid
xchg word [esp + 6], bx
xchg bp, di
cmc
mov edx, dword [esp + 4]
jmp 0x5377c6
xchg dx, si
neg eax
push ax
btr ax, si
mov byte [esp + 2], bh
lea eax, [edx*4]
jmp 0x537777
not edi
neg dh
shl cl, cl
pop word [esp + 4]
pop word [esp]
call int.00537b30
aam 0x47
lea edx, [esp - 0x56]
mov dh, bl
mov di, ax
mov dword [esp], ebx
mov ax, bp
cld
jmp 0x5377b0

Function at 0x537846
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bx, 0x7c8f
mov bl, byte [esp + 9]
add esp, 6
bswap esi
mov eax, dword [esp]
jmp 0x537858
push word [esp + 2]
lea edx, [edx + ebp]
push dword [esp + 5]
xchg dword [esp + 1], ecx
jmp 0x537830
ror cl, 0
lea edx, [eax + esi]
mov word [esp], sp
sets al
lea ebx, reloc.MSIMG32.dll_TransparentBlt
jmp 0x53796b
cpuid
mov ebx, ecx
mov esi, 0xef749cce
btc eax, edx
lea ecx, [eax - 0xdf]
xchg dx, ax
jmp 0x537882
lea esp, [esp + 3]
push word [esp + 0x11]
mov cl, bh
bswap ecx
mov word [esp + 0x12], sp
mov si, 0xfb99
jmp 0x5378a4
mov word [esp], ax
xchg ch, ah
mov ecx, 0xace50439
mov ah, dl
sub esp, 0x13
mov ah, byte [esp + 7]
jmp 0x5378ef
Function at 0x401c71
Capabilities:
Find taskbar
Terminate process

Disassembly:
jmp 0x40e180
push ecx
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x40e1f8
push esi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 8]
test eax, eax
je 0x40e1cf
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push edi
call ebp
test eax, eax
je 0x40e1f5
push 0xc8
call ebx
dec esi
test esi, esi
jg 0x40e1e2
pop ebp
pop ebx
pop esi
pop edi
pop ecx
ret

Function at 0x402d74
Capabilities:
Find taskbar

Disassembly:
jmp 0x40d8b0
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x4b5efd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e72c0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov esi, 0xa
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.Shell_TrayWnd
call ebx
test eax, eax
jne 0x40da18
push 0xc8
call edi
dec esi
test esi, esi
jg 0x40d8f1
call fcn.00403580
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0xf
mov byte [ebp + 0x58], 0
mov ecx, dword [eax]
mov dword [ebp - 4], 0
mov edx, dword [ecx + 4]
lea ecx, [ebp + 0x58]
push ecx
push str.WINDIR
mov ecx, eax
call edx
test al, al
jne 0x40d95e
cmp dword [ebp + 0x6c], 0x10
lea eax, [ebp + 0x58]
mov dword [ebp + 0x68], 0
cmovae eax, dword [ebp + 0x58]
mov byte [eax], 0
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.00402fc2
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ecx], str.explorer.exe
mov dword [ecx + 4], 0xc
lea ecx, [ebp + 0x40]
push ecx
mov ecx, eax
call fcn.004031b1
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00401fe6
lea ecx, [ebp + 0x40]
call fcn.00401ec9
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 5
call fcn.00401ec9
lea ecx, [ebp - 0x34]
call fcn.00401d5c
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00401b95
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.004010cd
lea ecx, [ebp - 0x34]
call fcn.00404854
lea ecx, [ebp]
call fcn.00405245
mov edx, dword [ebp + 0x6c]
cmp edx, 0x10
jb 0x40da18
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40da0e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040182a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.0040282e
lea esp, [ebp + 0x74]
pop ebp
ret
Function at 0x40367f
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x4af8a0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x170], 0
mov dword [ecx + 0x174], 0
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret
Function at 0x4046a1
Capabilities:
Parse pe header

Disassembly:
jmp 0x4b249c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b24dc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b24dc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b24dc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b24dc
cmp dword [ecx + 0x74], 0xe
jbe 0x4b24dc
cmp dword [ecx + 0xe8], 0
je 0x4b24dc
mov al, 1
ret
xor al, al
ret

Function at 0x404d63
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x40e860
sub esp, 0x10
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x40e892
lea eax, [esi + 1]
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402824
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x40e92c
sub ebx, esi
push ebp
mov dword [esp + 0x14], ebx
mov ebp, esi
xor ebx, ebx
nop dword [eax + eax]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00402824
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push dword [ebp]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc ebx
mov dword [eax + ebp - 4], edi
mov eax, dword [esp + 0x10]
cmp ebx, eax
jl 0x40e8d0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
pop ebp
push esi
mov dword [ebx + eax*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push dword [esp + 0x10]
call fcn.00404499
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0xc], esi
jle 0x40e963
push dword [ebx + esi*4]
call fcn.0040392c
inc esi
add esp, 4
cmp esi, dword [esp + 0xc]
jl 0x40e951
push ebx
call fcn.0040392c
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 0x10
ret 0x10

Function at 0x404e7b
Capabilities:
Enumerate processes

Disassembly:
jmp 0x479ba0
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
push edi
call fcn.0040155f
cmp byte [esi + 8], 0
mov eax, dword [esi + 4]
push edi
push eax
jne 0x479bc9
mov byte [esi + 8], 1
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
pop edi
setne al
pop esi
ret
call sub.KERNEL32.dll_Process32NextW
test eax, eax
pop edi
setne al
pop esi
ret