joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70b3e5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push edi
push esi
mov esi, ecx
push 0x7f00
push 0
lea edi, [esi + 0x1f0]
push edi
call fcn.0086b5cc
add esp, 0xc
push 0
push 0x7f00
push edi
push dword [esi + 8]
call dword [sym.imp.wsock32.dll_recv]
test eax, eax
jle 0x70b426
mov dword [esi + 0x80f8], 0
mov dword [esi + 0x80f4], eax
pop esi
pop edi
ret
jne 0x70b42d
or dword [esi], 2
jmp 0x70b43d
call dword [sym.imp.wsock32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x70b43d
or dword [esi], 2
xor edx, edx
mov dword [esi + 0x80f4], edx
mov dword [esi + 0x80f8], edx
xor eax, eax
pop esi
pop edi
ret

Function at 0x70b450
Capabilities:
Resolve dns

Disassembly:
push edi
push esi
push ebp
sub esp, 0xc
mov edi, ecx
mov esi, dword [esp + 0x1c]
movsx eax, byte [esi]
push eax
call fcn.008581d3
pop ecx
test eax, eax
je 0x70b4b5
push esi
call dword [sym.imp.wsock32.dll_gethostbyname]
mov ebp, eax
test ebp, ebp
je 0x70b53c
movzx esi, word [esp + 0x20]
push esi
mov edx, 2
mov word [edi + 0x1dc], dx
call dword [sym.imp.wsock32.dll_htons]
mov word [edi + 0x1de], ax
mov edx, dword [ebp + 0xc]
movsx ebp, word [ebp + 0xa]
push ebp
add edi, 0x1e0
push dword [edx]
push edi
call fcn.0086b6b8
add esp, 0xc
jmp 0x70b531
mov dword [esp + 4], edi
mov eax, esi
mov dword [esp + 8], ebx
xor ecx, ecx
xor edx, edx
mov ebp, esi
mov esi, edx
mov edi, ecx
mov ebx, dword [esp + 0x1c]
movsx ebx, byte [edi + ebx]
cmp ebx, 0x2e
je 0x70b4da
test ebx, ebx
jne 0x70b4f4
mov ebx, dword [esp + 0x1c]
mov byte [edi + ebx], 0
push eax
call fcn.0085a0fa
pop ecx
mov ebx, esi
add esi, 1
mov byte [esp + ebx], al
lea eax, [ebp + 1]
add ebp, 1
add edi, 1
cmp esi, 4
jl 0x70b4c9
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
movzx edx, word [esp + 0x20]
push edx
mov eax, 2
mov word [edi + 0x1dc], ax
call dword [sym.imp.wsock32.dll_htons]
mov word [edi + 0x1de], ax
mov eax, dword [esp]
add edi, 0x1e0
mov dword [edi], eax
xor eax, eax
add esp, 0xc
pop ebp
pop esi
pop edi
ret 8
mov eax, 1
add esp, 0xc
pop ebp
pop esi
pop edi
ret 8

Function at 0x70b54c
Capabilities:
Connect socket

Disassembly:
push edi
mov edi, ecx
lea eax, [edi + 0x1dc]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.wsock32.dll_connect]
test eax, eax
jl 0x70b569
xor eax, eax
pop edi
ret
or dword [edi], 2
mov eax, 1
pop edi
ret

Function at 0x70b574
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push edi
mov edi, ecx
lea eax, [edi + 0x1dc]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.wsock32.dll_connect]
test eax, eax
jl 0x70b591
xor eax, eax
pop edi
ret
push 2
push dword [edi + 8]
call dword [sym.imp.wsock32.dll_shutdown]
push dword [edi + 8]
call dword [sym.imp.wsock32.dll_closesocket]
push 0
push 1
push 2
call dword [sym.imp.wsock32.dll_socket]
mov dword [edi + 8], eax
test eax, eax
jl 0x70b5bf
mov eax, 1
pop edi
ret
or dword [edi], 3
jmp 0x70b5b8
Function at 0x70b7cc
Capabilities:
Hash data with crc32

