joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fa300
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x101cd100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x21c], 7
je 0x100fa46b
cmp byte [esi + 0x2e9], 0
push ebx
push edi
je 0x100fa33a
mov edi, dword [esi + 0x228]
mov ebx, dword [esi + 0x22c]
jmp 0x100fa348
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [esi + 0x184]
movups xmm0, xmmword [esi + 0x230]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x240]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x244]
mov dword [ebp - 0x4c], eax
mov al, byte [esi + 0x2e8]
push 0x2d
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x3d], al
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x100fa39c
push 4
lea ecx, [ebp - 0x44]
push ecx
push eax
call sub.libssl_3.dll_SSL_write
add esp, 0xc
jmp 0x100fa3ac
push 0
push 4
lea eax, [ebp - 0x44]
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_send]
push 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x50]
call fcn.100fe740
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x54]
call dword [sym.imp.WS2_32.dll_htonl]
push ebx
push edi
mov dword [ebp - 0x28], eax
call fcn.100fe740
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0x10
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [ebp - 0x48], 0
movups xmm0, xmmword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x3d]
pop edi
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 8], al
pop ebx
jl 0x100fa47c
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
test eax, eax
je 0x100fa425
push 0x2d
lea ecx, [ebp - 0x34]
push ecx
push eax
call sub.libssl_3.dll_SSL_write
add esp, 0xc
jmp 0x100fa435
push 0
push 0x2d
lea eax, [ebp - 0x34]
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x100fa47c
lea eax, [esi + 0x258]
mov dword [esi + 0x21c], 2
mov dword [esi + 0x188], eax
push dword [eax + 4]
push 0
push dword [eax]
call fcn.10134c50
mov eax, dword [esi + 0x188]
add esp, 0xc
mov dword [eax + 8], 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret
call fcn.1013e52f
push dword [eax]
call fcn.1013a357
push eax
push str.failed_to_send_a_handshake_packet:__s
push 0xfffffffffffffffc
push str.prime_connection
push 0x8ee
push esi
call fcn.100f96d0
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop esi
call fcn.10132a90
mov esp, ebp
pop ebp
ret
Function at 0x100fae50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi + 8]
cmp edi, 4
jge 0x100faec3
mov eax, 4
lea ecx, [esi + 4]
sub eax, edi
add ecx, edi
mov edi, dword [ebx]
mov edx, dword [edi + 8]
test edx, edx
je 0x100fae86
push eax
push ecx
push edx
call sub.libssl_3.dll_SSL_read
add esp, 0xc
jmp 0x100fae92
push 0
push eax
push ecx
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100faef8
test ecx, ecx
je 0x100faeed
mov edi, dword [esi + 8]
add edi, ecx
mov dword [esi + 8], edi
cmp edi, 4
jne 0x100faec3
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
push 1
mov dword [esi + 4], eax
call fcn.1013a60e
add esp, 8
mov dword [esi], eax
mov eax, dword [esi]
test eax, eax
je 0x100faf5e
mov ecx, dword [esi + 4]
sub edi, 4
sub ecx, edi
add eax, edi
mov edi, dword [ebx]
mov edx, dword [edi + 8]
test edx, edx
je 0x100faf10
push ecx
push eax
push edx
call sub.libssl_3.dll_SSL_read
add esp, 0xc
jmp 0x100faf1c
call fcn.1013e52f
mov dword [eax], 0x20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100faf89
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push ecx
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x100faf50
lea eax, [ebx + 0x258]
cmp esi, eax
jne 0x100faf5b
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add ecx, edi
add eax, 3
cmp ecx, eax
jne 0x100faf5b
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 4]
sub ecx, 5
cmp eax, ecx
jne 0x100faf5b
inc edi
mov eax, edi
cmp edi, 0xffffffff
je 0x100faf7c
test eax, eax
je 0x100faf71
add dword [esi + 8], edi
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, 4
cmp dword [esi + 8], ecx
pop edi
pop esi
sete al
pop ebx
pop ebp
ret
call fcn.1013e52f
mov dword [eax], 0x20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100faf5e
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x100fc4b0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x1c
mov eax, 0x10
cmp word [edi], 0x17
cmovne esi, eax
cmp dword [0x101cc834], 4
jne 0x100fc4f9
mov eax, dword [ebp + 8]
test eax, eax
je 0x100fc4df
mov eax, dword [eax + 0x250]
push str._zk__connect___n
push str.zookeeper_connect
push 0x9b0
push 4
push eax
call fcn.100fddd0
add esp, 0x14
push esi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
call fcn.1013e52f
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.1013e52f
mov ecx, dword [eax]
sub ecx, 0x2733
je 0x100fc53a
sub ecx, 1
jne 0x100fc545
call fcn.1013e52f
mov dword [eax], 0x70
mov eax, edi
pop edi
pop esi
pop ebp
ret
call fcn.1013e52f
mov dword [eax], 0x8c
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x100fdd70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 1
push eax
push 1
push 6
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x100fddbf
cmp dword [0x101cc834], 2
jl 0x100fddbf
mov eax, dword [ebp + 8]
test eax, eax
je 0x100fdda5
mov eax, dword [eax + 0x250]
push str.Unable_to_set_TCP_NODELAY__latency_may_be_effected
push str.zookeeper_set_sock_nodelay
push 0x99b
push 2
push eax
call fcn.100fddd0
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x100fe7a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x101cd100]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100fe7ed
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x100fe7e7
shr eax, 8
test al, al
jne 0x100fe7e7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret

Function at 0x100fea40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
call fcn.1013ac5c
mov edx, dword [ebp + 8]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
test eax, eax
jne 0x100fea76
call fcn.1013e52f
mov eax, dword [eax]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100ff8c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.100f7b00
mov edi, dword [ebx + 0x2cc]
add esp, 4
test edi, edi
je 0x100ff994
call fcn.100feb80
push edx
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100feaa0
add esp, 0x10
test eax, eax
jne 0x100ff921
push eax
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
mov eax, dword [ebx + 0x2cc]
push dword [eax + 0x50]
call dword [sym.imp.WS2_32.dll_send]
push 0
push dword [edi + 4]
push dword [edi]
call fcn.100feae0
add esp, 0xc
jmp 0x100ff92e
push dword [edi + 4]
push dword [edi]
call fcn.100fea80
add esp, 8
call fcn.100feb80
push edx
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.100feaa0
add esp, 0x10
test eax, eax
jne 0x100ff986
push esi
lea esi, [ebx + 0x208]
push esi
call fcn.100feb40
lea eax, [ebx + 0x1e0]
push eax
call fcn.100fe8c0
push esi
call fcn.100feb60
push 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.100feae0
add esp, 0x18
pop esi
push 0
push ebx
call fcn.100f7ad0
add esp, 8
pop edi
pop ebx
pop ebp
ret
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.100fea80
add esp, 8
push 0
push ebx
call fcn.100f7ad0
add esp, 8
pop edi
pop ebx
pop ebp
ret
Function at 0x100ff9b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x54
push 1
call fcn.1013a60e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100ff9ff
cmp dword [0x101cc834], 1
jl 0x100ff9f7
push str.Out_of_memory
push str.adaptor_init
push 0xeb
push 1
push dword [ebp + 8]
call fcn.100fc1b0
add esp, 4
push eax
call fcn.100fddd0
add esp, 0x14
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x4c]
push eax
push edi
call fcn.100ffc70
add esp, 8
cmp eax, 0xffffffff
jne 0x100ffa53
cmp dword [0x101cc834], 1
jl 0x100ffa41
push str.Cant_make_a_socket.
push str.adaptor_init
push 0xf2
push 1
push edi
call fcn.100fc1b0
add esp, 4
push eax
call fcn.100fddd0
add esp, 0x14
push ebx
call fcn.1013a619
add esp, 4
or eax, 0xffffffff
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp - 8]
push eax
push 0x8004667e
push dword [ebx + 0x50]
mov dword [ebp - 8], 1
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x8004667e
push dword [ebx + 0x4c]
call esi
lea eax, [edi + 0x24c]
push 0
push eax
call fcn.100feb10
lea eax, [edi + 0x194]
mov dword [edi + 0x2cc], ebx
push 0
push eax
call fcn.100feb10
lea eax, [ebx + 0x40]
push 0
push eax
call fcn.100feb10
lea eax, [ebx + 0x44]
push 0
push eax
call fcn.100feb10
lea eax, [ebx + 0x48]
push 0
push eax
call fcn.100feb10
lea eax, [ebp - 4]
push eax
call sym.drillClient.dll_public_virtual:_void___thiscall_Drill::DateHolder::destructor_void_
lea eax, [ebp - 4]
push 0
push eax
call sym.drillClient.dll_public_virtual:_void___thiscall_Drill::DateHolder::destructor_void_
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x1a0]
push eax
call fcn.100feb10
lea eax, [ebp - 4]
push eax
call sym.drillClient.dll_public_virtual:_void___thiscall_Drill::DateHolder::destructor_void_
add esp, 0x40
lea eax, [edi + 0x1d4]
push 0
push eax
call fcn.100feb10
lea eax, [edi + 0x1ac]
push 0
push eax
call fcn.100fe960
lea eax, [edi + 0x208]
push 0
push eax
call fcn.100feb10
lea eax, [edi + 0x1e0]
push 0
push eax
call fcn.100fe960
mov esi, dword [edi + 0x2cc]
push 0
lea eax, [esi + 0x14]
push eax
call fcn.100fe960
lea eax, [esi + 0x3c]
push 0
push eax
call fcn.100feb10
push edi
mov dword [esi + 0x10], 2
call fcn.100f7b00
add esp, 0x34
cmp dword [0x101cc834], 4
jne 0x100ffb87
push str.starting_threads...
push str.start_threads
push 0xdd
push 4
push edi
call fcn.100fc1b0
add esp, 4
push eax
call fcn.100fddd0
add esp, 0x14
push edi
push 0x100fff40
push 0
push esi
call fcn.100fea40
push edi
push 0x100ffe60
lea eax, [esi + 8]
push 0
push eax
call fcn.100fea40
mov esi, dword [edi + 0x2cc]
lea ebx, [esi + 0x3c]
push ebx
call fcn.100feb40
add esp, 0x24
cmp dword [esi + 0x10], 0
jle 0x100ffbd4
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.100fe9c0
add esp, 8
cmp dword [esi + 0x10], 0
jg 0x100ffbc1
mov edi, dword [ebp + 8]
push ebx
call fcn.100feb60
push 0
push edi
call fcn.100f7ad0
add esp, 0xc
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ffbf0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c8], 0
jne 0x100ffc21
mov eax, dword [eax + 0x2cc]
lea ecx, [ebp + 0xb]
push 0
push 1
push ecx
mov byte [ebp + 0xb], 0
push dword [eax + 0x50]
call dword [sym.imp.WS2_32.dll_send]
dec eax
neg eax
sbb eax, eax
pop ebp
ret
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100f8d70
Function at 0x1014d44f
Capabilities:
Read file on windows

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

Function at 0x10150eff
Capabilities:
Set environment variable

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

Function at 0x10158420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1015844d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1015844d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4019cd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x170], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [edi + 0x174]
jne 0x401a91
cmp eax, dword [edi + 0x178]
jne 0x401a91
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
mov ecx, 0x8000
and ax, cx
push 0
mov word [ebp + 0xa], ax
pop eax
push dword [ebx + 0x1c]
setne al
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [ebp - 0xc]
mov cx, ax
mov eax, 0x8000
and cx, ax
push 0
pop eax
setne al
mov word [ebp - 2], cx
mov dword [ebp - 8], eax
cmp esi, dword [edi + 0x17c]
jne 0x443165
cmp dword [ebp + 0xc], 0
je 0x401a72
mov dword [edi + 0x17c], esi
cmp eax, dword [edi + 0x180]
jne 0x4431d8
cmp dword [ebp + 0xc], 0
je 0x401a8a
mov dword [edi + 0x180], eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x401a1a
jmp 0x443154
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.004935f2
jmp 0x401a1a
cmp dword [ebp + 0xc], 1
jl 0x401a66
cmp byte [edi + 0x1a8], 0
je 0x401a66
cmp word [ebp + 0xa], 0
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
je 0x443190
push 0xfffffffffffffff9
jmp 0x4431c0
push 0xfffffffffffffff8
call fcn.004935f2
cmp byte [edi + 0x184], 0
je 0x4431c5
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
test eax, 0x1000000
je 0x4431be
push 0xfffffffffffffffa
jmp 0x4431c0
push 0xfffffffffffffff4
call fcn.004935f2
mov eax, dword [ebp - 8]
mov cx, word [ebp - 2]
mov byte [edi + 0x184], 0
jmp 0x401a66
cmp dword [ebp + 0xc], 1
jl 0x401a7e
push dword [ebp - 0x10]
test cx, cx
mov ecx, ebx
push dword [ebp - 0x14]
push edi
je 0x4431f4
push 0xfffffffffffffff7
jmp 0x4431f6
push 0xfffffffffffffff6
call fcn.004935f2
mov eax, dword [ebp - 8]
jmp 0x401a7e

