joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047650
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cdc]
cmp eax, 0x64
ja 0x10047688
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push ebx
push edi
call esi
mov dword [0x101b8cdc], eax
xor eax, eax
mov ecx, 0x46
mov edi, 0x101a4968
rep stosd dword es:[edi], eax
mov eax, dword [0x35f42a8]
xor edi, edi
mov byte [ebp - 0x25d], 0
lea ebx, [eax + 0x53c]
mov dword [ebp - 0x264], edi
lea esp, [esp]
cmp dword [edi*4 + 0x1011cd30], 1
jne 0x1004782d
mov al, byte [ebp + 8]
cmp al, 1
jne 0x1004776b
mov esi, dword [ebx]
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x10047729
lea edx, [ebp - 0x68]
push edx
push esi
call fcn.1000d0f0
lea eax, [ebp - 0x68]
push eax
add esi, 0x64
push esi
lea ecx, [ebp - 0x194]
push 0x1009561c
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011bcf8]
mov ecx, esi
lea eax, [ebp - 0x194]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047800
test dl, dl
je 0x10047764
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047800
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047740
xor eax, eax
jmp 0x10047805
test al, al
jne 0x1004782d
mov esi, dword [ebx]
push 0xc8
lea edx, [ebp - 0x25c]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x100477cc
lea ecx, [ebp - 0xcc]
push ecx
push esi
call fcn.1000d0f0
lea edx, [ebp - 0xcc]
push edx
add esi, 0x64
push esi
lea eax, [ebp - 0x25c]
push 0x1009561c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011b780]
mov ecx, esi
lea eax, [ebp - 0x25c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047800
test dl, dl
je 0x100477fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047800
add eax, 2
add ecx, 2
test dl, dl
jne 0x100477e0
xor eax, eax
jmp 0x10047805
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004782d
push esi
call fcn.10047570
add esp, 4
test eax, eax
js 0x1004782d
push 1
push 1
push 0
push edi
push eax
call fcn.1003a100
mov byte [ebp - 0x25d], 1
add esp, 0x14
add dword [ebp - 0x264], 0x64
inc edi
add ebx, 4
cmp edi, 0xe
jl 0x100476c0
cmp byte [ebp - 0x25d], 1
mov ecx, dword [ebp - 4]
pop edi
sete al
pop ebx
xor ecx, ebp
pop esi
call fcn.10086746
mov esp, ebp
pop ebp
ret
Function at 0x10047860
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100478c9
mov eax, dword [ebp - 0x1b0]
cmp al, 1
jne 0x10047a0c
shr eax, 8
cmp al, 1
jne 0x10047a0c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x100478dc
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
mov ecx, 2
push edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10047940
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047924
sub eax, edx
push 0
add eax, 4
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10047961
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1b4]
cmp eax, 0x3a980
jb 0x100479a3
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push 0
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, 0x1009ca58
lea eax, [ebp - 0x10]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100479e0
test dl, dl
je 0x100479dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100479e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100479c0
xor eax, eax
jmp 0x100479e5
sbb eax, eax
sbb eax, 0xffffffff
push edi
test eax, eax
jne 0x10047981
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 0xfffffffe
pop ebx
call fcn.10086746
mov esp, ebp
pop ebp
ret
Function at 0x100533f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
mov dword [ebp - 0x6c], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x1009ca58
push str.D5CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D5CHECK2
push str.config
mov dword [0x10194ba8], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10194878], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D5CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D5CHECK4
push str.config
mov dword [0x1019487c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D5RADI01
push str.config
mov dword [0x10194ba4], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
mov ebx, dword [ebp - 0x6c]
push 0xbb8
mov dword [0x10194874], eax
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0x10
push esi
push 0xbb8
push ebx
push 0x10092e4c
push str.D5LIST1
push str.config
call edi
mov eax, dword [0x1019494c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x184
push eax
call esi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1009e980
push ebx
call edi
add esp, 8
test eax, eax
je 0x10053561
lea ebx, [ebx]
mov ecx, dword [0x1019494c]
push eax
push 0
push 0x180
push ecx
call esi
push 0x1009e980
push 0
call edi
add esp, 8
test eax, eax
jne 0x10053540
mov edx, dword [0x10194800]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x10053582
push 0
mov ecx, 0x101947e0
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10199d00
call fcn.10015a20
mov ecx, 0x10199d00
call fcn.100155f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
Function at 0x10056070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push str..ini
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
push 0x64
test eax, eax
lea ecx, [ebp - 0x68]
setne al
push 0
push ecx
mov byte [0x1012d417], al
call sub.MSVCR100.dll_memset
push 0x14c08
call sub.mfc100.dll_Ordinal_265
mov edi, eax
push edi
push esi
call fcn.10050ab0
push edi
push esi
call fcn.100515b0
push edi
push esi
call fcn.100523f0
push edi
push esi
call fcn.10052a50
push edi
push esi
call fcn.100533f0
add esp, 0x40
push edi
push esi
call fcn.100539b0
push edi
push esi
call fcn.1003fc90
push edi
push esi
call fcn.10054440
push edi
push esi
call fcn.10054900
push edi
push esi
call fcn.10054e40
push edi
push esi
call fcn.1003f9c0
push edi
push esi
call fcn.100535b0
push edi
push esi
call fcn.1003f870
add esp, 0x40
push edi
push esi
call fcn.1003f680
push edi
push esi
call fcn.10053cd0
push edi
push esi
call fcn.100550b0
push edi
push esi
call fcn.1003feb0
push edi
push esi
call fcn.10055570
add esp, 0x28
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D12CHECK1
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
push edi
mov dword [0x10199274], eax
call sub.mfc100.dll_Ordinal_1296
add esp, 8
push 0
mov ecx, 0x10195948
call sub.mfc100.dll_Ordinal_13219
push 0
mov ecx, 0x101990f8
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10086746
mov esp, ebp
pop ebp
ret
Function at 0x10058e80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x36208e4]
fld dword [esi + 0x1f64]
call fcn.100867b0
fld dword [esi + 0x1f6c]
mov dword [ebp - 8], eax
call fcn.100867b0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 0x101b876c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058ed1
test dl, dl
je 0x10058ecd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058ed1
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058eb1
xor eax, eax
jmp 0x10058ed6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058efa
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
add eax, 0x44
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10060d60
pop esi
mov esp, ebp
pop ebp
ret
push 0x100945a8
call fcn.10007300
add esp, 4
cmp eax, 1
jne 0x10058f1e
push str.ClickBox1
call fcn.10038c20
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0xc]
sub esp, 8
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.100561a0
fcomp qword [0x100a0180]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058f9d
fild dword [ebp + 0x14]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.100561a0
fcomp qword [0x100a0180]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058f9d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cfc]
cmp eax, 0xbb8
jbe 0x10058f9d
mov edx, dword [ebp + 0x18]
push edx
push 1
call fcn.10039960
add esp, 8
call esi
mov dword [0x101b8cfc], eax
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.10038190
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10058fe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x36208e4]
fld dword [esi + 0x1f64]
call fcn.100867b0
fld dword [esi + 0x1f6c]
mov dword [ebp - 8], eax
call fcn.100867b0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 0x101b876c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10059031
test dl, dl
je 0x1005902d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10059031
add eax, 2
add ecx, 2
test dl, dl
jne 0x10059011
xor eax, eax
jmp 0x10059036
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005905c
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
add eax, 0x93
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10070390
pop esi
mov esp, ebp
pop ebp
ret
push 0x100945a8
call fcn.10007300
add esp, 4
cmp eax, 1
jne 0x10059080
push str.ClickBox1
call fcn.10038c20
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0xc]
sub esp, 8
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.100561a0
fcomp qword [0x100a0180]
add esp, 8
fnstsw ax
test ah, 5
jp 0x100590ff
fild dword [ebp + 0x14]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.100561a0
fcomp qword [0x100a0180]
add esp, 8
fnstsw ax
test ah, 5
jp 0x100590ff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8d00]
cmp eax, 0xbb8
jbe 0x100590ff
mov edx, dword [ebp + 0x18]
push edx
push 1
call fcn.10039960
add esp, 8
call esi
mov dword [0x101b8d00], eax
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.10038190
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10080c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1019efc0], 1
jne 0x10080c4e
jmp fcn.10080a00
push ebx
push esi
mov esi, dword [0x36208e4]
mov eax, dword [esi + 0x1d24]
push edi
push 0xaf6500
push eax
call fcn.10006f10
mov ebx, eax
add esp, 8
test ebx, ebx
jle 0x10080cd5
cmp ebx, esi
je 0x10080cd5
xor esi, esi
cmp dword [0x101435f0], esi
jle 0x10080cd5
mov edi, 0x10142df8
cmp byte [esi + 0x101433d4], 1
jne 0x10080cc9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10143410]
cmp eax, dword [esi*4 + 0x10143500]
jb 0x10080cc9
mov ecx, dword [esi*4 + 0x101432a8]
shl ecx, 5
cmp dword [ecx + ebx + 0x45c4], 0
jne 0x10080cc9
movzx edx, word [ebx + 0x14]
push edx
push edi
call fcn.10006c20
add esp, 8
cmp al, 1
je 0x10080ce3
inc esi
add edi, 0x14
cmp esi, dword [0x101435f0]
jl 0x10080c84
pop edi
pop esi
mov dword [0x100ae398], 0x64
pop ebx
ret
lea eax, [esi + esi*4]
lea ecx, [eax*4 + 0x10142df8]
push 8
push ecx
call fcn.1003ae70
add esp, 8
pop edi
pop esi
mov dword [0x100ae398], 0xbd6
pop ebx
ret
Function at 0x10086746
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ae8c8]
jne 0x10086750
repz ret
jmp fcn.10086eb9
Function at 0x101c5c3c
Capabilities:
Encode data using xor

