joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4059e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
movzx esi, word [ebp + 8]
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp si, 0xffff
je 0x405a26
mov edi, ecx
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x405a3e
lea eax, [ebp - 0x1a]
push dword [edi + 0x20]
push 1
push 2
push eax
call fcn.0045f03d
add esp, 0x10
cmp eax, 1
je 0x405a28
xor esi, esi
dec esi
jmp 0x405a28
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x1a]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x405a21
mov ebx, eax
cmp eax, 3
je 0x405a9f
cmp ebx, 1
ja 0x405a21
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.0045f03d
add esp, 0x10
cmp eax, esi
jne 0x405a21
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x405a49
jmp 0x405ab8
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.0045f03d
add esp, 0x10
cmp eax, ebx
jne 0x405a21
movzx esi, word [ebp + 8]
jmp 0x405a28

Function at 0x405c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x405c7f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x405c61
pop esi
pop edi
pop ebp
ret 8

Function at 0x405d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x405dc1
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x405da1
pop esi
pop edi
pop ebp
ret 8
Function at 0x40f324
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00417fe4
mov ebx, eax
test esi, esi
je 0x40f35d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x40f34a
movzx eax, word [eax]
jmp 0x40f351
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x40f35d
test bl, bl
jne 0x40f363
jmp 0x40f3c0
xor esi, esi
test bl, bl
jne 0x40f3b1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x40f372
movzx eax, word [eax]
jmp 0x40f377
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x40f3a2
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x40f39b
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x40f330
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x40f330
mov ecx, edi
call fcn.00417fe4
mov ebx, eax
test esi, esi
jne 0x40f3c9
jmp 0x40f3ba
mov ecx, edi
call fcn.00417fe4
mov ebx, eax
test bl, bl
jne 0x40f3e8
jmp 0x40f3ee
mov ecx, edi
call fcn.00417fe4
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x40f3d6
movzx eax, word [eax]
jmp 0x40f3dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x40f3ee
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x41ae20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [0x48b5d8]
test edi, edi
jne 0x41aec6
push 0x24
call fcn.0044d06c
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax], 0
push 0xc
call fcn.0044d06c
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x48b5d8], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
test eax, eax
je 0x41aebd
cmp word [eax], 0
je 0x41aebd
xor ecx, ecx
nop dword [eax + eax]
lea edx, [ecx + 1]
cmp word [eax + ecx*2 + 2], 0
mov ecx, edx
jne 0x41aeb0
mov ecx, esi
push edx
push eax
call fcn.0041aed0
test edi, edi
sete al
pop esi
pop edi
pop ebp
ret
Function at 0x41aed0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x48912c]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.00421310
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b0cb
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x14], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x41af4a
push 0x473f0a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41af59
mov ecx, eax
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x41af55
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
jmp 0x41af5b
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x41b061
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
cmp eax, 0x15555556
jae 0x41b0eb
shl eax, 2
mov dword [ebp - 0x30], eax
lea esi, [eax + eax*2]
push esi
call fcn.0044d06c
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov esi, dword [ebp - 0x24]
jmp 0x41aff5
mov byte [edi + 0xb], bl
mov eax, edi
test ebx, ebx
je 0x41afe1
mov ecx, ebx
add ecx, ebx
push ecx
push dword [ebp - 0x34]
push eax
mov esi, eax
call fcn.00450300
mov eax, esi
mov esi, dword [ebp - 0x24]
add esp, 0xc
mov word [eax + ebx*2], 0
add edi, 0xc
mov eax, dword [ebp - 0x38]
add eax, 4
cmp dword [ebp - 0x30], eax
je 0x41b058
mov dword [ebp - 0x38], eax
mov eax, dword [esi + eax]
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x34], eax
push eax
call fcn.00460a1d
add esp, 4
cmp eax, 0x7ffffff0
jae 0x41b0df
mov ebx, eax
cmp eax, 5
jb 0x41afc0
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x41b0e6
lea eax, [esi + esi]
push eax
call fcn.0044d06c
add esp, 4
mov dword [edi], eax
or esi, 0x80000000
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
jmp 0x41afc9
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
mov ecx, edi
push ebx
call fcn.0041ac90
mov dword [edi], 0
mov dword [edi + 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41b08b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x41b0cb
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x41b0a6
mov eax, esi
jmp 0x41b0bf
mov eax, edi
cmp esi, edi
je 0x41b0bc
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x41b0a0
push dword [eax - 0xc]
call fcn.0044d09c
add esp, 4
jmp 0x41b0a0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
call fcn.0044d09c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.00418c44
call fcn.0045bcc7
lea ecx, [ebp - 0x20]
call fcn.0041a45c
int3
Function at 0x41c040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov edi, ecx
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], edx
movzx ecx, byte [0x48b5dc]
xor ecx, 3
xor eax, eax
mov dword [esp + 0x10], ecx
mov ebx, dword [eax*8 + 0x473e98]
mov dword [esp + 0x14], eax
mov eax, dword [eax*8 + 0x473e94]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x2b], bl
lea ecx, [ebx + ebx]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00450300
add esp, 0xc
mov word [esp + ebx*2 + 0x20], 0
movzx eax, byte [esp + 0x2b]
test al, al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0xc], ecx
cmovs edx, ecx
cmp edx, dword [esp + 8]
jbe 0x41c0e0
test al, al
js 0x41c120
mov ecx, dword [esp + 0x10]
jmp 0x41c136
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
test edx, edx
je 0x41c14a
test al, al
lea esi, [esp + 0x20]
cmovs esi, dword [esp + 4]
xor ebx, ebx
nop dword [eax]
movzx ecx, word [edi + ebx*2]
cmp cx, word [esi + ebx*2]
jne 0x41c0d6
add ebx, 1
cmp edx, ebx
jne 0x41c100
jmp 0x41c14a
push dword [esp + 0x20]
call fcn.0044d09c
add esp, 4
movzx ecx, byte [0x48b5dc]
xor ecx, 3
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, ecx
jb 0x41c071
jmp 0x41c1d6
test al, al
js 0x41c158
mov ecx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x41c16e
push dword [esp + 4]
call fcn.0044d09c
add esp, 4
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
xor ebx, ebx
test ecx, ecx
je 0x41c1dc
cmp ecx, dword [esp + 8]
je 0x41c1dc
lea eax, [esp + 0x18]
push 0
push 0x473f4c
push eax
mov ebx, ecx
call fcn.00422670
mov edx, ebx
add esp, 0xc
sub eax, ebx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
cmovb edx, ecx
sub ecx, edx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, esi
jne 0x41c1d6
test esi, esi
je 0x41c1da
add edx, edx
add edx, dword [esp + 0x18]
xor eax, eax
nop word cs:[eax + eax]
nop
movzx ecx, word [edx + eax*2]
cmp cx, word [edi + eax*2]
sete bl
jne 0x41c1dc
add eax, 1
cmp esi, eax
jne 0x41c1c0
jmp 0x41c1dc
xor ebx, ebx
jmp 0x41c1dc
mov bl, 1
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41ed70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0041b100
mov esi, eax
mov ecx, eax
push 0x474216
call fcn.0041b520
test al, al
jne 0x41edae
mov ecx, esi
push str.vmodule
call fcn.0041b520
test al, al
je 0x41ee40
cmp dword [0x48b5e0], 0
jne 0x41ef0b
mov eax, dword [0x48b5e4]
mov dword [0x48b5e0], eax
push 0x10
call fcn.0044d06c
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], str.vmodule
push str.vmodule
call fcn.004603a0
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.0041b590
mov dword [ebp - 0x38], 0x474216
push 0x474216
call fcn.004603a0
add esp, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov ecx, esi
push eax
push ebx
call fcn.0041b590
mov ecx, edi
push 0x48b5e8
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00423020
mov dword [0x48b5e4], edi
cmp byte [ebp - 0x25], 0
js 0x41ee81
cmp byte [ebp - 0x11], 0
js 0x41ee92
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x489100], eax
mov bl, 1
test al, 1
je 0x41eef7
mov eax, dword [0x48b5fc]
test eax, eax
je 0x41ee9f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48b5fc], 0
mov ecx, dword [0x48b5ec]
test ecx, ecx
jne 0x41eece
and byte [0x489100], 0xfe
jmp 0x41eea9
push dword [ebp - 0x30]
call fcn.0044d09c
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x41ee40
push dword [ebp - 0x1c]
call fcn.0044d09c
add esp, 4
jmp 0x41ee40
mov ecx, dword [0x48b5ec]
test ecx, ecx
jne 0x41eece
push 0xc
call fcn.0044d06c
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x48b5ec], eax
push dword [esi + 4]
call fcn.00419d36
cmp dword [esi + 0xc], 0
jne 0x41eef0
mov eax, dword [0x48b5ec]
cmp byte [eax + 0xb], 0
jns 0x41eee9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041ef10
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x41ef10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x48b5fc], 0
jne 0x41f13a
mov esi, dword [0x48b5ec]
test esi, esi
je 0x41ef51
test byte [0x489100], 1
jne 0x41f038
jmp 0x41f13a
push 0xc
call fcn.0044d06c
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.00460a1d
add esp, 4
cmp eax, 0x7ffffff0
jae 0x41f151
mov ebx, eax
cmp eax, 5
jae 0x41efab
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x41efd7
jmp 0x41efea
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x41f158
lea eax, [edi + edi]
push eax
call fcn.0044d06c
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
lea edi, [ebp - 0x218]
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.00450300
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x41effb
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.00419f2a
cmp eax, 0xffffffff
mov bl, 1
je 0x41f019
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00419e4c
mov ecx, esi
push 0x474094
call fcn.00419bb2
mov dword [0x48b5ec], esi
test byte [0x489100], 1
je 0x41f13a
cmp byte [esi + 0xb], 0
jns 0x41f040
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x474000]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x48b5fc], eax
add eax, 1
cmp eax, 1
ja 0x41f13a
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41f138
cmp eax, 0x104
ja 0x41f138
mov ecx, dword [0x48b5ec]
push esi
call fcn.00419d36
mov ecx, dword [0x48b5ec]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x41f0c5
mov edx, ecx
jmp 0x41f0ca
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x41f0e2
push 0x474090
call fcn.00419bb2
mov ecx, dword [0x48b5ec]
push 0x474094
call fcn.00419bb2
mov eax, dword [0x48b5ec]
cmp byte [eax + 0xb], 0
jns 0x41f0f9
mov eax, dword [eax]
movaps xmm0, xmmword [0x474000]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x48b5fc], eax
add eax, 1
cmp eax, 1
ja 0x41f13a
mov dword [0x48b5fc], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00418c44
call fcn.0045bcc7
int3
Function at 0x420d00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x420d52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x420d3c
call fcn.0042c350
push dword [esi]
call fcn.0042d570
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x420d4b
mov dword [esi], ebx
call fcn.0042c350
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x420d69
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x420ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x420ec6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420ec8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x420ee8
cmp byte [ebp + 0xc], 0
je 0x420f31
cmp byte [esi + 4], 0
je 0x420f23
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x420efc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420efe
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420f15
xor ebx, ebx
jmp 0x420f9f
cmp byte [esi + 4], 0
je 0x420f5f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420f61
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x420f3f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420f41
mov eax, dword [esi]
push eax
call fcn.0042d540
add esp, 4
mov ecx, dword [0x48b678]
mov bl, 1
test ecx, ecx
je 0x420f9f
push edi
push eax
call fcn.00424a80
jmp 0x420f9f
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x420f73
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x420f81
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x420f83
mov eax, dword [esi]
push eax
call fcn.0042d540
add esp, 4
mov ecx, dword [0x48b678]
test ecx, ecx
je 0x420f9d
push edi
push eax
call fcn.00424a80
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x425f70
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x48b698]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x4260f4
jp 0x4260f4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x48b6a8]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x426119
mov eax, dword [0x48b6b8]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x426152
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x48b6b0]
sbb ebx, dword [0x48b6b4]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x4710e0]
subpd xmm1, xmmword [0x4710f0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x475510]
ucomisd xmm2, xmm0
ja 0x4260f4
mov eax, dword [esp + 8]
sub eax, dword [0x48b6a0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x48b6a4]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x4710e0]
subpd xmm2, xmmword [0x4710f0]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x48b698], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0044d0e1
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x48b6a8
call fcn.0044d127
add esp, 4
cmp dword [0x48b6a8], 0xffffffff
jne 0x425fe2
rdtsc
mov dword [0x48b6a0], eax
mov dword [0x48b6a4], edx
push 0x48b6a8
call fcn.0044d19d
add esp, 4
jmp 0x425fe2
push 0x48b6b8
call fcn.0044d127
add esp, 4
cmp dword [0x48b6b8], 0xffffffff
jne 0x426003
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x48b6b4], ecx
mov dword [0x48b6b0], eax
push 0x48b6b8
call fcn.0044d19d
add esp, 4
jmp 0x426003
Function at 0x42a5f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x42a65d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x42a630
cmp edx, 1
jne 0x42a666
jmp 0x42a682
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x42a682
cmp edx, 2
je 0x42a679
cmp edx, 3
jne 0x42a68d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x42a7e8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x42a6f4
lea edx, [edi - 1]
and edx, ebx
jmp 0x42a700
mov edx, ebx
cmp ebx, edi
jb 0x42a700
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42a7e8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x42a7e8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x42a756
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x42a7e6
mov ebx, dword [ebx]
test ebx, ebx
je 0x42a7e6
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x42a7b0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x42a76b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x42a74c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x42a7c8
cmp dword [ebp - 0x10], 0
je 0x42a7e2
cmp byte [esi], dl
jne 0x42a74c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x42a7e2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x42a790
jmp 0x42a74c
cmp dword [ebp - 0x28], 1
jbe 0x42a740
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x42a743
xor edx, edx
div ecx
mov eax, edx
jmp 0x42a743
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42a7e2
push eax
push esi
push ecx
call fcn.0044f3ed
add esp, 0xc
test eax, eax
jne 0x42a74c
mov ecx, ebx
jmp 0x42a7e8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8