Function at 0x403205
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret
Function at 0x403312
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2002c
call fcn.004422f0
push ebx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.0040bf07
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
push 0x7fff
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 8]
call fcn.00404f60
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x443c7d
xor edi, edi
mov esi, 0x4d3390
inc edi
cmp dword [0x4d2400], edi
je 0x443c95
lea eax, [esp + 0x11]
push eax
push ecx
push 0x4d2400
push 0x4d2418
mov ecx, esi
call fcn.00403a1c
test al, al
je 0x443cb4
mov al, byte [0x4d3390]
mov byte [0x4d2404], al
mov al, byte [0x4d3391]
mov byte [esp + 0x12], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1003c]
push eax
push 0x7fff
push dword [0x4d2418]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [esp + 0x14]
mov ecx, 0x4d23f0
call fcn.004084b7
mov bl, byte [esp + 0x11]
push dword [0x4d2400]
push 0x4d2418
call fcn.004041e6
test eax, eax
jne 0x443cbf
cmp byte [esp + 0x12], 1
je 0x443cdc
call fcn.0040345a
call fcn.0040353a
cmp byte [0x4d2404], 0
mov ebx, 0x4d2990
jne 0x40341b
mov ecx, ebx
call fcn.004038f2
push edi
mov ecx, 0x4d2430
call fcn.0040ee10
cmp byte [0x4d2404], 0
jne 0x403436
mov ecx, ebx
call fcn.0040388e
mov ecx, esi
call fcn.004057f7
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x28]
call fcn.0040bd2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10
push str.AutoIt
push str.It_is_a_violation_of_the_AutoIt_EULA_to_attempt_to_reverse_engineer_this_program.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403448
push 0xffffffffffffffff
push dword [0x4d2408]
mov ecx, esi
push edi
call fcn.004040e0
mov al, byte [0x4d2364]
mov byte [0x4d3392], al
jmp 0x4033d9
mov dword [0x4d235c], edi
jmp 0x40343d
mov ecx, esi
call fcn.004057f7
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4d235c], edi
jmp 0x403448
call fcn.00461ef3
test al, al
jne 0x4033fc
cmp byte [esp + 0x13], al
jne 0x4033fc
lea ecx, [esp + 0x28]
call fcn.0040551b
push 0x4c31f4
lea ecx, [esp + 0x1c]
call fcn.0040b25f
lea ecx, [esp + 0x18]
test bl, bl
je 0x443d39
mov edi, 0x4c69c4
push edi
call fcn.004065a4
push 0x4d2418
lea ecx, [esp + 0x1c]
call fcn.00407af4
push edi
lea ecx, [esp + 0x1c]
call fcn.004065a4
push 1
jmp 0x443d42
push dword [ebp + 8]
call fcn.004065a4
push edi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
push 0x4c69c8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
call fcn.0040bd2c
jmp 0x403436
Function at 0x4055f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x405675
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405675
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405675
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40565c
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x40566c
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x40565a
xor al, al
jmp 0x405668
Function at 0x40653a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x4455cc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ec54
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x406560

Function at 0x40829c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x4082c4
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x4082b6
pop edi
pop esi
pop ebp
ret 4
Function at 0x40b050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x40b0cb
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x40b08c
mov ecx, dword [esi + 0xc]
lea ebx, [ebx]
cmp ecx, dword [esi + 8]
je 0x40b09c
mov eax, dword [esi + 4]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
cmp edi, ebx
jb 0x40b070
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b08c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40b08c
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [esi + 0xc], 0
jmp 0x40b075
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0041f13c
jmp 0x40b05e