Disassembly:
call fcn.10232d25
mov ecx, 0x6c358a3a
shl ecx, cl
mov ecx, dword [esi]
jns 0x1021c44b
adc esi, 4
mov edx, 0xac1ab3b1
xor ecx, ebx
push edx
dec byte [esp + 3]
xor ecx, 0xae0ced35
xor byte [esp + 2], dl
lea edx, [edx + edx + 0x6203961e]
jne 0x10215e19
sbb ecx, 0x76ac8018
neg ecx
xadd dword [esp], edx
neg dword [esp]
inc ecx
rol dword [esp], 0x2f
add dword [esp], edx
xor ebx, ecx
add edi, ecx
mov eax, 0xa39158ba
movzx ecx, word [esi]
ror dword [esp], 0xcd
bswap eax
sal dl, 4
add esi, 2
ror dl, 0x24
call fcn.101dea5d
xchg ebx, eax
sbb eax, 0xf1a6059e
neg dword [eax]
sub esi, dword [ebp + 0x1b]
mov ch, dl
loop 0x10215e28
clc
shl dword [eax - 0x59], 0x9d
push ebp
fst qword [ebp + 0x2ad1fa39]
dec eax
xlatb
jmp 0xb365af64
Function at 0x10259638
Capabilities:
Encode data using xor