Disassembly:
xor eax, eax
test al, 1
je 0x70b7de
mov edx, eax
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b7e2
mov edx, eax
shr edx, 1
test dl, 1
je 0x70b7f1
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b7f3
shr edx, 1
test dl, 1
je 0x70b802
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b804
shr edx, 1
test dl, 1
je 0x70b813
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b815
shr edx, 1
test dl, 1
je 0x70b824
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b826
shr edx, 1
test dl, 1
je 0x70b835
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b837
shr edx, 1
test dl, 1
je 0x70b846
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b848
shr edx, 1
test dl, 1
je 0x70b857
shr edx, 1
xor edx, 0xedb88320
jmp 0x70b859
shr edx, 1
mov dword [eax*4 + 0xa97f80], edx
add eax, 1
cmp eax, 0x100
jl 0x70b7ce
ret

Function at 0x70bdb4
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
mov ebx, eax
push 0x92b680
push ebx
call fcn.0085957c
add esp, 8
test eax, eax
je 0x70bde7
push eax
call fcn.00859710
pop ecx
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test al, 1
je 0x70bde7
push 0x80
push ebx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
pop ebx
ret

Function at 0x70c294
Capabilities:
Set current directory

Disassembly:
push ebx
sub esp, 0x104
mov ebx, ecx
lea eax, [ebx + 0x1a8e0]
push 0x10
push dword [esp + 0x110]
push eax
call fcn.00858900
lea eax, [ebx + 0x1a8f0]
push 0x10
push dword [esp + 0x120]
push eax
call fcn.00858900
lea eax, [ebx + 0x1a900]
push 0x40
push dword [esp + 0x130]
push eax
call fcn.00858900
add esp, 0x24
mov eax, dword [0xacbef0]
test eax, eax
je 0x70c315
lea eax, [esp + 4]
push 0xaf0700
push str._sscene
push eax
call fcn.00858bf5
add esp, 0xc
push 0xacba40
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea eax, [esp + 4]
push eax
call fcn.0083c4cc
pop ecx
mov eax, dword [ebx + 0x18290]
test eax, eax
jne 0x70c3f2
mov eax, dword [ebx + 0x18298]
cmp eax, dword [ebx + 0x18294]
jge 0x70c408
mov dword [esp], esi
lea esi, [eax + eax*4]
add esi, esi
add esi, esi
sub esi, eax
lea eax, [esi + esi]
add eax, eax
add eax, eax
lea eax, [ebx + eax + 0x1829c]
movzx edx, word [eax + 0x80]
push edx
mov ecx, ebx
push eax
call fcn.0070b450
test eax, eax
jne 0x70c3b4
mov eax, dword [ebx + 0x1dc]
mov dword [ebx + esi*8 + 0x18320], eax
mov edx, dword [ebx + 0x1e0]
mov dword [ebx + esi*8 + 0x18324], edx
mov eax, dword [ebx + 0x1e4]
mov dword [ebx + esi*8 + 0x18328], eax
mov eax, dword [ebx + 0x1e8]
mov dword [ebx + esi*8 + 0x1832c], eax
call dword [sym.imp.winmm.dll_timeGetTime]
mov dword [ebx + 0x1a89c], eax
mov ecx, ebx
call fcn.0070b574
test eax, eax
je 0x70c3ed
mov eax, dword [ebx]
test al, 2
jne 0x70c403
mov eax, dword [ebx + 0x18298]
add eax, 1
cmp eax, dword [ebx + 0x18294]
mov dword [ebx + 0x18298], eax
jl 0x70c338
mov esi, dword [esp]
mov eax, dword [ebx]
or eax, 3
mov dword [ebx], eax
mov eax, dword [ebx + 0x1a8bc]
test eax, eax
je 0x70c3f9
push 6
push ebx
call eax
add esp, 8
jmp 0x70c3f9
mov esi, dword [esp]
jmp 0x70c3f9
mov ecx, ebx
call fcn.0070c8e4
add esp, 0x104
pop ebx
ret 0xc
mov esi, dword [esp]
jmp 0x70c3d4
mov eax, dword [ebx]
jmp 0x70c3d4
Function at 0x70f1c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x12c
mov edi, ecx
mov esi, dword [esp + 0x13c]
mov ebx, dword [esp + 0x140]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x70f201
mov eax, dword [edi + 0x80]
test eax, eax
je 0x70f1f7
push edi
call fcn.0070e848
mov dword [edi + 0x84], 0
test esi, esi
je 0x70f217
mov eax, dword [edi + 0x80]
test eax, eax
je 0x70f217
push edi
mov ecx, esi
call fcn.0070f144
mov eax, dword [esp + 0x144]
mov dword [edi + 0x84], esi
mov edx, eax
and edx, 0x1f
and eax, 0xe0
test edx, edx
jne 0x70f237
mov edx, 1
mov dword [edi + 0xc], 0
or edx, eax
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov ecx, dword [esi + 0x20]
movzx esi, bx
lea edx, [edi + 0x10]
lea eax, [edi + 0x14]
push eax
push edx
push esi
push dword [ecx + 4]
call fcn.0070d9f8
mov edx, dword [edi + 0x84]
mov dword [edi + 0x18], 0
xor eax, eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x1c], 0
lea esi, [esp + 0x10]
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x20], 0x3f7ae148
movsx eax, bx
lea ebx, [edi + 0x78]
mov dword [edi + 0x24], 0
push ebx
mov dword [edi + 0x28], 0x3f800000
push 0x96
mov dword [edi + 0x2c], 0x3f800000
push esi
mov dword [edi + 0x30], 0x3f800000
push eax
mov dword [edi + 0x34], 0x3f800000
mov dword [edi + 0x38], 0x3f800000
mov dword [edi + 0x3c], 0x3f800000
mov dword [edi + 0x40], 0x3f800000
mov edx, dword [edx + 0x20]
push dword [edx + 4]
call fcn.0070e4cc
add esp, 0x24
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x70f2f0
push eax
call fcn.0082e960
pop ecx
mov dword [edi + 0x7c], 0
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x70f32f
lea edx, [eax + eax]
add edx, edx
sub edx, eax
add edx, edx
add edx, edx
add edx, edx
push edx
call fcn.0082e940
pop ecx
mov ebx, dword [edi + 0x78]
mov dword [edi + 0x7c], eax
xor edx, edx
test ebx, ebx
jle 0x70f32f
movzx ecx, word [esp + edx*2]
mov word [eax], cx
xor ebx, ebx
mov word [eax + 2], bx
add eax, 0x18
add edx, 1
cmp edx, dword [edi + 0x78]
jl 0x70f317
add esp, 0x12c
pop ebx
pop esi
pop edi
ret 0xc
Function at 0x763d08
Capabilities:
Encode data using xor

