joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418d50
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
call fcn.004189e0
cmp eax, 7
je 0x418e10
cmp eax, 0xd
jne 0x418e7d
lea eax, [esp + 0x1c]
push edi
push eax
push 0x13
push esi
mov dword [esp + 0x2c], ebx
call fcn.00418a30
test eax, eax
mov edi, dword [esp + 0x1c]
je 0x418ded
cmp dword [esp + 0x20], 0x190
jae 0x418ded
lea ecx, [esp + 0xc]
push ecx
push 5
push esi
call fcn.00418a30
test eax, eax
je 0x418dca
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov bl, 1
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1c], 0xa0000004
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1c], 0xa0000003
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x43f0a0]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x418e52
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x418e4e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
pop esi
mov dword [ecx + 0x1c], 0xa0000004
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], ebx
jne 0x418e72
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov bl, 1
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], 0xa0000005
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
pop esi
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
Function at 0x418ea0
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x10]
push ebx
push eax
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
mov esi, dword [esp + 0x14]
je 0x418fb5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x418fbc
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
cmp eax, ecx
jbe 0x418ee5
mov eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x418f86
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x20]
push eax
push ecx
add eax, ebx
push edx
push eax
push 5
push edi
push esi
call fcn.00418d10
test al, al
je 0x418f7d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x418f66
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x418f58
lea edx, [esp + 0x14]
push 0
push edx
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x418f74
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jne 0x418f74
mov eax, dword [esp + 0xc]
add ebx, ecx
sub eax, ecx
mov dword [esp + 0xc], eax
jmp 0x418f6a
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x418ed4
jmp 0x418f95
mov dword [esi + 0x1c], 0xa0000008
jmp 0x418f8d
mov dword [esi + 0x1c], 0xa0000001
jmp 0x418f8d
mov dword [esi + 0x1c], 0xa0000007
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x418fbc
push 0
lea edx, [esp + 0x10]
push 0
push edx
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x418ec8
mov dword [esi + 0x1c], 0xa0000007
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x418ffa
push 0
push 0
push eax
push ebx
push 6
push edi
push esi
call fcn.00418d10
test al, al
je 0x418fea
mov dword [esi + 0x1c], 0x20000000
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0x10
mov dword [esi + 0x1c], 0xa0000001
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
cmp dword [esi + 0x1c], 0xa0ffffff
jne 0x41900a
mov dword [esi + 0x1c], 0xa0000009
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x419d50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov edx, dword [esp + 0x4c]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
add esp, 0x3c
ret 0x18

Function at 0x41a590
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x41a61a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp eax, 0x102
ja 0x41a600
je 0x41a5d7
test eax, eax
je 0x41a5ca
cmp eax, 0x80
jne 0x41a605
mov ecx, dword [esp + 0x14]
mov al, 1
mov dword [ecx], esi
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41a5f7
push 0
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x41a5f7
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x102
call ebx
jmp 0x41a606
cmp eax, 0xffffffff
je 0x41a606
int3
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
pop edi
mov edx, dword [esp + 0x14]
pop esi
xor al, al
pop ebx
mov dword [edx], 0
ret 0xc

Function at 0x41b7c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 0x696e4942
mov cl, byte [edx]
test cl, cl
je 0x41b7e4
shl eax, 3
and ecx, 0xff
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
not eax
jne 0x41b7cf
ret 4

Function at 0x41d280
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.0042bb70
mov ecx, dword [esp + 0x1004]
lea eax, [esp + 0x1008]
push eax
push ecx
lea edx, [esp + 8]
push 0x1000
push edx
call fcn.0042bb9f
add esp, 0x10
mov byte [esp + 0xfff], 0
test eax, eax
jle 0x41d2ca
cmp eax, 0x1000
jae 0x41d2ca
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x1000
ret