Disassembly:
lea esi, [esi + eax*8 - 0x1b5e9602]
dec eax
ror eax, 0x5a
mov word [esi], cx
xchg al, dl
dec dword [esp]
mov ecx, dword [ebp]
and edx, 0xbc80ef2c
adc ebp, 4
not eax
sal dword [esp + eax*2 - 0x4a16a1fc], 0xe4
neg dx
xor ecx, ebx
and eax, eax
jne 0x1025cc8d
mov eax, 0x86a3d939
mov ecx, 0xba362712
xadd cl, al
mov ax, word [esi]
mov cl, byte [esi + 2]
mov edx, 0x213866a6
inc edx
jne 0x102529ea
bswap ecx
rol eax, cl
jmp 0x102801bf
shr edx, 0x3e
rol cl, 1
sub cl, dl
neg cl
mov dword [esp + edx - 1], edx
add cl, dl
ror cl, 1
add edx, 0xf0bb769c
and dx, 0x209a
sbb cl, 0x81
mov eax, 0xfc942d3f
shr dl, 0xe7
not eax
xor bl, cl
jmp 0x10217ac0
dec dword [esp + eax*2 - 0x4a16a1fc]
ror ecx, 1
xchg byte [esp + eax*2 - 0x4a16a1fb], ah
and al, byte [esp + eax - 0x250bfffe]
bswap ecx
shl edx, 0x32
xor byte [esp + edx - 0x80000000], 0xab
neg ecx
or byte [esp + edx - 0x7ffffffd], dl
sbb ecx, 0xc30c8021
xor dx, 0x2fa5
and dl, 0x97
sbb byte [esp + eax*2 - 0x4a17fffc], ah
neg ecx
xor ebx, ecx
add edi, ecx
neg edx
jno 0x10267bdd
mov dword [esp + 0x10], 0x838a363e
push dword [esp + 0x18]
popfd
mov edx, 0xb1d910f
mov edx, dword [esp + edx - 0xb1d90f3]
call fcn.102b8f41
mov eax, dword [esi]
mov ecx, 0x9eb25009
add ecx, ecx
not ecx
add esi, 4
dec ecx
sete cl
xor eax, ebx
jmp 0x10219f28
pop edx
jge fcn.101f7435
xor eax, 0x9c2bbe94
or cl, cl
movsx edx, cx
ror eax, cl
and dx, cx
sal cx, cl
shr ecx, 0x69
neg eax
bswap eax
ror ecx, 0xe3
xor ebx, eax
rol dl, 0x23
sar cl, 0x86
add edi, eax
sal cx, 0xca
mov dx, word [ebp]
mov ax, word [ebp + 2]
add cl, byte [ebp + 4]
add ebp, 4
push 0xa2b4e4b4
shld dx, ax, cl
mov eax, 0xd906d98c
mov word [ebp], dx
lea edx, [eax + eax*8 - 0x7ad1dff7]
lea ecx, [eax*8 - 0x64c17ee3]
call fcn.102532ea
Function at 0x102a8927
Capabilities:
Encode data using xor

