joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4195cb
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004495bd
cdq
mov esi, 0xff
idiv esi
lea ecx, [edx + 1]
call fcn.00417fd3
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x419661
call fcn.004495bd
cdq
idiv esi
lea ecx, [edx + 1]
call fcn.00417fd3
mov esi, dword [0x4a3a68]
add esi, 0x1190
cmp word [esi], di
je 0x41965a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x20
push esi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x41964a
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x41961c
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4196c5
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.004495bd
cdq
mov ecx, 0xff
idiv ecx
lea ecx, [edx + 1]
call fcn.00417fd3
xor ebx, ebx
push 0x3c
mov eax, ebx
pop ecx
mov byte [ebp + eax - 0x3c], bl
inc eax
cmp eax, ecx
jb 0x4196ee
xor eax, eax
mov dword [ebp - 0x3c], ecx
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov eax, ebx
mov byte [eax + esi], bl
inc eax
cmp eax, 0x10
jb 0x419708
lea eax, [ebp - 0x3c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x419805
mov eax, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
call fcn.004015d0
mov dword [esi], eax
test eax, eax
je 0x419805
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x41975b
mov ecx, dword [ebp - 0x28]
add ecx, ecx
push ecx
mov ecx, eax
call fcn.00401640
pop ecx
mov ecx, dword [ebp - 0xc]
push 0x2f
pop edx
test ecx, ecx
je 0x41977b
mov eax, dword [ebp - 0x10]
cmp word [eax], dx
jne 0x41977b
dec ecx
add eax, 2
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x419768
mov edi, dword [ebp - 4]
add edi, ecx
lea ecx, [edi*2 + 4]
call fcn.004015d0
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x4197da
push 0x2f
pop eax
mov word [ecx], ax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4197b4
mov eax, dword [ebp - 0xc]
add ecx, 2
add eax, eax
push eax
call fcn.00401640
pop ecx
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 8]
test edx, edx
je 0x4197d3
mov eax, dword [ebp - 4]
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ecx + eax*2]
add ecx, 2
call fcn.00401640
pop ecx
mov ecx, dword [esi + 4]
xor eax, eax
mov word [ecx + edi*2 + 2], ax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [esi + 8], eax
mov ax, word [ebp - 0x24]
mov word [esi + 0xc], ax
mov eax, dword [ebp - 0x30]
sub eax, 3
je 0x419801
sub eax, 1
je 0x4197fb
mov byte [esi + 0xe], bl
jmp 0x419805
mov byte [esi + 0xe], 2
jmp 0x419805
mov byte [esi + 0xe], 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41980a
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edx
mov esi, edi
lea edx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.004196c5
mov eax, edi
mov dword [ebp - 0x10], edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x419996
mov dword [ebp - 0xc], 0xea60
mov esi, edi
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 5
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + esi*4 - 0x28]
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
inc esi
cmp esi, 3
jb 0x419860
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x419986
cmp byte [ebp - 0x2a], 2
mov eax, 0x800000
mov ecx, 0x403000
cmove ecx, eax
xor eax, eax
push eax
push ecx
push eax
push eax
push eax
push dword [ebp - 0x34]
mov dword [ebp - 8], ecx
push dword [ebp - 0x14]
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x41997f
and dword [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x4198ff
or dword [ebp - 8], 0x3180
lea eax, [ebp - 8]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
neg eax
sbb eax, eax
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x419978
mov ebx, dword [ebp - 4]
xor edi, edi
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x41995f
mov edx, dword [ebp - 4]
mov ecx, ebx
lea edx, [edx + edi]
call fcn.004015e1
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [edi + ebx]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
add edi, eax
jmp 0x419962
mov eax, dword [ebp - 4]
test eax, eax
jne 0x419920
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x419975
mov dword [eax], edi
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 4]
test esi, esi
jne 0x4199a7
xor edi, edi
cmp dword [ebp - 0x10], 1
je 0x4199a7
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x41982a
mov ecx, dword [ebp - 0x38]
call fcn.00401615
mov ecx, dword [ebp - 0x34]
call fcn.00401615
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419e22
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
lea eax, [ebp - 4]
mov edx, 0x48bfac
mov ecx, str.https:__dist.torproject.org_torbrowser_8.5.3_tor_win32_0.3.5.8.zip
push ebx
push esi
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
call fcn.0041980a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x419f34
lea eax, [ebp - 0x470]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x268]
call fcn.00401a1d
test al, al
je 0x419f2b
push dword [ebp - 4]
mov edx, esi
lea ecx, [ebp - 0x268]
call fcn.00401a8d
pop ecx
test al, al
je 0x419f2b
lea edx, [ebp - 0x470]
lea ecx, [ebp - 0x268]
call fcn.00401bf2
test al, al
je 0x419f1e
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x470]
push str.Tor_tor.exe
push eax
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, ebx
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, 0x10
jb 0x419ec6
push 0x44
mov eax, ebx
pop ecx
mov byte [ebp + eax - 0x60], bl
inc eax
cmp eax, ecx
jb 0x419ed5
xor eax, eax
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x34], 1
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x419f1e
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.00401615
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41b042
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41b069
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b676
jmp 0x41b11e
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x41b08b
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x41b08d
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x41b112
jg 0x41b0a2
test esi, esi
je 0x41b112
test ecx, ecx
jl 0x41b0f5
jg 0x41b0ac
test eax, eax
je 0x41b0f5
cmp edi, ecx
jg 0x41b0c0
jl 0x41b0b6
cmp esi, eax
jae 0x41b0c0
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0043c8c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, ecx
test edi, edi
jl 0x41b112
jg 0x41b0f8
test esi, esi
je 0x41b112
jmp 0x41b0f8
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x41b112
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.00449d1c
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41b127
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jg 0x41b149
jl 0x41b140
test edi, edi
jne 0x41b149
xor eax, eax
xor edx, edx
jmp 0x41b207
cmp dword [ecx + 0x38], 0
je 0x41b15e
push esi
push edi
push dword [ebp + 8]
call fcn.0041b73f
jmp 0x41b207
mov eax, dword [ecx + 0x1c]
push ebx
mov ebx, edi
mov edx, dword [eax]
test edx, edx
je 0x41b1a2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x41b1a2
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push edx
push ebx
call fcn.0043c8c0
mov ecx, dword [ebp - 4]
add ebx, esi
mov dword [ebp + 8], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
jmp 0x41b1a8
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
mov edx, ebx
je 0x41b1fd
call fcn.0041bfdf
mov edx, ebx
jmp 0x41b1db
push dword [ecx + 0x4c]
push eax
push 1
push dword [ebp + 8]
call fcn.0044ad32
add dword [ebp + 8], eax
sub ebx, eax
add esp, 0x10
mov edx, ebx
cmp eax, 0xfff
jne 0x41b20d
mov ecx, dword [ebp - 4]
mov eax, 0xfff
cmp ebx, eax
ja 0x41b1b9
test edx, edx
je 0x41b1fd
push dword [ecx + 0x4c]
push ebx
push 1
push dword [ebp + 8]
call fcn.0044ad32
mov edx, ebx
add esp, 0x10
sub edx, eax
sub edi, edx
sbb esi, 0
mov eax, edi
mov edx, esi
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x41b1ff
Function at 0x41b496
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x41b4b2
xor eax, eax
jmp 0x41b579
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x41b4db
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x41b4db
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x41b579
cmp dword [esi + 0x4c], 0
je 0x41b577
mov ecx, esi
call fcn.0041bfdf
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41b508
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004462c5
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x41b577
mov byte [ebp - 1], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x41b577
cmp eax, 1
jle 0x41b546
cmp eax, 3
jne 0x41b577
push dword [esi + 0x4c]
movsx ecx, byte [ebp - 1]
push ecx
jmp 0x41b4fa
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 8], eax
je 0x41b569
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.00449d1c
add esp, 0x10
cmp dword [ebp - 8], eax
jne 0x41b577
lea eax, [ebp - 1]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0xc], eax
mov eax, ebx
jne 0x41b579
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c002
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x41c051
cmp byte [esi + 0x3d], bl
je 0x41c051
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41c080
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x41c058
sub eax, 1
je 0x41c05b
dec eax
sub eax, 1
jne 0x41c080
mov byte [esi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41c078
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00449d1c
add esp, 0x10
cmp edi, eax
jne 0x41c080
cmp byte [esi + 0x3d], bl
sete al
jmp 0x41c053
xor al, al
jmp 0x41c053
Function at 0x428cf0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478638
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x497018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x428d66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x428d66
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x428d84
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041eaaa
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.0041bcbd
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.00428e50
push 0x493438
lea eax, [ebp - 0x50]
push eax
call fcn.0043c6ee
int3
Function at 0x4295a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor cl, cl
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x4296d1
test al, 3
jne 0x4296d1
mov edi, edx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x42968c
cmp edi, 8
jb 0x429655
mov ebp, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x14], ebx
and ecx, 0xfffffff8
add eax, 0x10
xorps xmm3, xmm3
sub dword [esp + 0x14], ebp
xorps xmm2, xmm2
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, ecx
jb 0x429604
mov eax, dword [esp + 0x24]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x429690
mov ebp, ebx
lea ecx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or edi, eax
sub ebp, 1
jne 0x429672
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], edi
jmp 0x429694
xor edi, edi
jmp 0x429694
mov edi, dword [esp + 0x10]
shl esi, 2
sub edx, esi
jne 0x4296a8
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x24]
mov ecx, eax
shr eax, 0x10
add ebp, esi
shr ecx, 0x18
or cl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or cl, al
mov eax, ebp
or cl, byte [esp + 0x10]
xor edi, edi
test edx, edx
je 0x429790
cmp edx, 0x20
jb 0x42976a
mov esi, edx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x10], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x429705
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or cl, al
mov ebp, dword [esp + 0x14]
cmp edi, edx
jae 0x429790
sub ebx, ebp
lea esi, [edi + ebp]
sub edx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or cl, al
sub edx, 1
jne 0x429780
pop edi
pop esi
test cl, cl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x43aeb0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x4a2752], 0
jne 0x43aebe
call fcn.0043aef0
cmp byte [0x4a2759], 0
je 0x43aedc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043b9f0
add esp, 0x10
ret
jmp fcn.00439260
Function at 0x4534b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453327