Function at 0x41d2e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebx
push ecx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d31a
mov ebx, dword [ebp + 0xc]
mov esi, 0x437848
add ecx, ebx
not eax
movzx edi, byte ds:[ebx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword ds:[esi + edi*4]
inc ebx
cmp ebx, ecx
jne 0x41d300
not eax
pop edi
pop esi
pop ecx
pop ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41fd80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
xor esi, esi
mov dl, byte [esp + esi + 8]
mov al, 1
mov ecx, esi
shl al, cl
test dl, 0x40
je 0x41fdba
or byte [esp + 0x10], al
test dl, 0x10
je 0x41fdc3
or byte [esp + 0x11], al
test dl, 4
je 0x41fdcc
or byte [esp + 0x12], al
test dl, 1
je 0x41fdd5
or byte [esp + 0x13], al
test dl, dl
jns 0x41fddd
or byte [esp + 0x14], al
test dl, 0x20
je 0x41fde6
or byte [esp + 0x15], al
test dl, 8
je 0x41fdef
or byte [esp + 0x16], al
test dl, 2
je 0x41fdf8
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x41fda7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], bl
and edi, 1
mov eax, dword [esp + 0x18]
and eax, 0xff
lea ecx, [eax + eax*2]
lea eax, [esp + 0x10]
lea edx, [ebp + ecx*2]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.0041fef0
mov eax, dword [esp + 0x2c]
xor eax, esi
mov esi, dword [esp + 0x10]
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
jne 0x41fe5c
inc bl
cmp bl, 0x10
mov byte [esp + 0x18], bl
jb 0x41fe1b
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], esi
pop ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor esi, esi
mov edi, 8
pop ebx
mov cl, byte [esp + esi + 8]
mov al, byte [esi + 0x437de8]
test cl, 1
je 0x41fe8a
or byte [esp + 0x10], al
test cl, 2
je 0x41fe93
or byte [esp + 0x11], al
test cl, 4
je 0x41fe9c
or byte [esp + 0x12], al
test cl, 8
je 0x41fea5
or byte [esp + 0x13], al
test cl, 0x10
je 0x41feae
or byte [esp + 0x14], al
test cl, 0x20
je 0x41feb7
or byte [esp + 0x15], al
test cl, 0x40
je 0x41fec0
or byte [esp + 0x16], al
test cl, cl
jns 0x41fec8
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x41fe77
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x420770
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
test al, 1
je 0x420791
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.0041fd80
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, 8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor esi, esi
mov dl, byte [esp + esi + 0x10]
mov al, 1
mov ecx, esi
shl al, cl
test dl, 0x40
je 0x4207c8
or byte [esp + 8], al
test dl, 0x10
je 0x4207d1
or byte [esp + 9], al
test dl, 4
je 0x4207da
or byte [esp + 0xa], al
test dl, 1
je 0x4207e3
or byte [esp + 0xb], al
test dl, dl
jns 0x4207eb
or byte [esp + 0xc], al
test dl, 0x20
je 0x4207f4
or byte [esp + 0xd], al
test dl, 8
je 0x4207fd
or byte [esp + 0xe], al
test dl, 2
je 0x420806
or byte [esp + 0xf], al
inc esi
dec edi
jne 0x4207b5
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
push ebx
push ebp
mov dword [esp + 0x2c], edi
lea ebx, [ecx + 0x5a]
mov ebp, 0x10
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0041fef0
sub ebx, 6
mov eax, dword [esp + 0x28]
xor eax, esi
mov esi, edi
mov edi, eax
dec ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
jne 0x420824
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], esi
pop ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor esi, esi
mov edi, 8
pop ebx
mov cl, byte [esp + esi + 0x10]
mov al, byte [esi + 0x437de8]
test cl, 1
je 0x42087a
or byte [esp + 8], al
test cl, 2
je 0x420883
or byte [esp + 9], al
test cl, 4
je 0x42088c
or byte [esp + 0xa], al
test cl, 8
je 0x420895
or byte [esp + 0xb], al
test cl, 0x10
je 0x42089e
or byte [esp + 0xc], al
test cl, 0x20
je 0x4208a7
or byte [esp + 0xd], al
test cl, 0x40
je 0x4208b0
or byte [esp + 0xe], al
test cl, cl
jns 0x4208b8
or byte [esp + 0xf], al
inc esi
dec edi
jne 0x420867
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
add esp, 0x10
ret 0xc

Function at 0x420b80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x44]
push edi
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x420bea
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x1c]
push 0
push 0x69
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 1
call fcn.0041a4a0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
push 0x69
push esi
call fcn.0041a4a0
pop edi
pop esi
add esp, 0x3c
ret 4
Function at 0x422930
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
ret 4

Function at 0x424400
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
je 0x424446
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call ebx
test eax, eax
jne 0x42443c
push 0x1f4
call ebp
push esi
call edi
cmp eax, 0xffffffff
jne 0x42442e
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x424450
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
sub esp, 0x5e8
lea eax, [esp + 0x158]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 0x104
push eax
push ebx
call fcn.004177e0
test al, al
je 0x4245ec
mov edx, dword [esp + 0x5f4]
lea ecx, [esp + 0x5c]
push ebx
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4245ec
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4245ec
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0x44
lea edx, [esp + 0x268]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x164]
push ecx
push str._s.tmp
push 0x104
push edx
call fcn.0040a660
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x10
lea eax, [esp + 0x164]
push 0x80
push eax
call esi
lea ecx, [esp + 0x60]
push 0x80
push ecx
call esi
lea edx, [esp + 0x268]
push 0x80
push edx
call esi
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x268]
lea edx, [esp + 0x164]
push ecx
push edx
call esi
test eax, eax
pop edi
je 0x424575
lea eax, [esp + 0x160]
lea ecx, [esp + 0x5c]
push eax
push ecx
call esi
test eax, eax
je 0x424575
lea edx, [esp + 0x5c]
lea eax, [esp + 0x264]
push edx
push eax
call esi
test eax, eax
je 0x424575
lea ecx, [esp + 8]
push ecx
call fcn.00417da0
test eax, eax
je 0x4245df
jmp 0x4245c3
lea edx, [esp + 0x160]
lea eax, [esp + 0x5c]
push edx
push eax
push str.__s___UPDATE:
lea ecx, [esp + 0x374]
push 0x288
push ecx
call fcn.0040a660
add esp, 0x14
lea edx, [esp + 8]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x368]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4245ec
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0x10], ebx
call esi
mov eax, dword [esp + 8]
mov dword [esp + 8], ebx
push eax
call esi
pop esi
mov al, 1
pop ebx
add esp, 0x5e8
ret 4
pop esi
xor al, al
pop ebx
add esp, 0x5e8
ret 4
Function at 0x424600
Capabilities:
Accept command line arguments
Copy file
Create process on windows
Terminate process

