joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100abfdc
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x104], ecx
mov dword [eax + 0x100], ecx
mov dword [eax + 0x108], 0x6a09e667
mov dword [eax + 0x10c], 0xbb67ae85
mov dword [eax + 0x110], 0x3c6ef372
mov dword [eax + 0x114], 0xa54ff53a
mov dword [eax + 0x118], 0x510e527f
mov dword [eax + 0x11c], 0x9b05688c
mov dword [eax + 0x120], 0x1f83d9ab
mov dword [eax + 0x124], 0x5be0cd19
mov dword [eax], 0x428a2f98
mov dword [eax + 4], 0x71374491
mov dword [eax + 8], 0xb5c0fbcf
mov dword [eax + 0xc], 0xe9b5dba5
mov dword [eax + 0x10], 0x3956c25b
mov dword [eax + 0x14], 0x59f111f1
mov dword [eax + 0x18], 0x923f82a4
mov dword [eax + 0x1c], 0xab1c5ed5
mov dword [eax + 0x20], 0xd807aa98
mov dword [eax + 0x24], 0x12835b01
mov dword [eax + 0x28], 0x243185be
mov dword [eax + 0x2c], 0x550c7dc3
mov dword [eax + 0x30], 0x72be5d74
mov dword [eax + 0x34], 0x80deb1fe
mov dword [eax + 0x38], 0x9bdc06a7
mov dword [eax + 0x3c], 0xc19bf174
mov dword [eax + 0x40], 0xe49b69c1
mov dword [eax + 0x44], 0xefbe4786
mov dword [eax + 0x48], 0xfc19dc6
mov dword [eax + 0x4c], 0x240ca1cc
mov dword [eax + 0x50], 0x2de92c6f
mov dword [eax + 0x54], 0x4a7484aa
mov dword [eax + 0x58], 0x5cb0a9dc
mov dword [eax + 0x5c], 0x76f988da
mov dword [eax + 0x60], 0x983e5152
mov dword [eax + 0x64], 0xa831c66d
mov dword [eax + 0x68], 0xb00327c8
mov dword [eax + 0x6c], 0xbf597fc7
mov dword [eax + 0x70], 0xc6e00bf3
mov dword [eax + 0x74], 0xd5a79147
mov dword [eax + 0x78], 0x6ca6351
mov dword [eax + 0x7c], 0x14292967
mov dword [eax + 0x80], 0x27b70a85
mov dword [eax + 0x84], 0x2e1b2138
mov dword [eax + 0x88], 0x4d2c6dfc
mov dword [eax + 0x8c], 0x53380d13
mov dword [eax + 0x90], 0x650a7354
mov dword [eax + 0x94], 0x766a0abb
mov dword [eax + 0x98], 0x81c2c92e
mov dword [eax + 0x9c], 0x92722c85
mov dword [eax + 0xa0], 0xa2bfe8a1
mov dword [eax + 0xa4], 0xa81a664b
mov dword [eax + 0xa8], 0xc24b8b70
mov dword [eax + 0xac], 0xc76c51a3
mov dword [eax + 0xb0], 0xd192e819
mov dword [eax + 0xb4], 0xd6990624
mov dword [eax + 0xb8], 0xf40e3585
mov dword [eax + 0xbc], 0x106aa070
mov dword [eax + 0xc0], 0x19a4c116
mov dword [eax + 0xc4], 0x1e376c08
mov dword [eax + 0xc8], 0x2748774c
mov dword [eax + 0xcc], 0x34b0bcb5
mov dword [eax + 0xd0], 0x391c0cb3
mov dword [eax + 0xd4], 0x4ed8aa4a
mov dword [eax + 0xd8], 0x5b9cca4f
mov dword [eax + 0xdc], 0x682e6ff3
mov dword [eax + 0xe0], 0x748f82ee
mov dword [eax + 0xe4], 0x78a5636f
mov dword [eax + 0xe8], 0x84c87814
mov dword [eax + 0xec], 0x8cc70208
mov dword [eax + 0xf0], 0x90befffa
mov dword [eax + 0xf4], 0xa4506ceb
mov dword [eax + 0xf8], 0xbef9a3f7
mov dword [eax + 0xfc], 0xc67178f2
pop ebp
ret

Function at 0x100ba90c
Capabilities:
Encode data using xor

Disassembly:
push 0x679f19
call fcn.1028f558
sahf
popal
aam 0xec
inc ecx
push 0x95b81062
dec eax
adc edx, dword [ecx]
lds eax, [eax - 0x5f80d4eb]
add edi, ecx
invalid
Function at 0x100bac0c
Capabilities:
Encode data using xor

Disassembly:
push 0x67de50
call fcn.1028f558
lar ebp, word [ebx - 0x75]
lea eax, [eax - 0x5c4beb8b]
xor byte [esi + 0x255876b6], ch
mov ah, 0x1f
adc ch, byte [ecx - 0x51]
jno 0x100bac11
dec ebx
invalid

