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

Disassembly:
cmp byte [0x100ef35d], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
je 0x10068cb5
test edi, edi
je 0x10068cb5
mov eax, dword [0x100ef360]
test eax, eax
jne 0x10068ca1
mov esi, dword [esp + 0x20]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.100689f0
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.10034467
add esp, 4
push eax
call fcn.100690c0
push dword [0x100ef358]
call fcn.10033815
add esp, 0x18
call fcn.100321ca
pop edi
pop esi
pop ebx
mov dword [eax], 0xc
or eax, 0xffffffff
ret
push ecx
push ebx
push edx
dec eax
push esi
mov dword [0x100ef360], eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
jmp 0x10068cc5
push ecx
push ebx
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x10068cd9
push esi
push ebx
push dword [esp + 0x28]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.100689f0
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
ret

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

Disassembly:
cmp byte [0x100ef35d], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
je 0x10068da5
test edi, edi
je 0x10068da5
mov eax, dword [0x100ef360]
test eax, eax
jne 0x10068d91
mov esi, dword [esp + 0x20]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.100689f0
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.10034467
add esp, 4
push eax
call fcn.100690c0
push dword [0x100ef358]
call fcn.10033815
add esp, 0x18
call fcn.100321ca
pop edi
pop esi
pop ebx
mov dword [eax], 0xc
or eax, 0xffffffff
ret
push ecx
push ebx
push edx
dec eax
push esi
mov dword [0x100ef360], eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
jmp 0x10068db5
push ecx
push ebx
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x10068dc9
push esi
push ebx
push dword [esp + 0x28]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.100689f0
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1006f210
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x100ed040]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1006f258
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1002897d
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.1002897d
add esp, 0x18
ret
Function at 0x10078ce0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.100590b0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.100a6786
push dword [esp + 0x40]
mov edi, eax
call fcn.100a6786
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x10078d75
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.100590b0
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.10059160
add esp, 0x20
test edx, edx
ja 0x10078d99
jb 0x10078d67
cmp eax, 0x3e8
ja 0x10078d99
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10078d30
test edi, edi
je 0x10078d82
push edi
call fcn.10032211
add esp, 4
test esi, esi
je 0x10078d8f
push esi
call fcn.10032211
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x10078da6
push edi
call fcn.10032211
add esp, 4
test esi, esi
je 0x10078db3
push esi
call fcn.10032211
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x10079670
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.1003325e
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x10079696
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x1007d080
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibgetenv.c
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.10068b20
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007d0dd
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x1007d0fb
cmp esi, ebx
je 0x1007d0fb
cmp esi, 0x8000
ja 0x1007d0fb
cmp esi, ebx
jb 0x1007d0f4
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibgetenv.c
push 0x2d
push esi
push edi
call fcn.10068b20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1007d0a0
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibgetenv.c
push 0x2f
push ebp
call fcn.100689b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibgetenv.c
push 0x3a
push edi
call fcn.100689b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10082e70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x100ed040]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
or esi, 0xffffffff
push eax
mov ebx, dword [edi + 0xc]
mov ebp, dword [ebx + 0x154]
push ebp
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x10082edf
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_ftp.c
push 0x11b
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x80
push eax
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.10068830
add esp, 0x14
mov esi, eax
push ebp
push ebx
push edi
call fcn.10064920
add esp, 0xc
cmp esi, 0xffffffff
jne 0x10082f04
push str.Error_accept__ing_server_connect
push edi
call fcn.10063fc0
add esp, 8
mov eax, 0x1e
jmp 0x10082f74
push str.Connection_accepted_from_server
push edi
call fcn.10064090
push 1
push esi
mov byte [ebx + 0x27d], 0
mov dword [ebx + 0x154], esi
call fcn.100917d0
add esp, 0x10
mov byte [ebx + 0x290], 1
cmp dword [edi + 0x1b8], 0
je 0x10082f72
push 1
push edi
call fcn.10053750
mov eax, dword [edi + 0x1b8]
push 1
push esi
push dword [edi + 0x1bc]
call eax
push 0
push edi
mov esi, eax
call fcn.10053750
add esp, 0x1c
test esi, esi
je 0x10082f72
push ebx
push edi
call fcn.10083400
add esp, 8
mov eax, 0x2a
jmp 0x10082f74
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002897d
add esp, 0x88
ret
Function at 0x10084f70
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x10084fa0
push str.Couldnt_set_desired_mode
push esi
call fcn.10063fc0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x10084fb7
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.10064090
add esp, 0xc
mov eax, dword [esp + 0x18]
push ebp
cmp eax, 0x13
jne 0x10084fd2
push ebx
push esi
call fcn.10084e70
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp eax, 0x14
jne 0x100850fd
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp dword [esi + 0x508], 2
mov dword [esp + 0x18], edi
jne 0x10085059
mov eax, dword [esi + 0x134]
mov eax, dword [eax]
test eax, eax
je 0x10085059
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.10052e40
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008512a
push 0x2f
push dword [esp + 0x18]
call fcn.100a37c0
add esp, 8
test eax, eax
je 0x1008503f
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x10085055
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_ftp.c
push 0x5c9
push dword [esp + 0x1c]
call fcn.100689b0
add esp, 0xc
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x54c]
test ecx, ecx
jne 0x10085077
cmp byte [esi + 0xd46], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x100e2689
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x100c9398
cmove eax, edx
push eax
push ecx
push 0x100d3340
call fcn.10069030
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_ftp.c
push 0x5d2
push ebx
mov ebp, eax
call fcn.100689b0
add esp, 0x1c
test ebp, ebp
jne 0x100850bd
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x100d1e78
lea eax, [edi + 0x450]
push eax
push esi
call fcn.1009b700
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_ftp.c
push 0x5d8
push ebp
mov edi, eax
call fcn.100689b0
add esp, 0x1c
test edi, edi
jne 0x1008512a
mov eax, dword [esi + 0xc]
pop ebp
mov dword [eax + 0x4d4], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp eax, 0x15
jne 0x10085116
push 0xd
push 1
push esi
call fcn.10084a00
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp eax, 0x16
jne 0x1008512a
push 0xe
push 1
push esi
call fcn.10084a00
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1008d110
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x100ed040]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
push edi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x450]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x13c]
push 0
add eax, 4
push eax
push dword [edi + 0x148]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x130], 0
mov dword [edi + 0x134], eax
jne 0x1008d196
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.1002b670
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x130], eax
mov esi, dword [edi + 0x134]
cmp esi, 4
jge 0x1008d1d1
push str.Received_too_short_packet
push ebx
call fcn.10063fc0
add esp, 8
mov dword [edi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002897d
add esp, 0x88
ret
mov edx, dword [edi + 0x148]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
mov dword [edi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x1008d1f0.1
jmp dword [ecx*4 + 0x1008d2fc]
cmp esi, 4
jle case.0x1008d1f0.4
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x144]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x1008d1f0.4
lea eax, [esi - 4]
push eax
lea eax, [edx + 4]
push eax
push 1
push ebx
call fcn.10063f00
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008d24b
push 5
push edi
call fcn.1008dc30
add esp, 8
mov eax, esi
jmp 0x1008d1b8
mov eax, dword [edi + 0x134]
sub eax, 4
cdq
add dword [ebx + 0x90], eax
adc dword [ebx + 0x94], edx
push dword [ebx + 0x94]
push dword [ebx + 0x90]
push ebx
call fcn.10075a70
jmp 0x1008d2d1
movzx ecx, byte [edx + 2]
lea ebp, [edx + 4]
movzx eax, byte [edx + 3]
add esi, 0xfffffffc
shl ecx, 8
or ecx, eax
push esi
push ebp
mov dword [edi + 8], ecx
call fcn.1008dca0
add esp, 8
cmp eax, esi
jae case.0x1008d1f0.4
push ebp
push str.TFTP_error:__s
push ebx
call fcn.10064090
jmp 0x1008d2d1
lea eax, [esi - 2]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.1008cec0
add esp, 0xc
test eax, eax
je case.0x1008d1f0.4
jmp 0x1008d1b8
push str.Internal_error:_Unexpected_packet
push 0x100d1e78
push ebx
call fcn.10063fc0
add esp, 0xc
push ebx
call fcn.10075e70
add esp, 4
test eax, eax
je 0x1008d1b6
push 5
push edi
call fcn.1008dc30
add esp, 8
mov eax, 0x2a
jmp 0x1008d1b8
Function at 0x1008f460
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x4c
mov eax, dword [0x100ed040]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov esi, edi
mov dword [esp + 0x10], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1008f483
sub esi, ecx
cmp byte [edi], 0x5b
jne 0x1008f646
cmp esi, 4
jb 0x1008f62e
inc edi
sub esi, 2
cmp byte [edi + esi], 0x5d
jne 0x1008f62e
push str.0123456789abcdefABCDEF:.
push edi
call fcn.100a6740
add esp, 8
cmp esi, eax
je 0x1008f587
mov esi, eax
add eax, edi
mov dword [esp + 0x14], eax
cmp byte [eax], 0x25
jne 0x1008f62e
push 2
lea ebx, [eax + 1]
xor ebp, ebp
push 0x100dbae0
push ebx
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1008f4fc
mov cl, byte [ebx + 2]
lea eax, [ebx + 2]
test cl, cl
je 0x1008f4fc
cmp cl, 0x5d
cmovne ebx, eax
mov al, byte [ebx]
test al, al
je 0x1008f616
lea ecx, [esp + 0x18]
sub ecx, ebx
nop dword [eax]
cmp al, 0x5d
je 0x1008f525
cmp ebp, 0xf
jge 0x1008f525
mov byte [ecx + ebx], al
inc ebp
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1008f510
test ebp, ebp
je 0x1008f616
cmp byte [ebx], 0x5d
jne 0x1008f616
cmp ebp, 0x10
jae 0x1008f670
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanliburlapi.c
lea eax, [esp + 0x1c]
mov byte [esp + ebp + 0x1c], 0
push 0x28b
push eax
call fcn.10068e90
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x1008f57e
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1002897d
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov word [eax], 0x5d
lea eax, [esp + 0x18]
mov byte [edi + esi], 0
push eax
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1008f62e
push 0x2e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x17
call fcn.10091800
add esp, 0x10
test eax, eax
je 0x1008f5f3
lea edx, [esp + 0x28]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1008f5c3
sub edx, ecx
cmp edx, esi
jae 0x1008f5f3
lea ecx, [esp + 0x28]
mov esi, edi
mov eax, ecx
sub esi, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x1008f5e0
mov byte [edx + edi + 1], al
mov esi, edx
mov byte [edi + esi], 0x5d
xor eax, eax
mov ecx, 0xe
cmp byte [edi], al
pop edi
pop esi
pop ebp
cmove eax, ecx
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1002897d
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1002897d
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1002897d
add esp, 0x4c
ret
push str.__r_n_t_:___
push edi
call fcn.100354e0
add esp, 8
cmp esi, eax
je 0x1008f5f7
mov ecx, dword [esp + 0x58]
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002897d
add esp, 0x4c
ret
call fcn.1002947e
int3
Function at 0x1009e620
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibhmac.c
push 0x40
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call fcn.10068a60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1009e651
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x1009e6a0
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x1009e6a8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1009e713
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x1009e6d0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x1009e745
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x100de7b4
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x100de7b5
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x1009e720
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x1009e750
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.10066720
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibhmac.c
push 0x40
mov dword [esp + 0x1c], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call fcn.10068a60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009e8db
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x1009e7d8
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [ebp + 0xc]
add eax, dword [esi + 8]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1009e843
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x1009e800
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x1009e875
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x100de7b4
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x100de7b5
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x1009e850
push dword [esp + 0x30]
call fcn.10066720
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x1009e8a0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibhmac.c
push 0x81
push esi
call fcn.100689b0
add esp, 0x28
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x100a0180
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x100a01cc
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x100a0191
pop ebx
pop edi
pop esi
ret
Function at 0x100a3220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100a324d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100a324d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100a666b
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x100e2550
push esi
call fcn.10046fe3
pop ecx
pop ecx
test eax, eax
jne 0x100a6699
xor al, al
jmp 0x100a6716
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.100a63a0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x100a66d3
push dword [ebp - 0x210]
call fcn.10032211
xor al, al
jmp 0x100a6714
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100a66d9
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x100a66f9
push edx
call fcn.100a65a2
pop ecx
test al, al
je 0x100a66c4
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x100a6707
mov bl, 1
push dword [ebp - 0x210]
call fcn.10032211
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002897d
leave
ret

Function at 0x100a6ff7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x100a703a
call fcn.100321b7
mov dword [eax], 0xf
call fcn.100321ca
mov dword [eax], 0xd
call fcn.1002ea39
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002897d
leave
ret
test eax, eax
jne 0x100a7041
inc eax
jmp 0x100a702e
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x100a702c
xor eax, eax
cmp ecx, 1
setne al
jmp 0x100a702e