Function at 0x4615a8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x409720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x20
push 0x4790f8
push edi
call dword [sym.imp.MSVCRT.dll__fsopen]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x409758
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea eax, [ebp - 2]
push 2
push eax
call edi
add esp, 0x10
test eax, eax
je 0x4097ed
mov ebx, 0x4c8d02
push esi
push 1
lea ecx, [ebx - 2]
push 2
push ecx
call edi
push esi
push 1
push 2
push ebx
call edi
push esi
push 1
lea edx, [ebp + 0xa]
push 2
push edx
call edi
push esi
push 1
lea eax, [ebp + 0xa]
push 2
push eax
call edi
movsx ecx, word [ebp + 0xa]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
test eax, eax
mov dword [ebp - 8], eax
push esi
je 0x409803
movsx edx, word [ebp + 0xa]
push 1
push edx
push eax
call edi
mov eax, dword [ebp - 8]
push esi
mov dword [ebx + 2], eax
lea ecx, [eax + 0xc2]
push 1
mov dword [ebx + 6], ecx
add eax, 0x122
lea edx, [ebp - 2]
push 2
mov dword [ebx + 0xa], eax
push edx
add ebx, 0x10
call edi
add esp, 0x20
test eax, eax
jne 0x409775
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cb60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop

Function at 0x40e260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
pop ebp
ret