Disassembly:
cmp bl, 0x58
push es
push ebp
neg ecx
neg edx
jmp 0x10212528
jb fcn.1021788e
jno 0x10245ad6
adc al, 0xbd
add ebx, ebx
push eax
jne 0x10245b93
xor al, 0xd5
and al, byte [ebx]
dec esi
pop ds
xor ch, byte [esi + 0x6f]
add byte [ebp - 5], dl
pushfd
or byte [eax], dl
aad 0x19
leave
push edi
push ebx
pop edi
invalid
lcall 0x21d7, 0x6dd7951
adc ah, bl
das
das
not dword [ebx]
pop esp
in eax, dx
lodsb al, byte [esi]
adc eax, 0x7f1fefdb
invalid
jg 0x10245bf7
les ebp, [esi + 0x4f5332f9]
cdq
mov al, 0x99
js 0x10245b7f
pop es
cmc
mov dl, 0xd0
dec esi
mov bl, 0xe0
cmp al, 0xba
and eax, dword [0x9a6b3c8b]
invalid
mov edi, 0x62c740f3
pop ebx
push ds
cmp ecx, ebp
cld
sub eax, dword [0xdeba876a]
xor eax, dword [esi - 0x561483a1]
xor byte [eax + 0x59], 0xa9
sub al, byte [eax - 0x77]
dec esp
xchg cl, dh
jns 0x10245bf6
inc ebp
push edx
les ebx, [esi]
invalid
push cs
into
outsd dx, dword [esi]
arpl word [ebx], sp
xchg ecx, eax
dec ebx
add bh, dl
aas
add al, 0x70
les ebx, [ebp + 0x6c967252]
imul byte [eax]
test al, 0x79
jne 0x10245bb0
pop ecx
sub eax, eax
add ah, cl
sahf
or al, 0xac
or byte [edi + edi*8 - 0x10], 8
scasb al, byte es:[edi]
push 0xf
ficomp dword [ebp + 0x749b71b1]
pop es
inc eax
lahf
fimul word [esi + esi*8 - 0x28]
stc
fdivr st(1)
invalid
mov word [ebp], ax
call fcn.10258b85
mov word [ecx + ebp - 0x78f06345], dx
movsx edx, cl
jb 0x10245b2c
shl eax, 0x68
mov ax, word [esi + eax*4 - 0xb7fe]
mov ecx, 0xec873f1a
shl ecx, 0xc1
sal ecx, 0x71
adc cl, byte [esi + 4]
call fcn.10261640
Function at 0x10005065
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [esi + 0x3c]
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea ecx, [eax + esi + 0x78]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
mov dword [ebp - 0x18], eax
add eax, esi
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
add edx, esi
add ecx, esi
add ebx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1000510e
mov eax, dword [ebp - 4]
movsx edi, word [edx + eax*2]
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp - 8]
jae 0x10005124
mov eax, edi
cmp eax, dword [ebp - 0x14]
jae 0x10005124
mov eax, dword [ebx + eax*4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp eax, edi
jb 0x100050db
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [ebp - 0x20], eax
jb 0x10005103
mov eax, dword [ebp - 4]
mov ecx, dword [ecx + eax*4]
add ecx, esi
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100050e8
sub eax, edi
mov edi, eax
call fcn.1001201a
cmp eax, dword [ebp + 8]
je 0x10005117
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100050ae
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebx + eax*4]
add ebx, esi
mov dword [ebp - 0x10], ebx
jmp 0x1000510e
xor eax, eax
jmp 0x10005111

Function at 0x10005128
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [eax + 0xc]
push edi
mov dl, 0x19
movzx ecx, word [esi + 0x24]
test cx, cx
je 0x100051ae
and dword [ebp - 4], 0
mov eax, dword [esi + 0x28]
mov edi, ecx
test edi, edi
jle 0x100051ae
cmp word [eax], 0x5c
jne 0x100051a3
add eax, 2
mov cl, byte [eax]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10005168
sub cl, 0x20
cmp cl, 0x4b
jne 0x100051a3
mov cl, byte [eax + 2]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x1000517a
sub cl, 0x20
cmp cl, 0x45
jne 0x100051a3
mov cl, byte [eax + 4]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x1000518c
sub cl, 0x20
cmp cl, 0x52
jne 0x100051a3
mov cl, byte [eax + 6]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x1000519e
sub cl, 0x20
cmp cl, 0x4e
je 0x100051bb
add eax, 2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x10005153
mov esi, dword [esi]
test esi, esi
jne 0x1000513d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x18]
jmp 0x100051b6
Function at 0x10007522
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100075cb
cmp byte [esp + 0x20], 2
jne 0x100075cb
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 2
jne 0x100075cb
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x100075cb
push 0
push 0
mov eax, 0xddf3
mov word [esp + 0x18], ax
lea eax, [esp + 0x24]
push eax
push 4
push 0x1002b7f4
push 0x10
lea eax, [esp + 0x24]
push eax
push 0xc8000006
push esi
mov dword [esp + 0x30], 0x25a207b9
mov dword [esp + 0x36], 0xe98e4660
mov dword [esp + 0x3a], 0x748ce576
mov word [esp + 0x3e], 0x3e06
call dword [sym.imp.WS2_32.dll_]
push esi
mov ebx, eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
test ebx, ebx
sete al
jmp 0x100075cd
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d1b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x1002c220], ecx
inc edx
cmp edx, 0x100
jb 0x1000d1b3
cmp edx, 0x800
jae 0x1000d289
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x1002be20]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x1002c220]
inc edx
mov dword [edx*4 + 0x1002c21c], eax
cmp edx, 0x800
jb 0x1000d260
mov dword [0x1002e220], 0x1000db90
call fcn.1000dd50
test eax, eax
jne 0x1000d2a6
mov dword [0x1002e220], 0x1000dc40
pop ecx
ret