Function at 0x100cbc6c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_CreateDirectoryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100cbc94
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x100cbc94
xor eax, eax
jmp 0x100cbc99
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100cd7ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x62
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x66
mov eax, dword [ebp + 0xc]
shl eax, 1
cmp eax, dword [ebp + 0x14]
jbe 0x100cd848
or eax, 0xffffffff
jmp 0x100cd895
jmp 0x100cd853
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x100cd893
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
sar ecx, 4
and ecx, 0xf
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + ecx - 0x14]
mov byte [eax + edx*2], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
and eax, 0xf
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov al, byte [ebp + eax - 0x14]
mov byte [edx + ecx*2 + 1], al
jmp 0x100cd84a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100d69ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov byte [ebp - 0x425], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100baa3c
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100d69ff
mov eax, dword [ebp - 0x20]
jmp 0x100d6bc1
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0x20
push 0xffff
mov edx, dword [ebp + 8]
push edx
call dword [0x10011644]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100d6bb2
mov eax, dword [ebp + 0x14]
imul eax, eax, 0x3e8
mov dword [ebp - 0x10], eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 0x1006
push 0xffff
mov edx, dword [ebp + 8]
push edx
call dword [0x10011644]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100d6bb2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 1
lea edx, [ebp - 0x425]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x10011674]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x100d6bb2
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 1
lea ecx, [ebp - 0x425]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x1001166c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x100d6b6e
mov dword [ebp - 0x14], 0
push 0x18
push 0
push 0
push 0x400
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x1001168c]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x100d6b6c
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x430]
mov cl, byte [eax]
mov byte [ebp - 0x435], cl
add dword [ebp - 0x430], 1
cmp byte [ebp - 0x435], 0
jne 0x100d6b1f
mov edx, dword [ebp - 0x430]
sub edx, dword [ebp - 0x434]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x43c]
add eax, 1
push eax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.100d46ec
add esp, 0xc
jmp 0x100d6b93
cmp dword [ebp - 0xc], 0
jge 0x100d6b93
call dword [0x10011634]
cmp eax, 0x274c
jne 0x100d6b93
cmp dword [ebp - 0x424], 0
jle 0x100d6b93
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jae 0x100d6bb2
cmp dword [ebp - 0x14], 3
jl 0x100d6a88
mov edx, dword [ebp - 4]
push edx
call fcn.100baa5c
add esp, 4
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x100df6cc
Capabilities:
Encode data using xor

Disassembly:
push 0xa33b7e
call fcn.1028f558
jo 0x100df6fb
call 0xda072808
inc ecx
adc al, 0x55
insb byte es:[edi], dx
test al, 0x7d
cli
mov dword [0x9a1e36e8], eax
or al, 0x3b
mov ah, byte [esi]
mov bl, dh
mov eax, dword [0xf3acaf]
scasd eax, dword es:[edi]
mov ebp, 0x2b7b0e57
inc ebx
inc eax
imul edx, eax, 0x31f9c99
sbb ah, cl
movsb byte es:[edi], byte [esi]
mov byte [0xab7a0465], al
invalid

Function at 0x100eaa9c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jle 0x100eaad7
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x100eaacf
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x100eaad9
inc edx
add eax, 0x28
cmp edx, esi
jl 0x100eaabf
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100eaf4c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
xor edx, edx
xor ebx, ebx
lea esi, [ecx + edi + 0x18]
cmp dx, word [edi + 6]
jb 0x100eaf7f
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.100ead8c
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
jb 0x100eafa0
mov edx, dword [esi + 8]
add edx, eax
cmp ecx, edx
jb 0x100eafb3
movzx eax, word [edi + 6]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0x100eaf7c
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x102d6fd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ed2eb
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [esi], vtable.CGrdMutex.0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.102d7290
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ecx
mov edx, str.CGrdDongle
lea ecx, [ebp - 0xb0]
call fcn.102d8270
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.102d7350
cmp dword [eax + 0x14], 0x10
jb 0x102d7069
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [ebp - 0xc4], 0x10
mov dword [esi + 4], eax
jb 0x102d708f
push dword [ebp - 0xd8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x102d709f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0xc4], ecx
lea ecx, [ebp - 0xa8]
call fcn.102d7370
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102ec352
mov esp, ebp
pop ebp
ret
Function at 0x102dd270
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 8], eax
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x102dd2d6
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x102dd302
cmp dword [ecx], edi
jne 0x102dd2fa
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x102dd30a
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x102dd30a
cmp dword [ecx], edi
jne 0x102dd30d
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.102da860
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 8]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.102ec352
mov esp, ebp
pop ebp
ret 8
Function at 0x102de710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x102de775
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
add edx, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov esi, dword [esi]
cmp edx, esi
jne 0x102de79c
mov ecx, esi
jmp 0x102de7a0
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x102de7c8
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x102de7b2
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
jmp 0x102de794
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
jne 0x102de7c2
mov dword [ebp - 8], eax
mov ecx, dword [ecx]
mov dword [ebx], ecx
jmp 0x102de7ca
mov dword [ebx], esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102ec352
mov esp, ebp
pop ebp
ret 8
Function at 0x102deaa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102edcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x102debd1
cmp byte [esi + 0x45], 0
je 0x102debd1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x102deb00
xor al, al
jmp 0x102debd3
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.102ddf70
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x102deb58
dec eax
je 0x102deb5c
sub eax, 2
je 0x102debb7
xor bl, bl
jmp 0x102debb9
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x102deb94
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x102deb54
cmp byte [esi + 0x45], 0
je 0x102debb7
test edi, edi
lea edi, [esi + 0x48]
jne 0x102deb17
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.102de180
jmp 0x102deb14
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x102debcd
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x102debd3
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.102ec352
mov esp, ebp
pop ebp
ret
Function at 0x102e8270
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x10], eax
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov edx, dword [ebx + 0x14]
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x102e82d8
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [eax]
cmp esi, eax
je 0x102e8310
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x102e8310
mov eax, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x102e8354
cmp esi, dword [edx + ecx*8]
jne 0x102e8303
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x102e833a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x102e8399
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x102e83b9
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.102da860
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.102ec352
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x102e83a1
mov dword [ecx], edi
jmp 0x102e83b9
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x102e83b9
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.102e9720
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.102ec352
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405f35
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c5b4], 0
push esi
jne 0x405f6c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f46
mov dword [ecx*4 + 0x42c5b0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f41
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f9d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c5b0]
xor eax, esi
inc ecx
dec edx
jne 0x405f7f
pop edi
not eax
pop esi
ret 0xc
Function at 0x4037c9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0x5e0
cmovg ax, ax
mov eax, 0x45186c
call fcn.004516ce
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
jmp 0x40f81a
jmp 0x40e042
call fcn.00451718
ret
mov dword [ebp - 0x5e8], eax
je 0x470cf4
xor eax, eax
jmp 0x409f58
mov al, byte [eax]
cmp al, 4
je 0x47499c
cmp al, 5
jmp loc.00405580
sub eax, eax
jmp 0x47cacb
inc eax
jmp 0x40e042

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

Disassembly:
push ebp
movzx ebp, di
clc
mov ebp, esp
btr eax, 0xaf
xor eax, 0x16327e91
and esp, 0xfffffff8
cbw
movzx eax, bp
or ax, 0xa31c
sub esp, 0x174
cmc
sbb eax, esp
mov eax, dword [0x46405c]
clc
xor eax, esp
jmp 0x4094be
mov dword [esp + 0x170], eax
bswap eax
jmp loc.0047b180

Function at 0x40463b
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
not ebp
movzx ax, cl
mov ebp, esp
cbw
setle al
movzx eax, dx
push 0xffffffffffffffff
lahf
movsx eax, cx
push 0x4519a3
mov eax, dword fs:[0]
jmp loc.0047d3dd

Function at 0x4072b5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
rcl bh, cl
mov ebx, dword [ebp + 0xc]
push edi
cmp al, cl
jae 0x410ad4
movzx eax, al
cmc
movzx ecx, cl
cmp dl, bh
clc
cmc
sub ecx, eax
stc
cmp bp, 0xe438
cmp ebx, ecx
jmp loc.00473543
push ebx
jmp loc.0046e57e
push ebp
cmc
add bp, sp
mov ebp, esp
xchg ah, al
ror eax, 0x38
push ecx
push ecx
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [esi + 0x23f]
mov cl, byte [esi + 0x23e]
cmp bh, 0x32
stc
jmp 0x403375
push 0
jmp 0x405b8a

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp ecx, 0x4d8b981f
mov eax, dword [0x46405c]
stc
cmp si, 0xa826
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
bsf ebx, edi
mov ebx, dword [ebp + 8]
cmp ebx, esp
stc
push esi
clc
cmp si, 0xca06
sub esi, esi
push edi
mov edi, ecx
cmp bp, 0x80a1
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x1c], esi
jmp loc.0047b120

Function at 0x407b60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
test byte [0x46c660], 1
jne 0x407b8f
or dword [0x46c660], 1
push str.SystemFunction036
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46c65c], eax
mov eax, dword [0x46c65c]
test eax, eax
je 0x407b9b
pop ebp
jmp eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.00427f13
add esp, 0x10
neg eax
sbb al, al
inc al
pop ebp
ret 8

Function at 0x4085aa
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
bts eax, eax
bt ax, cx
and esp, 0xfffffff8
sal ah, 0xa2
lea esp, [esp - 0x19c]
shl ah, 0x12
mov eax, dword [0x46405c]
test sp, bx
stc
cmp edx, 0x1599ca1e
xor eax, esp
jmp loc.0047b828