Disassembly:
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, eax
sar ebx, 2
shr ebx, 0x1d
add ebx, eax
sar ebx, 3
xor eax, eax
test ebx, ebx
jle 0x763e5e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ebx, dword [edx]
xor ebx, dword [ecx]
mov ebp, ebx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x48]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
add ebp, dword [ecx + esi*4 + 0x448]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor ebp, dword [ecx + esi*4 + 0x848]
movzx esi, bl
add eax, 1
add ebp, dword [ecx + esi*4 + 0xc48]
xor ebp, dword [ecx + 4]
xor ebp, dword [edx + 4]
mov edi, ebp
shr edi, 0x18
mov edi, dword [ecx + edi*4 + 0x48]
mov esi, ebp
shr esi, 0x10
and esi, 0xff
add edi, dword [ecx + esi*4 + 0x448]
mov esi, ebp
shr esi, 8
and esi, 0xff
xor edi, dword [ecx + esi*4 + 0x848]
mov esi, ebp
and esi, 0xff
add edi, dword [ecx + esi*4 + 0xc48]
xor edi, dword [ecx + 8]
xor ebx, edi
mov esi, ebx
shr esi, 0x18
mov esi, dword [ecx + esi*4 + 0x48]
mov edi, ebx
shr edi, 0x10
and edi, 0xff
add esi, dword [ecx + edi*4 + 0x448]
mov edi, ebx
shr edi, 8
and edi, 0xff
xor esi, dword [ecx + edi*4 + 0x848]
movzx edi, bl
add esi, dword [ecx + edi*4 + 0xc48]
xor esi, dword [ecx + 0xc]
xor ebp, esi
mov edi, ebp
shr edi, 0x18
mov edi, dword [ecx + edi*4 + 0x48]
mov esi, ebp
shr esi, 0x10
and esi, 0xff
add edi, dword [ecx + esi*4 + 0x448]
mov esi, ebp
shr esi, 8
and esi, 0xff
xor edi, dword [ecx + esi*4 + 0x848]
mov esi, ebp
and esi, 0xff
add edi, dword [ecx + esi*4 + 0xc48]
xor edi, dword [ecx + 0x10]
xor ebp, dword [ecx + 0x14]
xor ebx, edi
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0xc]
add edx, 8
cmp eax, ebx
jl 0x763d3a
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov eax, ebx
add esp, 0x10
pop ebx
ret 8
Function at 0x763e70
Capabilities:
Encode data using xor

Disassembly:
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, eax
sar ebx, 2
shr ebx, 0x1d
add ebx, eax
sar ebx, 3
xor eax, eax
test ebx, ebx
jle 0x763fc6
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ebx, dword [edx]
xor ebx, dword [ecx + 0x14]
mov ebp, ebx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x48]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
add ebp, dword [ecx + esi*4 + 0x448]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor ebp, dword [ecx + esi*4 + 0x848]
movzx esi, bl
add eax, 1
add ebp, dword [ecx + esi*4 + 0xc48]
xor ebp, dword [ecx + 0x10]
xor ebp, dword [edx + 4]
mov edi, ebp
shr edi, 0x18
mov edi, dword [ecx + edi*4 + 0x48]
mov esi, ebp
shr esi, 0x10
and esi, 0xff
add edi, dword [ecx + esi*4 + 0x448]
mov esi, ebp
shr esi, 8
and esi, 0xff
xor edi, dword [ecx + esi*4 + 0x848]
mov esi, ebp
and esi, 0xff
add edi, dword [ecx + esi*4 + 0xc48]
xor edi, dword [ecx + 0xc]
xor ebx, edi
mov esi, ebx
shr esi, 0x18
mov esi, dword [ecx + esi*4 + 0x48]
mov edi, ebx
shr edi, 0x10
and edi, 0xff
add esi, dword [ecx + edi*4 + 0x448]
mov edi, ebx
shr edi, 8
and edi, 0xff
xor esi, dword [ecx + edi*4 + 0x848]
movzx edi, bl
add esi, dword [ecx + edi*4 + 0xc48]
xor esi, dword [ecx + 8]
xor ebp, esi
mov edi, ebp
shr edi, 0x18
mov edi, dword [ecx + edi*4 + 0x48]
mov esi, ebp
shr esi, 0x10
and esi, 0xff
add edi, dword [ecx + esi*4 + 0x448]
mov esi, ebp
shr esi, 8
and esi, 0xff
xor edi, dword [ecx + esi*4 + 0x848]
mov esi, ebp
and esi, 0xff
add edi, dword [ecx + esi*4 + 0xc48]
xor edi, dword [ecx + 4]
xor ebp, dword [ecx]
xor ebx, edi
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0xc]
add edx, 8
cmp eax, ebx
jl 0x763ea2
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x10
pop ebx
ret 8
Function at 0x77c070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8f41f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
call fcn.007b4b48
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ecx], 0xb44398
mov ebx, dword [0x9f7fe0]
mov dword [ecx + 4], ebx
mov esi, dword [edx + 0xc]
mov dword [ecx + 0x38], esi
mov edi, dword [edx + 0x10]
mov dword [ecx + 0x3c], edi
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x64], eax
mov ebx, dword [edx + 0x24]
mov eax, dword [ecx + 0x30]
mov dword [ecx + 0x68], ebx
mov esi, dword [edx + 0x28]
or eax, 0x2000000
mov dword [ecx + 0x6c], esi
fld dword [edx + 0x2c]
mov edx, dword [edx + 0x2c]
mov dword [ecx + 0x70], edx
mov dword [ecx + 0xac], 0
mov dword [ecx + 0x30], eax
fcomp dword [0x97939c]
fnstsw ax
mov dword [ecx + 0xb8], ebx
mov dword [ecx + 0xbc], esi
mov dword [ecx + 0xb0], 0
sahf
mov dword [ecx + 0xb4], 0
jae 0x77c144
mov eax, 1
jmp 0x77c146
xor eax, eax
mov dword [ecx + 0xc4], 0x10001
push edx
mov dword [ecx + 0xc0], eax
call fcn.0082e900
fcomp dword [0x979398]
fnstsw ax
sahf
mov ecx, dword [ebp - 0x24]
jae 0x77c17d
mov eax, dword [ecx + 0xc4]
and eax, 0xfffffeff
mov dword [ecx + 0xc4], eax
jmp 0x77c18e
mov eax, dword [ecx + 0xc4]
or eax, 0x100
mov dword [ecx + 0xc4], eax
push 1
lea eax, [ecx + 0xac]
push eax
call fcn.007b9a88
mov ecx, dword [ebp - 0x24]
call fcn.007b4f54
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x792b64
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8f5000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov eax, dword [0xa9cccc]
test eax, eax
je 0x792ba2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
push 4
call fcn.008581c5
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x792c5d
mov dword [ebp - 0x24], 1
xor edx, edx
mov dword [eax], edx
mov dword [ebp - 0x24], edx
mov dword [0xa9cccc], eax
mov dword [ebp - 4], 0xffffffff
push 4
call fcn.008581c5
pop ecx
test eax, eax
je 0x792c59
mov dword [eax], 0
mov dword [0xa9ccd8], eax
push 0x16c
xor eax, eax
mov dword [0xa9ccec], eax
mov dword [0xa9ccf0], eax
mov byte [0x9ff3d4], al
push 0
push 0xa9cb60
call fcn.0086b688
add esp, 0xc
mov edx, 0xa9ccf4
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x792be8
xor eax, eax
jmp 0x792bca
Function at 0x7a61b4
Capabilities:
Hash data with crc32

Disassembly:
push esi
push ebx
mov eax, 0xffffffff
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
test ecx, ecx
jle 0x7a6256
movzx esi, byte [edx + ebx]
xor eax, esi
add edx, 1
test al, 1
je 0x7a61e3
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a61e5
shr eax, 1
test al, 1
je 0x7a61f2
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a61f4
shr eax, 1
test al, 1
je 0x7a6201
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a6203
shr eax, 1
test al, 1
je 0x7a6210
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a6212
shr eax, 1
test al, 1
je 0x7a621f
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a6221
shr eax, 1
test al, 1
je 0x7a622e
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a6230
shr eax, 1
test al, 1
je 0x7a623d
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a623f
shr eax, 1
test al, 1
je 0x7a624c
shr eax, 1
xor eax, 0xedb88320
jmp 0x7a624e
shr eax, 1
cmp edx, ecx
jl 0x7a61cd
not eax
pop ebx
pop esi
ret
Function at 0x82d3c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
call fcn.0082d410
mov dword [esp + 4], eax
test eax, eax
jne 0x82d3df
mov eax, dword [esp + 0x10]
mov byte [eax], 0
add esp, 8
ret
call fcn.0082d444
lea eax, [esp + 4]
push eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
push edx
push ecx
push ecx
mov eax, dword [esp + 0x1c]
push eax
push dword [0xacbf00]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
call fcn.0082d49c
add esp, 8
ret

Function at 0x82d4c4
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
lea eax, [esp + 4]
push 0x104
push dword [esp + 0x218]
push eax
call fcn.00858618
add esp, 0xc
lea eax, [esp + 4]
call fcn.0082d410
test eax, eax
je 0x82d54e
cmp eax, 0x104
jae 0x82d54e
mov dword [esp + 0x108], eax
call fcn.0082d444
lea edx, [esp + 0x10c]
lea eax, [esp + 0x108]
push eax
xor ecx, ecx
push edx
push ecx
push ecx
lea eax, [esp + 0x14]
push eax
push dword [0xacbf00]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
call fcn.0082d49c
lea eax, [esp + 0x10c]
push 0x104
push eax
mov edx, dword [esp + 0x220]
push edx
call fcn.00857f98
add esp, 0x21c
ret
mov edx, dword [esp + 0x218]
xor eax, eax
mov word [edx], ax
add esp, 0x210
ret

Function at 0x82d564
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, dword [esp + 0xc]
call fcn.0082d5a4
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x82d584
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x82d578
add eax, 1
push eax
push edi
push 1
push 0
push dword [esp + 0x18]
push dword [0xacbf00]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
call fcn.0082d49c
pop edi
ret

Function at 0x82d628
Capabilities:
Set registry value

Disassembly:
call fcn.0082d5a4
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push dword [0xacbf00]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
call fcn.0082d49c
ret
Function at 0x83e3ac
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov edi, edx
mov esi, ecx
test esi, esi
mov ebp, dword [esp + 0x1c]
je 0x83e40c
test edi, edi
je 0x83e40c
test ebp, ebp
je 0x83e40c
mov ebx, dword [esi]
cmp ebx, 0xffffffff
je 0x83e40c
mov eax, dword [esp + 0x18]
mov dword [esi + 0x18], 1
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.kernel32.dll_SetFilePointer]
lea eax, [esp]
push 0
push eax
push ebp
push edi
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov dword [esi + 0x18], 0
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret 8

Function at 0x83e434
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x208
test ecx, ecx
je 0x83e5c1
mov eax, dword [0xa21c64]
movsx edx, byte [ecx]
cmp dl, byte [eax + 3]
je 0x83e5c1
movsx ebx, byte [ecx + 1]
movsx esi, byte [eax + 1]
lea edi, [ecx + 1]
cmp edx, esi
jne 0x83e483
cmp ebx, esi
jne 0x83e483
mov eax, dword [0xadac6c]
test eax, eax
jle 0x83e518
add eax, 0xffffffff
mov dword [0xadac6c], eax
jmp 0x83e518
mov ebx, dword [0xadac6c]
cmp ebx, 0x10
jge 0x83e518
cmp dl, byte [eax + 2]
jne 0x83e4aa
lea esi, [esp]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x83e49a
jmp 0x83e4bd
lea esi, [esp]
mov edi, ecx
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x83e4af
lea ecx, [esp + 0x104]
lea edx, [esp]
call fcn.0083e5cc
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x83e518
test al, 0x10
je 0x83e518
mov eax, dword [0xadac6c]
lea edi, [esp]
add eax, eax
add eax, eax
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
add edx, edx
lea esi, [eax + edx + 0xad9c2c]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x83e503
add dword [0xadac6c], 1
push 0x104
push 0
push 0xad9b28
call fcn.0086b688
add esp, 0xc
mov eax, dword [0xadac6c]
xor esi, esi
test eax, eax
je 0x83e5a5
lea eax, [esi + esi]
add eax, eax
lea ebx, [eax + eax]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, eax
lea edx, [ebx + 0xad9c2c]
mov edi, 0xad9b28
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov al, byte [edx]
add edx, 1
mov byte [edi], al
add edi, 1
test al, al
jne 0x83e562
mov edi, 0xad9b28
mov edx, 0x98b080
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov al, byte [edx]
add edx, 1
mov byte [edi], al
add edi, 1
test al, al
jne 0x83e586
add ebx, 0x104
add esi, 1
cmp esi, dword [0xadac6c]
jne 0x83e54b
push 0xad9b28
push 0xad9a24
push 0x98b078
push 0xad9920
call fcn.00858bf5
add esp, 0x10
add esp, 0x208
pop ebx
pop esi
pop edi
ret