Function at 0x40e6b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jg 0x40e6c5
call fcn.00403260
xor eax, eax
pop ebx
pop ebp
ret
push esi
push edi
call fcn.0040a390
mov edi, eax
call fcn.00403260
push 0
push 0x5300
call fcn.0040e780
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e733
push 0x5200
push 0x5200
call fcn.0040e780
add esp, 8
test eax, eax
jne 0x40e719
call fcn.0040a390
mov ecx, 0x1a5e00
sub ecx, edi
add eax, ecx
xor edx, edx
mov ecx, 0x1a5e00
div ecx
cmp edx, ebx
jae 0x40e76f
call fcn.00403260
push 0
push 0x5300
call fcn.0040e780
mov esi, eax
add esp, 8
test esi, esi
je 0x40e6e8
push 0x5200
push 0x5200
call fcn.0040e780
add esp, 8
test eax, eax
je 0x40e76f
cmp eax, esi
jg 0x40e76f
push 0
push 0x5200
call fcn.0040e780
push 0x5200
push 0x5200
call fcn.0040e780
add esp, 0x10
test eax, eax
jne 0x40e749
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x40e790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
push ebx
push esi
push edi
lea eax, [ebp - 0x17c]
push 0x4c7f00
push eax
call sub.MSVCRT.dll_strcpy
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x17c]
push edx
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x17c]
push 0
push eax
call sub.MSVCRT.dll__access
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add esp, 0x18
test eax, eax
jne 0x40e813
lea ecx, [ebp - 0x17c]
push ecx
push 0x200
push esi
push str.QAZWSXEDCRFVTGBYHNUJMIKLOP______
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.QAZWSXEDCRFVTGBYHNUJMIKLOP______
push esi
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x40e813
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x17c]
push 0x47a29c
push edx
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x17c]
push ecx
call sub.MSVCRT.dll_strcat
lea edx, [ebp - 0x17c]
push 0
push edx
call sub.MSVCRT.dll__access
add esp, 0x18
test eax, eax
jne 0x40e881
lea eax, [ebp - 0x17c]
push eax
push 0x200
push esi
push str.QAZWSXEDCRFVTGBYHNUJMIKLOP______
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.QAZWSXEDCRFVTGBYHNUJMIKLOP______
push esi
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x40e881
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret