joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f920
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x1000f94d
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x103b26f8]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x1000f930
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1000f9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [edx*8]
mov ebx, ecx
cmp eax, 0x400
mov dword [ebp - 4], ebx
mov esi, 0x80
cmovbe esi, edx
push edi
cmp esi, dword [ebx]
jne 0x1000f9ff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x103cecb8]
test eax, eax
je 0x1000fa0a
call eax
lea eax, [esi*8]
push eax
call fcn.1000ba40
mov ecx, dword [0x103cecbc]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x1000fa2b
call ecx
test esi, esi
je 0x1000f9f6
push dword [ebx + 0xc]
call fcn.1000bd40
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x103cb8e0]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.100b11d0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x1000fb0e
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x1000fa9d
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x103b26f8]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x1000fa80
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x1000fae8
mov eax, dword [esi]
test eax, eax
je 0x1000fabb
mov edx, dword [esi + 4]
jmp 0x1000fabd
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x1000fae8
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x1000fadd
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x1000fb04
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x1000fb04
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x1000fafa
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x1000fa74
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fc30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x1000fc84
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x1000fc74
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x103b26f8]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x1000fc54
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x1000fc86
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.1000fb20
add esp, 8
test eax, eax
je 0x1000fca0
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000fcb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
cmp dword [esi], 0
je 0x1000fd05
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x1000fcf5
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x103b26f8]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x1000fcd5
mov esi, dword [ebp - 0xc]
mov eax, edi
xor edx, edx
div dword [esi]
mov edi, dword [ebp - 8]
mov ebx, edx
mov dword [ebp - 4], edx
jmp 0x1000fd0a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.1000fb20
add esp, 8
test eax, eax
je 0x1000fd52
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1000fd42
push ebx
mov edx, eax
mov ecx, esi
call fcn.1000fbd0
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1000fdf0
push 0x14
call fcn.1000ba40
mov edi, eax
add esp, 4
test edi, edi
jne 0x1000fd76
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0xa
jb 0x1000fdb6
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x1000fdb6
add edx, edx
mov ecx, esi
call fcn.1000f9d0
test eax, eax
je 0x1000fdb6
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.1000f920
xor edx, edx
div dword [esi]
jmp 0x1000fdb9
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000fdd7
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.1000f960
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000fde6
mov dword [eax + 4], edi
mov dword [edi + 4], 0
mov dword [esi + 8], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, eax
test eax, eax
je 0x10040a2f
cmp byte [eax], dl
je 0x10040a27
inc edi
cmp byte [edi], dl
jne 0x10040a22
sub edi, eax
and edi, 0x3fffffff
xor ebx, ebx
cmp dword [esi + 0x14], edx
jle 0x10040adb
nop word [eax + eax]
mov eax, ebx
mov ecx, ebx
xor eax, 1
cmp ebx, 2
cmovl ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x10040aab
mov edx, ecx
mov ecx, dword [esi + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x10040a8d
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x103b26f8]
cmp cl, byte [edx + 0x103b26f8]
jne 0x10040a8d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x10040a70
movzx ecx, byte [esi]
movzx eax, byte [eax]
mov esi, dword [ebp - 8]
movzx ecx, byte [ecx + 0x103b26f8]
movzx eax, byte [eax + 0x103b26f8]
sub eax, ecx
jne 0x10040ace
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov edx, dword [ebp - 0x10]
push edi
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.1000fc30
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x10040adb
jmp 0x10040ad1
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x10040a40
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10040c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
push ebx
push edi
mov edi, eax
test eax, eax
je 0x10040c2d
cmp byte [eax], dl
je 0x10040c25
nop dword [eax]
inc edi
cmp byte [edi], dl
jne 0x10040c20
sub edi, eax
and edi, 0x3fffffff
mov eax, dword [ecx + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x10040cd9
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, ebx
mov eax, ebx
xor ecx, 1
cmp ebx, 2
cmovl eax, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10040cab
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x10040c90
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x103b26f8]
cmp cl, byte [edx + 0x103b26f8]
jne 0x10040c8d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x10040c70
mov edx, dword [ebp - 4]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x103b26f8]
movzx ecx, byte [ecx + 0x103b26f8]
sub eax, ecx
jne 0x10040cc3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + 0x18]
push edi
call fcn.1000fc30
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x10040cd0
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x10040c44
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
push edi
test esi, esi
je 0x10041192
test ebx, ebx
je 0x10041008
cmp dword [ebx + 0x200], 0
jne 0x10041017
mov eax, 0xffff
add word [esi + 0x28], ax
jne 0x10041192
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10041147
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x1004103c
cmp dword [ebx + 0x200], 0
jne 0x100410e8
mov esi, dword [edi]
mov ecx, esi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1004105e
cmp byte [esi], 0
je 0x10041056
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x10041050
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [edi + 0x18]
add eax, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x100410be
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x100410b4
mov edi, ecx
mov ebx, eax
mov ecx, esi
movzx eax, byte [ecx]
lea edx, [ebx*8]
dec edi
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x103b26f8]
xor esi, edx
xor ebx, esi
test edi, edi
jg 0x10041085
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
jmp 0x100410c0
xor edx, edx
push edx
mov dword [ebp - 8], edx
mov edx, esi
push ecx
mov ecx, eax
call fcn.1000fb20
add esp, 8
test eax, eax
je 0x100410e5
push dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.1000fbd0
add esp, 4
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x100410f5
cmp dword [ebx + 0x200], 0
jne 0x1004110a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1004110a
add dword [eax], 0xffffffff
jne 0x1004110a
push eax
call fcn.1000bd40
add esp, 4
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.10038370
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.1000bde0
test byte [edi + 0x38], 0x10
je 0x1004112e
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.1000bde0
mov edx, edi
mov ecx, ebx
call fcn.1000bde0
mov dword [ebp - 0x14], esi
mov edi, esi
test esi, esi
jne 0x10041025
mov esi, dword [ebp - 0x2c]
mov edx, esi
mov ecx, ebx
call fcn.1004ca80
mov edx, esi
mov ecx, ebx
call fcn.10040f60
mov edx, dword [esi]
mov ecx, ebx
call fcn.1000bde0
mov edx, dword [esi + 0x14]
mov ecx, ebx
call fcn.1000bde0
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.100553d0
mov edx, dword [esi + 0x18]
mov ecx, ebx
call fcn.10038ff0
mov edx, esi
mov ecx, ebx
call fcn.10062310
mov edx, esi
mov ecx, ebx
call fcn.1000bde0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10073930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5541
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
lea esi, [edi + 0x14]
mov dword [ebp - 0x30], edi
push 0
push 0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10078290
mov dword [esi], eax
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.10097136
mov dword [edi + 0x4c], 1
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov byte [ebp - 4], 2
push 0x200000
mov dword [edi], 0
call fcn.100b6af8
add esp, 0xc
mov dword [edi + 4], eax
test eax, eax
jne 0x100739e0
push eax
call fcn.100b6db4
lea eax, [ebp - 0x28]
mov dword [edi + 8], 0
push eax
call fcn.10073f40
cmp dword [eax + 0x14], 8
jb 0x100739f8
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push eax
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10073a16
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10076e80
push str.steamclient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0xc], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x10073f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d55fb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x438], 0
push eax
push 0x103b9bdc
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
call fcn.10076b00
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push closesocket
mov dword [ebp - 0x434], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10074011
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.10076c00
mov ecx, dword [ebp - 0x418]
cmp ecx, 8
jb 0x100740bd
inc ecx
push ecx
jmp 0x100740ac
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push str.SteamPath
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10074072
cmp word [ebp - 0x414], ax
jne 0x10074045
xor ecx, ecx
jmp 0x1007405f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074050
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10076b00
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.10076c00
mov eax, dword [ebp - 0x418]
cmp eax, 8
jb 0x100740bd
inc eax
push eax
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x42c]
call fcn.10076e80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret 4
Function at 0x100747d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
cmp ecx, 5
jae 0x100747ed
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 4]
mov eax, dword [edi + 1]
add eax, 5
cmp ecx, eax
jb 0x100747e5
movsx eax, byte [edi]
add eax, 0x7b
cmp eax, 0xcb
ja case.0x1007480e.122
movzx eax, byte [eax + 0x100748b8]
jmp dword [eax*4 + 0x100748a0]
push 0x103b9e5c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne case.0x1007480e.122
push eax
mov ecx, esi
call fcn.10073d70
jmp case.0x1007480e.122
push 1
mov ecx, esi
call fcn.10073d70
jmp case.0x1007480e.122
mov ecx, esi
call fcn.100740e0
mov dword [esp + 8], eax
mov ecx, esi
push 8
lea eax, [esp + 0xc]
mov dword [esp + 0x10], edx
push eax
push 0x43
call fcn.10074180
jmp case.0x1007480e.122
mov ecx, esi
call fcn.10074310
jmp case.0x1007480e.122
mov ecx, esi
call fcn.10074620
mov eax, dword [esi + 8]
sub eax, dword [edi + 1]
mov edx, dword [esi + 4]
sub eax, 5
push eax
lea eax, [edx + 5]
add eax, dword [edi + 1]
push eax
push edx
call fcn.100af410
add esp, 0xc
mov eax, 0xfffffffb
sub eax, dword [edi + 1]
add dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10074815
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
cmp ecx, 5
jae 0x100747ed
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 4]
mov eax, dword [edi + 1]
add eax, 5
cmp ecx, eax
jb 0x100747e5
movsx eax, byte [edi]
add eax, 0x7b
cmp eax, 0xcb
ja case.0x1007480e.122
movzx eax, byte [eax + 0x100748b8]
jmp dword [eax*4 + 0x100748a0]
push 0x103b9e5c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne case.0x1007480e.122
push eax
mov ecx, esi
call fcn.10073d70
jmp case.0x1007480e.122
push 1
mov ecx, esi
call fcn.10073d70
jmp case.0x1007480e.122
mov ecx, esi
call fcn.100740e0
mov dword [esp + 8], eax
mov ecx, esi
push 8
lea eax, [esp + 0xc]
mov dword [esp + 0x10], edx
push eax
push 0x43
call fcn.10074180
jmp case.0x1007480e.122
mov ecx, esi
call fcn.10074310
jmp case.0x1007480e.122
mov ecx, esi
call fcn.10074620
mov eax, dword [esi + 8]
sub eax, dword [edi + 1]
mov edx, dword [esi + 4]
sub eax, 5
push eax
lea eax, [edx + 5]
add eax, dword [edi + 1]
push eax
push edx
call fcn.100af410
add esp, 0xc
mov eax, 0xfffffffb
sub eax, dword [edi + 1]
add dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10077d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d52a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x103ca0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100980fe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10096146
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100794c0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push 0x401d
mov dword [esi], 0
mov dword [esi + 8], 0x24e3
mov dword [esi + 0xc], 0x103b9f68
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x8c], 0
mov dword [esi + 0x1c], 0
call fcn.100b6af8
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x1007952a
mov eax, esi
pop esi
ret
push 0
call fcn.100b6db4
int3

Function at 0x10079720
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 0x70], eax
cmp eax, 0xffffffff
je 0x10079793
mov eax, 2
mov word [ebp - 0x14], ax
movzx eax, word [esi + 8]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
push dword [esi + 0xc]
mov word [ebp - 0x12], ax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x10079793
mov eax, dword [eax + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x70]
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x100797a8
push dword [esi + 0x70]
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100980ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 0x1c], 0
xor ecx, ebp
pop esi
call fcn.100980ed
mov esp, ebp
pop ebp
ret
Function at 0x100797c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 1
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x30], eax
lea ecx, [esi + 0x80]
mov eax, dword [esi + 0x5c]
push edi
push edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x28]
push ecx
call eax
mov ebx, eax
test ebx, ebx
js 0x100798c5
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 2
push eax
lea eax, [esi + 0x80]
mov dword [esp + 0x2c], 0
push eax
push 0
push 0
push 0x10
push 0
push 0xc11c
push 0
push eax
lea eax, [esi + 0x60]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], 0
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ebx, eax
test ebx, ebx
js 0x100798c5
mov edi, dword [esp + 0x28]
test edi, edi
je 0x100798c5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100798c5
push 0
push eax
push edi
push dword [esi + 0x70]
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x100798bd
test eax, eax
je 0x100798bd
mov eax, dword [esi + 0x5c]
push edi
mov eax, dword [eax + 0x40]
call eax
jmp 0x100798c5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ebx, eax
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x80]
push ecx
mov eax, dword [eax + 0x24]
call eax
push dword [esi + 0x70]
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret