joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d1150
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
shr esi, 2
mov eax, esi
shr eax, 1
add eax, 3
mov dword [ecx], eax
add ecx, 0x10
xor eax, eax
push edi
mov edi, 1
test esi, esi
je 0x100d117f
mov ebx, dword [edx]
mov dword [ecx + eax*4], ebx
inc eax
add edx, 4
cmp eax, esi
jb 0x100d1172
mov eax, dword [ecx + esi*4 - 4]
lea edx, [esi + esi*2]
lea edx, [ecx + edx*4 + 0x70]
mov dword [esp + 0x14], edx
xor edx, edx
test edx, edx
jne 0x100d11f4
mov edx, eax
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
mov ebx, eax
shr ebx, 0x10
shr eax, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
and eax, 0xff
movzx eax, byte [eax + str.cw]
shl edx, 8
or edx, ebx
xor eax, edi
shl edx, 8
add edi, edi
or eax, edx
test edi, 0x100
je 0x100d11f0
mov edi, 0x1b
mov edx, esi
jmp 0x100d1249
cmp edx, 4
jne 0x100d1249
cmp esi, 6
jbe 0x100d1249
mov ebx, eax
shr ebx, 0x10
mov ebp, eax
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
shl ebp, 8
or ebx, ebp
mov ebp, eax
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
shl ebx, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
or ebx, ebp
shl ebx, 8
or eax, ebx
xor eax, dword [ecx]
add ecx, 4
mov dword [ecx + esi*4 - 4], eax
dec edx
cmp ecx, dword [esp + 0x14]
jne 0x100d1190
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x100d2050
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
add esi, edx
mov eax, ecx
mov ecx, edx
cmp edx, esi
je 0x100d207b
mov edx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edx + edi*4]
inc ecx
cmp ecx, esi
jne 0x100d2064
pop edi
pop esi
ret 8

Function at 0x100d2800
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x100d2830
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x100fe45c]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x100d2fc0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x100d3002
cmp eax, 0x40
je 0x100d2ff4
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
mov ecx, dword [esi + 0x20]
bswap ecx
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
bswap edx
mov dword [edi + 4], edx
mov eax, dword [esi + 0x28]
bswap eax
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x2c]
bswap ecx
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x30]
bswap edx
mov dword [edi + 0x10], edx
pop edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67452301
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebx
ret

Function at 0x100d3200
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret
Function at 0x100d3250
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x100fe460]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x100d3870
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x100d38b3
cmp eax, 0x40
je 0x100d38a5
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x100d38f8
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x10002d20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
push 0x10
push 0x1602178
call ebx
mov edi, dword [ebp + 8]
mov ecx, 0x1602178
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x160218c
call ebx
push 0x20
lea esi, [edi + 0x14]
push esi
push 0x160218c
call fcn.10253e60
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x160218c
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x16021a8
call ebx
mov eax, dword [edi + 4]
mov ecx, 0x16021a8
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x16021c4
call ebx
push 0x20
push esi
push 0x16021c4
call fcn.10253e60
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x16021c4
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602204
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602204
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602218
call ebx
push 0x20
lea esi, [edi + 0x64]
push esi
push 0x1602218
call fcn.10253e60
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602218
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602234
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602234
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602250
call ebx
push 0x20
push esi
push 0x1602250
call fcn.10253e60
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602250
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10006c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10277b66
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10295418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x1029067c
call fcn.102512b3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1024f301
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 0x10009730
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009ef0
test al, al
je 0x100098af
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1029a01c]
add ecx, dword [0x1029a018]
cmp eax, ecx
jbe 0x1000977f
mov byte [0x1029a014], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x1029a018]
sub esp, 0x10
movss xmm2, dword [0x10290dc8]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov eax, dword [0x1029a01c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x108], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x108]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x1029a034], 0x10
mov eax, 0x1029a020
cmovae eax, dword [0x1029a020]
push eax
lea eax, [ebp - 0x104]
push 0x1029058c
push eax
call fcn.100093d0
add esp, 0x20
lea eax, [ebp - 0x104]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x64
push 0xf0
push eax
mov eax, 0x89627a
call eax
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
Function at 0x10009970
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009ef0
test al, al
je 0x10009aef
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1029a040]
add ecx, dword [0x1029a03c]
cmp eax, ecx
jbe 0x100099bf
mov byte [0x1029a038], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x1029a03c]
sub esp, 0x10
movss xmm2, dword [0x10290dc8]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov eax, dword [0x1029a040]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x108], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x108]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x1029a058], 0x10
mov eax, 0x1029a044
cmovae eax, dword [0x1029a044]
push eax
lea eax, [ebp - 0x104]
push 0x1029058c
push eax
call fcn.100093d0
add esp, 0x20
lea eax, [ebp - 0x104]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x64
push 0xf0
push eax
mov eax, 0x89627a
call eax
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
Function at 0x10009b00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov byte [0x1029a05c], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1029a094], 0x10
mov dword [0x1029a060], eax
mov eax, 0x1029a080
cmovae eax, dword [0x1029a080]
mov dword [0x1029a064], 0xbb8
mov dword [0x1029a090], 0
mov byte [eax], 0
mov eax, 0x1029a068
cmp dword [0x1029a07c], 0x10
mov dword [0x1029a078], 0
cmovae eax, dword [0x1029a068]
mov byte [eax], 0
movzx eax, byte [0x1029a05c]
sub eax, 0
je 0x10009c23
sub eax, 1
je 0x10009bfc
sub eax, 1
jne 0x10009cae
push 0x5d3
call fcn.10009f20
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x1029058c
push eax
call fcn.100093d0
mov eax, 0x10624dd3
add esp, 0xc
mul dword [ebp + 0xc]
lea eax, [ebp - 0x108]
shr edx, 6
push edx
push str._Accumulated_time:__d_seconds_
push eax
call fcn.100093d0
add esp, 0xc
cmp byte [ebp - 0x108], 0
jne 0x10009be0
xor ecx, ecx
jmp 0x10009c9c
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009bf0
jmp 0x10009c9a
push 0x5d2
call fcn.10009f20
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x1029058c
push eax
call fcn.100093d0
add esp, 0xc
jmp 0x10009cae
push 0x5d1
call fcn.10009f20
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x1029058c
push eax
call fcn.100093d0
mov eax, 0x10624dd3
add esp, 0xc
mul dword [ebp + 0xc]
lea eax, [ebp - 0x108]
shr edx, 6
push edx
push str._Accumulated_time:__d_seconds_
push eax
call fcn.100093d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1029a060], eax
mov eax, 0xee48
sub eax, dword [ebp + 0xc]
cmp byte [ebp - 0x108], 0
mov dword [0x1029a064], eax
jne 0x10009c8a
xor ecx, ecx
jmp 0x10009c9c
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009c93
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, 0x1029a080
push eax
call fcn.10009250
cmp byte [ebp - 0x208], 0
jne 0x10009cbb
xor ecx, ecx
jmp 0x10009ccd
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009cc4
sub ecx, edx
push ecx
lea eax, [ebp - 0x208]
mov ecx, 0x1029a068
push eax
call fcn.10009250
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret 8
Function at 0x10009cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009ef0
test al, al
je 0x10009ed8
mov al, byte [0x1029a05c]
cmp al, 3
je 0x10009ed8
cmp al, 4
je 0x10009ed8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1029a064]
add ecx, dword [0x1029a060]
cmp eax, ecx
jbe 0x10009d54
mov byte [0x1029a05c], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x1029a060]
sub esp, 0x10
movss xmm2, dword [0x10290dc8]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov eax, dword [0x1029a064]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10290dd0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x208], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x208]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x1029a07c], 0x10
mov eax, 0x1029a068
cmovae eax, dword [0x1029a068]
push eax
lea eax, [ebp - 0x104]
push 0x1029058c
push eax
call fcn.100093d0
add esp, 0x20
lea eax, [ebp - 0x104]
mov esi, 0x89627a
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x5f
push 0xf0
push eax
call esi
add esp, 0x20
cmp dword [0x1029a090], 0
je 0x10009ed7
cmp dword [0x1029a094], 0x10
mov eax, 0x1029a080
cmovae eax, dword [0x1029a080]
push eax
lea eax, [ebp - 0x204]
push 0x1029058c
push eax
call fcn.100093d0
add esp, 0xc
lea eax, [ebp - 0x204]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x69
push 0xf0
push eax
call esi
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
Function at 0x1000bc60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1029aa40], 0
jne 0x1000bce3
lea eax, [ebp - 0x198]
mov byte [0x1029aa40], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000bcbd
push str.Winsock_DLL_Initialize_error._r_n
push 0x1855d10
mov eax, 0xf598fb
call eax
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x1000bcf6
shr eax, 8
cmp al, 2
jne 0x1000bcf6
mov dword ds:[0xa6a1774], 0
movzx eax, word [ebp - 0x12]
mov dword ds:[0xa6a1770], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Winsock_version_low._r_n
jmp 0x1000bc9e

Function at 0x1000be00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push edi
mov edi, dword [ebp + 8]
push 0x80
push 0
push eax
call fcn.10253bd0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10253bd0
add esp, 0x18
mov dword [ebp - 0x118], 0x80
cmp byte [0x1029aa41], 0
mov dword [ebp - 0x114], 0x80
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffff0000
je 0x1000beb2
push 4
push 0x1029aa44
push 0x1b
push 0x29
push dword [0x1029aa3c]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1000beb2
push dword [0x1029aa3c]
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret 8
push 0
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push edi
push dword [0x1029aa3c]
call dword [sym.imp.WS2_32.dll_WSAConnectByNameA]
test eax, eax
je 0x1000be92
push 0
push 0
push 0x7010
push 0xffff
push dword [0x1029aa3c]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1000be92
cmp byte [0x1029aa41], 0
je 0x1000bf36
lea ecx, [ebp - 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
cmp eax, dword [edx]
jne 0x1000bf2f
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x1000bf2f
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x1000bf2f
xor al, al
jmp 0x1000bf31
mov al, 1
mov byte [0x1029aa48], al
push 0x23
push 0x400
push dword [0x10297d30]
push dword [0x1029aa3c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x1000be92
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.10250f5f
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ecd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10277d78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000edff
cmp byte [ebx + 0x3d], 0
je 0x1000edff
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1000ed29
xor al, al
jmp 0x1000ee01
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10006bc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000ed97
sub eax, 1
je 0x1000ed9b
sub eax, 2
je 0x1000edf1
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.100093f0
mov al, bl
jmp 0x1000ee01
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x1000edd3
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1025a745
add esp, 0x10
cmp esi, eax
jne 0x1000ed89
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x1000edf1
test esi, esi
jne 0x1000ed54
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10008830
jmp 0x1000ed4e
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.100093f0
mov al, bl
jmp 0x1000ee01
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10250f5f
mov esp, ebp
pop ebp
ret