Disassembly:
sub esp, 0x158
push esi
push edi
push str._UPDATE:
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0040e980
test eax, eax
je 0x4246eb
lea edx, [eax + 9]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x4246eb
cmp byte [esi + edx - 1], 1
jne 0x4246eb
cmp esi, 0x104
ja 0x4246eb
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0x44
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0040ea10
lea ecx, [esp + 0x5c]
mov byte [esp + esi + 0x5b], 0
push ecx
call fcn.00424400
lea edx, [esp + 0x5c]
push 0
mov eax, dword [esp + 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4246e3
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0x10], 0
call esi
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
push eax
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00424400
pop edi
pop esi
add esp, 0x158
ret 4

Function at 0x424ac0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x800
lea eax, [esp]
push esi
mov esi, dword [esp + 0x808]
push 0x800
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x424b24
cmp byte [esp + 4], 0x23
jne 0x424b24
lea ecx, [esp + 4]
push 0x800
push ecx
push 0xa
lea edx, [esp + 0x11]
push 0
push edx
call fcn.0042d0d1
add esp, 0xc
push eax
mov eax, dword [esp + 0x818]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x424b24
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop esi
add esp, 0x800
ret 8

Function at 0x4255c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 4
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x438750]
xor eax, edx
dec ecx
jne 0x4255c9
ret
Function at 0x431ced
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4417c0
cmp edx, dword [eax]
je 0x431d0f
add eax, 8
inc ecx
cmp eax, 0x441850
jl 0x431d00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4417c0]
jne 0x431e3d
mov eax, dword [0x442550]
cmp eax, 1
je 0x431e17
test eax, eax
jne 0x431d40
cmp dword [0x43f154], 1
je 0x431e17
cmp edx, 0xfc
je 0x431e3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x431d77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004315b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042ec80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x431dba
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042ec80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x436a4c
push edi
call fcn.00433000
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004315b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004315c0
lea eax, [ebp - 0xa0]
push 0x43cfd0
push eax
call fcn.004315c0
push dword [esi + 0x4417c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004315c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00433210
add esp, 0x2c
pop edi
jmp 0x431e3d
lea eax, [ebp + 8]
lea esi, [esi + 0x4417c4]
push 0
push eax
push dword [esi]
call fcn.0042ec80
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 0x10002aa0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10003960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x100048c0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10004910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x100057d0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100059f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x100057f0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x100525c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [eax], 0x8b55ff8b
je 0x100059d3
cmp dword [0x100537bc], 1
jne 0x10005892
push 1
push 0x40
push 8
push str.rez_UI_Scripts_1.s
lea ecx, [ebp - 0x174]
call fcn.10001830
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nSP_Scan:
push eax
call fcn.10001100
lea eax, [ebp - 0x174]
push str.Speed_Hack_detected_
push eax
call fcn.10001100
add esp, 0x10
lea ecx, [ebp - 0x174]
call fcn.100032c0
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.100026a0
cmp dword [0x100537cc], 1
jne 0x10005950
lea eax, [ebp - 0x14]
push eax
call fcn.1001dcd5
lea eax, [ebp - 0x14]
push eax
call fcn.1001dcae
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x100406a4
call fcn.10001830
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push str._nLocal_Time:
push eax
call fcn.10001100
push esi
call fcn.1001d9c9
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10001100
lea eax, [ebp - 0xc4]
push str.SP_Scan:
push eax
call fcn.10001100
lea eax, [ebp - 0xc4]
push str.Speed_Hack_detected_
push eax
call fcn.10001100
lea eax, [ebp - 0xc4]
push str._n__________________
push eax
call fcn.10001100
add esp, 0x2c
lea ecx, [ebp - 0xc4]
call fcn.100032c0
push 2
push 0x100406a4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.100026a0
mov eax, dword [0x100537c0]
push 0
cmp eax, 1
jne 0x10005982
push 0
push 0
push 0x100057a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10005992
push 0
push 0
push 0x10005770
jmp 0x10005965
cmp eax, 3
jne 0x100059a2
push 0
push 0
push 0x10002b20
jmp 0x10005965
cmp eax, 4
jne 0x1000597c
push 0
push 0
push 0x10015d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.SP_Scan
push str.Speed_Hack_detected_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000597a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret