joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004470
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 8], edi
shl eax, cl
cmp edx, eax
jbe 0x100044a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.100045e0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x100045b0
mov ecx, edx
nop word [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
movzx eax, byte [ecx + 0xa]
imul esi, esi, 0x1000193
xor esi, eax
movzx eax, byte [ecx + 0xb]
imul esi, esi, 0x1000193
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
mov edi, dword [eax + esi*8]
lea eax, [eax + esi*8]
mov dword [ebp - 4], eax
cmp edi, ebx
jne 0x10004531
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1000459c
mov eax, dword [eax + 4]
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
jne 0x10004565
mov eax, dword [eax]
cmp eax, ecx
je 0x1000455d
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov dword [eax + 4], edi
mov dword [edx + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], esi
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x1000459c
cmp edi, eax
je 0x1000457c
nop dword [eax]
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x100045b9
cmp edi, eax
jne 0x10004570
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov dword [eax + 4], edi
mov eax, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], esi
mov dword [eax], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov ecx, edx
cmp edx, ebx
jne 0x100044e0
nop dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x10004599
Function at 0x10004cd0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c0
mov eax, dword [0x10020008]
xor eax, esp
mov dword [esp + 0x1bc], eax
cmp byte [0x10023090], 0
je 0x10004eaf
cmp byte [0x10023091], 0
jne 0x10004e77
cmp byte [0x10023482], 0
je 0x10004eaf
push 0x190
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10004d59
mov edx, eax
mov ecx, str._sv:err:network:bind__:_wsastartup_error__code:_d_
call fcn.10006d20
xor al, al
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.10016ddf
mov esp, ebp
pop ebp
ret
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x10023094], eax
cmp eax, 0xffffffff
jne 0x10004d86
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, str._sv:err:network:bind__:_socket_error__code:_d_
call fcn.10006d20
jmp 0x10004ea9
push 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x1000000
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x1c], 0x2000000
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x10004e8b
push 4
lea eax, [esp + 0xc]
push eax
push 0x1002
push 0xffff
push dword [0x10023094]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x10004e8b
push 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 2
push eax
push dword [0x10023094]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x24], xmm0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x10004e1b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, str._sv:err:network:bind__:_bind_error__code:_d_
jmp 0x10004e96
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
push dword [0x10023094]
movaps xmmword [esp + 0x1c], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10004e53
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, str._sv:err:network:bind__:_getsockname_error__code:_d_
jmp 0x10004e96
push dword [esp + 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
mov dx, ax
mov word [0x10023098], ax
mov ecx, str._sv:dbg:network:bind__:_voice_server_running_on_port__hu
call fcn.10006dd0
mov byte [0x10023091], 1
mov al, 1
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.10016ddf
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, str._sv:err:network:bind__:_setsockopt_error__code:_d_
mov edx, eax
call fcn.10006d20
push dword [0x10023094]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1bc]
xor al, al
xor ecx, esp
call fcn.10016ddf
mov esp, ebp
pop ebp
ret
Function at 0x10004ed0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10020008]
xor eax, esp
mov dword [esp + 0x30], eax
cmp byte [0x10023090], 0
push ebx
push esi
push edi
je 0x10005020
call fcn.10010330
cmp byte [0x10023091], 0
je 0x10005020
movq xmm0, qword [0x10021148]
movq qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x10027838]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x1002783c]
mov dword [esp + 0x1c], eax
js 0x10005020
jg 0x10004f40
cmp ecx, 0x2710
jb 0x10005020
xor eax, eax
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
call fcn.10016cf0
mov dword [esp + 0x28], eax
add esp, 4
mov eax, dword [0x1002484c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x30964], 0
je 0x1000500e
mov eax, dword [eax + 0x30968]
xor ebx, ebx
mov dword [esp + 0x18], eax
xor edi, edi
nop
mov al, byte [edi + 0x1002309a]
test al, al
je 0x10005004
call dword [sym.imp.MSVCP140.dll__Lock_shared_ptr_spin_lock]
mov esi, dword [edi*8 + 0x100258f4]
test esi, esi
je 0x10004fb6
lock inc dword [esi + 4]
mov esi, dword [edi*8 + 0x100258f4]
mov edi, dword [edi*8 + 0x100258f0]
call dword [sym.imp.MSVCP140.dll__Unlock_shared_ptr_spin_lock]
test edi, edi
je 0x10004fdf
push 0x10
push edi
push 0
push 0x18
lea eax, [esp + 0x34]
push eax
push dword [0x10023094]
call dword [sym.imp.WS2_32.dll_sendto]
test esi, esi
je 0x10005004
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10005004
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10005004
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
inc ebx
movzx edi, bx
cmp edi, dword [esp + 0x18]
jbe 0x10004f90
mov eax, dword [esp + 0x10]
mov dword [0x10027838], eax
mov eax, dword [esp + 0x14]
mov dword [0x1002783c], eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10016ddf
mov esp, ebp
pop ebp
ret
Function at 0x10006130
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1000618e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x10006150
mov eax, dword [edi]
jmp 0x10006279
cmp eax, 0x4e0
jb 0x10006279
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x100061b0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10006200
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg edi, eax
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10006d76
push eax
push esi
push dword [ebp + 8]
call fcn.10006d2b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10006d76
push eax
push esi
push dword [ebp + 8]
call fcn.10006d2b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10006d66
xor al, 0x9d
pop esi
cdq
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10006d66
dec esi
stosb byte es:[edi], al
push esi
mov ah, 0x8d
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x10007a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
push ss
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
test dword [ebp - 7], edx
invalid
inc dword [ecx]
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10006d76
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006d2b
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.10006d66
jl 0x10007b8e
test dword [eax - 7], ebp
invalid
xchg dword [esi - 0x6974a01], edi
invalid
Function at 0x1000e580
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
movzx eax, word [esi + 0x10]
mov al, byte [eax + ecx + 0xc]
test al, al
je 0x1000e69c
mov dword [esi + 0xc], ecx
push ecx
lea ecx, [esi + 4]
call fcn.10016cf0
mov dword [esi], eax
add esp, 4
mov eax, dword [0x1002484c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x30964], 0
je 0x1000e69c
mov eax, dword [eax + 0x30968]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 4]
mov al, byte [edi + eax + 0x3f4]
test al, al
je 0x1000e68d
mov eax, dword [0x1002484c]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4 + 0x249fc], 0
je 0x1000e68d
cmp bx, word [esi + 0x10]
je 0x1000e68d
cmp byte [0x10023091], 0
je 0x1000e68d
mov al, byte [edi + 0x1002309a]
test al, al
je 0x1000e68d
call dword [sym.imp.MSVCP140.dll__Lock_shared_ptr_spin_lock]
mov esi, dword [edi*8 + 0x100258f4]
test esi, esi
je 0x1000e637
lock inc dword [esi + 4]
mov esi, dword [edi*8 + 0x100258f4]
mov edi, dword [edi*8 + 0x100258f0]
call dword [sym.imp.MSVCP140.dll__Unlock_shared_ptr_spin_lock]
test edi, edi
je 0x1000e665
mov ecx, dword [ebp + 8]
push 0x10
push edi
push 0
movzx eax, word [ecx + 0x12]
add eax, 0x18
push eax
push ecx
push dword [0x10023094]
call dword [sym.imp.WS2_32.dll_sendto]
test esi, esi
je 0x1000e68a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000e68a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000e68a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
inc ebx
movzx edi, bx
cmp edi, dword [ebp - 8]
jbe 0x1000e5d2
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000fc50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x1000fcb6
mov eax, dword [esi + 4]
lea ecx, [ebp - 8]
mov edx, dword [esi]
push ecx
push 0x40
push eax
push edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [esi + 4]
test eax, eax
push dword [esi + 0xc]
setne byte [ebp - 0xc]
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [ebp - 0xc], 0
je 0x1000fcb2
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [esi + 8], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000fcc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x1000fd26
mov eax, dword [esi + 4]
lea ecx, [ebp - 8]
mov edx, dword [esi]
push ecx
push 0x40
push eax
push edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [esi + 4]
test eax, eax
push dword [esi + 0x18]
setne byte [ebp - 0xc]
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [ebp - 0xc], 0
je 0x1000fd22
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10016cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov edi, 0x14
or eax, 0xffffffff
movzx edx, byte [esi]
lea esi, [esi + 1]
xor eax, edx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub edi, 1
jne 0x10016d00
pop edi
not eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402cdc
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xb0
mov eax, 0x44f987
call fcn.0042c0a7
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x88]
push ebx
push ebx
push 0x211
push str.NGIOStack::CIOSecureT_class_NGIOStack::CIONetwork_::Open
push 0x481de0
push dword [0x481dfc]
call fcn.0040a488
mov dword [ebp - 4], ebx
lea eax, [edi + 0x5c]
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 3
push dword [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.00410c0b
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x20]
test al, al
jne 0x402eb8
mov esi, dword [edi + 0x1c]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x9c]
mov ecx, dword [edi + 0x9c]
mov dword [edi + 0x1c], esi
test ecx, ecx
je 0x402d82
mov eax, dword [ecx]
call dword [eax + 0x8c]
test al, al
je 0x402d82
mov eax, dword [edi]
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, edi
call dword [eax + 0xa0]
mov ebx, eax
jmp 0x402da6
mov ecx, dword [edi + 0x9c]
test ecx, ecx
je 0x402dae
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x402d9b
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x98]
test ebx, ebx
jne 0x402eac
cmp dword [edi + 0xbc], 0
jne 0x402dc1
mov ebx, 0x83e8f4ff
jmp 0x402eac
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00410dec
pop ecx
pop ecx
test al, al
je 0x402ea7
xor eax, eax
push eax
push eax
push eax
push 1
push 0x462e34
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x100], eax
test eax, eax
jne 0x402e1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetOpen_failed__last_error___d
push 0x248
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.0040a801
add esp, 0x14
jmp 0x402db7
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00410dec
pop ecx
pop ecx
test al, al
je 0x402ea7
lea eax, [edi + 0xc4]
cmp dword [eax + 0x14], 8
jb 0x402e3e
mov eax, dword [eax]
push eax
call fcn.0043166b
pop ecx
movzx ecx, ax
lea eax, [edi + 0xac]
mov byte [edi + 0x104], 1
cmp dword [eax + 0x14], 8
jb 0x402e5d
mov eax, dword [eax]
xor edx, edx
push edx
push edx
push 3
push edx
push edx
push ecx
push eax
push dword [edi + 0x100]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0xfc], eax
test eax, eax
jne 0x402e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetConnect_failed__last_error___d
push 0x261
jmp 0x402e06
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00410dec
pop ecx
pop ecx
test al, al
jne 0x402eb8
mov ebx, 0x83e8f4fd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
jmp 0x402ebb
inc dword [edi + 0x1c]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00410e3c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040a576
mov eax, ebx
call fcn.0042c051
ret 4
Function at 0x409271
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x45073a
call fcn.0042c0a7
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ebx, dword [ebp + 8]
or edi, 0xffffffff
cmp ebx, edi
jne 0x409293
xor eax, eax
jmp 0x4093f5
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4092ba
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4092ba
dec dword [edx]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov byte [edx], bl
jmp 0x4093f3
cmp dword [esi + 0x4c], 0
jne 0x4092c7
mov eax, edi
jmp 0x4093f5
mov ecx, esi
call fcn.0040990c
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4092e7
push dword [esi + 0x4c]
push ebx
call fcn.00408dba
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x4092c0
push eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push 8
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00408d20
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x4093e0
cmp eax, 1
jg 0x4093bf
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x409395
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00433ea2
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x4093e0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x4093e3
test edx, edx
jne 0x409315
cmp dword [ebp - 0x18], 0x20
jae 0x4093e0
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00404bda
jmp 0x409312
cmp eax, 3
jne 0x4093e0
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.00408dba
pop ecx
pop ecx
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
mov ebx, ecx
jmp 0x4093e3
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004065e1
mov eax, ebx
call fcn.0042c051
ret 4