joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x3e8f03e9
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data_1
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x37b236a7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401b6b
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
push 0x20
lea ecx, [ebx + 0x44]
call fcn.00406872
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x64]
push 0xc
mov edx, edi
call fcn.00406872
mov ecx, 0x4011e0
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x78], eax
mov ecx, 0x4011e4
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x7c], eax
mov ecx, 0x4011e8
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x80], eax
mov ecx, 0x4011ec
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x84], eax
mov ecx, esi
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x88], eax
lea ecx, [esi + 4]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x8c], eax
lea ecx, [esi + 8]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x90], eax
lea ecx, [esi + 0xc]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x94], eax
lea ecx, [esi + 0x10]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x98], eax
lea ecx, [esi + 0x14]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0x9c], eax
lea ecx, [esi + 0x18]
call fcn.00401b4c
mov ecx, ebx
mov dword [ecx + 0xa0], eax
lea ecx, [esi + 0x1c]
call fcn.00401b4c
mov esi, ebx
mov ecx, edi
and dword [esi + 0xa8], 0
mov dword [esi + 0xa4], eax
call fcn.00401b4c
lea ecx, [edi + 4]
mov dword [esi + 0xac], eax
call fcn.00401b4c
lea ecx, [edi + 8]
mov dword [esi + 0xb0], eax
call fcn.00401b4c
push 0xc
mov edx, edi
mov dword [esi + 0xb4], eax
lea ecx, [ebx + 0x64]
call fcn.00406872
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401fab
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x28], 0x35
xor edx, edx
mov byte [ebp - 0x24], 5
mov byte [ebp - 0x23], 0x35
mov byte [ebp - 0x22], 4
mov byte [ebp - 0x21], 0x35
mov byte [ebp - 0x20], 7
mov byte [ebp - 0x1f], 0x35
mov byte [ebp - 0x1e], 6
mov byte [ebp - 0x1d], 0x35
mov byte [ebp - 0x1c], 1
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], dl
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 3
mov byte [ebp - 0x17], 0x35
mov byte [ebp - 0x16], 2
mov byte [ebp - 0x15], 0x35
mov byte [ebp - 0x14], 0xd
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0xc
mov byte [ebp - 0x11], 0x35
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x77
mov byte [ebp - 0xd], 0x35
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x35
mov byte [ebp - 0xa], 0x71
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x35
mov esi, edx
mov byte [ebp - 4], 0x35
mov al, byte [ebp - 0x24]
mov byte [ebp - 3], dl
mov al, byte [ebp + esi - 0x24]
mov ecx, dword [ebp - 0x28]
xor cl, al
mov byte [ebp + esi - 0x24], cl
inc esi
cmp esi, 0x21
jb 0x40204a
mov esi, dword [ebp + 8]
mov edi, edx
mov byte [ebp - 3], dl
movzx ecx, byte [edi + ebx]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc edi
mov ax, word [ebp + eax*2 - 0x24]
mov word [esi + edx*2], ax
lea edx, [edx + 2]
mov ax, word [ebp + ecx*2 - 0x24]
mov word [esi + edx*2 - 2], ax
cmp edi, 9
jl 0x402065
xor eax, eax
pop edi
mov word [esi + edx*2], ax
pop esi
pop ebx
leave
ret
Function at 0x4048ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp + 0xc], 0xa
mov edi, ecx
neg ebx
sub edi, esi
mov eax, dword [edi + esi]
mov ecx, dword [esi]
xor ecx, eax
and ecx, ebx
xor eax, ecx
cdq
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
mov eax, dword [esi]
xor eax, ecx
sub dword [ebp + 0xc], 1
cdq
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
jne 0x4048d2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404ea3
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 0x24]
push 8
mov esi, edx
mov edx, dword [ebp + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebp - 5]
lea ecx, [ebp - 0xcc]
and byte [ebp - 0x24], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
call fcn.004040c0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x16c]
call fcn.004048fd
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x11c]
call fcn.00404b55
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x7c]
call fcn.00403cd5
add esp, 0xc
lea edx, [ebp - 0x7c]
mov ecx, ebx
call fcn.004043e6
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or esi, 0xffffffff
mov eax, edi
mov ebx, ecx
cdq
and edx, 3
add edx, eax
sar edx, 2
test edx, edx
jle 0x404f93
movzx eax, byte [ebx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x401218]
movzx eax, byte [ebx + 1]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x401218]
movzx eax, byte [ebx + 2]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x401218]
movzx eax, byte [ebx + 3]
add ebx, 4
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x401218]
sub edx, 1
jne 0x404f40
and edi, reloc.WS2_32.dll_closesocket
jns 0x404fa0
dec edi
or edi, 0xfffffffc
inc edi
xor ecx, ecx
test edi, edi
jle 0x404fbe
movzx eax, byte [ecx + ebx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x401218]
inc ecx
cmp ecx, edi
jl 0x404fa6
not esi
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x406790
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 7
jb 0x406796
pop edi
mov byte [esi + 0xb], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4067b4
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 5
jb 0x4067ba
pop edi
mov byte [esi + 9], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4067d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0xb
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x4067e1
pop edi
pop esi
mov byte [ecx + 0xf], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x4068ae
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x406917
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x14], 0x25a207b9
push eax
push 4
push 0x4192d4
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4660ddf3
push eax
push 0xc8000006
push esi
mov dword [ebp - 0xc], 0xe576e98e
mov dword [ebp - 8], 0x3e06748c
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x406917
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x406917
inc eax
jmp 0x406919
xor eax, eax
pop esi
leave
ret
Function at 0x406b20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x24], 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 1
xor esi, esi
movlpd qword [ebp - 0x18], xmm0
and dword [ebp - 4], esi
and dword [ebp - 0x28], esi
push ebx
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x1c], 6
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.004067f9
mov edi, eax
test edi, edi
je 0x406bcf
push esi
push esi
push dword [ebp - 8]
push edi
push 0xffffffffffffffff
push ebx
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x406bcf
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x406bcf
push 0x2e
pop ecx
mov dword [ebp - 8], 0x17
call fcn.004067f9
mov esi, eax
test esi, esi
je 0x406bcf
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [ecx + 0x10]
push dword [ecx + 0x18]
call dword [sym.imp.WS2_32.dll_WSAAddressToStringW]
test eax, eax
je 0x406bcf
mov ecx, esi
call fcn.0040689e
mov esi, ebx
cmp dword [ebp - 4], 0
je 0x406bde
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x406be9
mov ecx, edi
call fcn.0040689e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x406d11
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [0x4192dc]
test edi, edi
jne 0x406d29
xor eax, eax
jmp 0x406e1b
mov eax, dword [edi]
push ebx
push esi
mov dword [ebp - 4], eax
xor bl, bl
push 0x28
push 0x40
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406df3
mov eax, dword [ebp - 4]
push 2
mov dword [esi + 0x18], eax
pop eax
push 1
push 0
push 0
push 6
push 1
push eax
mov byte [esi + 0x1c], al
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x406d77
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x406de8
push 0x10
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x406d7d
push 2
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
and dword [ebp - 0x10], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x406db4
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x406d6e
push 0
push 2
pop eax
push eax
push dword [0x4192d8]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x406da9
lea ecx, [esi + 0x20]
and dword [ecx], 0
mov eax, dword [0x41929c]
mov dword [esi + 0x24], eax
mov eax, dword [0x41929c]
mov dword [eax], esi
mov dword [0x41929c], ecx
inc bl
cmp bl, 0xff
jb 0x406d32
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
test ecx, ecx
je 0x406e02
mov dword [ecx + 8], eax
jmp 0x406e07
mov dword [0x4192e0], eax
mov esi, dword [edi + 8]
mov ecx, edi
mov edx, dword [edi + 4]
mov dword [esi], edx
call fcn.0040689e
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
leave
ret
Function at 0x407112
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x41950c], 0
push ebx
push esi
push edi
jne 0x407253
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x4000
push 0x13
push 0
push 2
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x407253
mov ecx, dword [ebp - 8]
call fcn.004067f9
mov edi, eax
test edi, edi
je 0x40724a
jmp 0x407229
and dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
jbe 0x407229
lea esi, [edi + 0x14]
test byte [esi - 8], 2
je 0x4071d2
push 0x4192f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4071a0
mov eax, dword [esi]
push 0x4192f8
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x407216
mov ecx, dword [esi]
add ecx, 4
call fcn.00406b20
mov ebx, eax
test ebx, ebx
je 0x4071c0
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, ebx
call fcn.0040689e
mov ecx, dword [esi]
call fcn.0040733a
lea eax, [esi - 0x14]
push eax
call fcn.00407112
jmp 0x407216
mov edx, dword [esi]
mov ecx, dword [0x419514]
push 1
push 0
push 4
call fcn.00407ce9
add esp, 0xc
test eax, eax
je 0x407216
mov edx, dword [esi]
mov byte [ebp + 8], 0x36
mov byte [ebp + 9], 6
mov byte [ebp + 0xa], 6
mov byte [ebp + 0xb], 0
mov al, byte [ebp + 8]
xor eax, eax
sub byte [ebp + eax + 8], 6
inc eax
cmp eax, 3
jb 0x407203
lea ecx, [ebp + 8]
call fcn.00413177
mov eax, dword [ebp - 0x10]
add esi, 0x20
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 4]
jb 0x407176
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x407165
mov ecx, edi
call fcn.0040689e
push dword [ebp - 0xc]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x4075b1
Capabilities:
Create thread

Disassembly:
cmp dword [0x4192f4], 0
jne 0x4075e0
xor ecx, ecx
xor edx, edx
inc ecx
call fcn.004130af
xor eax, eax
push eax
push eax
push eax
push fcn.00407112
push eax
push eax
mov dword [0x41950c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4192f4], eax
ret

Function at 0x4075e1
Capabilities:
Create thread

Disassembly:
cmp dword [0x4192f0], 0
jne 0x407608
test ecx, ecx
je 0x407601
xor eax, eax
push eax
push eax
push eax
push fcn.0040725c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
push 0
call fcn.0040725c
ret

Function at 0x407609
Capabilities:
Create thread
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
cmp dword [0x419510], 0
jne 0x407773
cmp dword [0x4192a0], 0
jne 0x407773
cmp dword [0x4192d8], 0
jne 0x407773
push ebx
xor ebx, ebx
push esi
mov dword [0x419508], ebx
call fcn.004068ae
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40772c
push 0x100
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x40767f
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [0x4192ec], eax
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x4192d8], eax
test eax, eax
je 0x407747
push 0x4192a4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 0x4192dc
mov dword [0x4192dc], ebx
mov dword [0x4192e0], ecx
mov dword [0x4192e4], ebx
mov dword [0x4192e8], 0x4192e4
mov dword [0x419298], ebx
mov dword [0x41929c], 0x419298
call fcn.0040691c
test eax, eax
je 0x40772c
push ebx
push ebx
push ebx
push 0x406bf0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4192a0], eax
cmp eax, 0xffffffff
je 0x40772c
push ebx
push ebx
push ebx
push 0x406eba
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x419510], eax
cmp eax, 0xffffffff
je 0x40772c
push ebx
push 1
push ebx
push dword [0x4192d8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 2
xor edx, edx
pop ecx
call fcn.004130af
jmp 0x407771
cmp dword [0x4192d8], ebx
je 0x407747
push 0x4192a4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0x4192d8]
call esi
mov eax, dword [0x4192a0]
test eax, eax
je 0x407753
push eax
call esi
mov eax, dword [0x419510]
test eax, eax
je 0x40775f
push eax
call esi
mov dword [0x419510], ebx
mov dword [0x4192a0], ebx
mov dword [0x4192d8], ebx
pop esi
pop ebx
leave
ret

Function at 0x40779d
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x4192d8]
test eax, eax
je 0x4077b3
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
xor ecx, ecx
jmp fcn.00407775
Function at 0x407a9c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], 0x3d
xor edx, edx
mov byte [ebp - 0x34], 0x6e
mov byte [ebp - 0x33], 0x3d
mov byte [ebp - 0x32], 0x58
mov byte [ebp - 0x31], 0x3d
mov byte [ebp - 0x30], 0x69
mov byte [ebp - 0x2f], 0x3d
mov byte [ebp - 0x2e], 0x5c
mov byte [ebp - 0x2d], 0x3d
mov byte [ebp - 0x2c], 0x56
mov byte [ebp - 0x2b], 0x3d
mov byte [ebp - 0x2a], 0x58
mov byte [ebp - 0x29], 0x3d
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x3d
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x3d
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x3d
mov byte [ebp - 0x22], 0x58
mov byte [ebp - 0x21], 0x3d
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0x3d
mov byte [ebp - 0x1e], 0x4e
mov byte [ebp - 0x1d], 0x3d
mov byte [ebp - 0x1c], 0x55
mov byte [ebp - 0x1b], 0x3d
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x3d
mov byte [ebp - 0x18], 0x4d
mov byte [ebp - 0x17], 0x3d
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x3d
mov byte [ebp - 0x14], 0x4f
mov byte [ebp - 0x13], 0x3d
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x3d
mov byte [ebp - 0x10], 0x4b
mov byte [ebp - 0xf], 0x3d
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 0xd], 0x3d
mov byte [ebp - 0xc], 0x51
mov byte [ebp - 0xb], 0x3d
mov byte [ebp - 0xa], 0x58
mov byte [ebp - 9], 0x3d
mov byte [ebp - 8], 0x5a
mov byte [ebp - 7], 0x3d
mov byte [ebp - 6], 0x58
mov byte [ebp - 5], 0x3d
mov byte [ebp - 4], 0x3d
mov al, byte [ebp - 0x34]
mov byte [ebp - 3], 0
mov al, byte [ebp + edx - 0x34]
mov ecx, dword [ebp - 0x38]
xor cl, al
mov byte [ebp + edx - 0x34], cl
inc edx
cmp edx, 0x31
jb 0x407b76
xor edx, edx
mov byte [ebp - 3], 0
lea ecx, [ebp - 0x34]
call fcn.004077c6
mov ecx, dword [0x419530]
test ecx, ecx
je 0x407bb8
call fcn.0040689e
and dword [0x419530], 0
push 0x419518
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
leave
ret
Function at 0x4089ae
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1394
call fcn.004138e0
push ebx
push esi
push edi
mov esi, ecx
push eax
push edx
xor eax, eax
xor edx, edx
rdtsc
mov dword [0x419554], eax
pop edx
pop eax
or dword [ebp - 0xc], 0xffffffff
xor edx, edx
mov ecx, dword [0x419554]
inc edx
mov dword [ebp - 0x138c], ecx
mov edi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [ebp + edx*4 - 0x138c], ecx
inc edx
cmp edx, edi
jb 0x4089e7
mov dword [ebp - 0x1390], edi
cmp esi, 0xffffffff
jne 0x408a1c
lea ecx, [ebp - 0x1390]
call fcn.00408aa4
mov edx, eax
jmp 0x408a55
lea ebx, [esi + 1]
xor edi, edi
xor eax, eax
test esi, esi
je 0x408a37
lea ecx, [ebp - 0x1390]
call fcn.00408aa4
mov edi, eax
or eax, 0xffffffff
xor edx, edx
div ebx
mov ecx, eax
mov dword [ebp - 4], edx
xor edx, edx
mov eax, edi
div ebx
cmp eax, ecx
jb 0x408a4f
cmp dword [ebp - 4], esi
jne 0x408a1f
mov eax, edi
xor edx, edx
div ebx
pop edi
pop esi
mov eax, edx
pop ebx
leave
ret

Function at 0x408a5c
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
mov eax, dword [0x419558]
push esi
push edi
mov edi, edx
test eax, eax
je 0x408a78
push edi
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x408a8d
xor esi, esi
mov ecx, 0xff
call fcn.004089ae
mov byte [esi + edi], al
inc esi
cmp esi, 0x20
jl 0x408a7a
pop edi
pop esi
pop ecx
ret

Function at 0x408aa4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x408aec
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [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 edi, 1
jne 0x408ab4
jmp 0x408af9
cmp dword [esi], 0x4e0
jb 0x408af9
call fcn.00408b33
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 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
xor eax, edx
pop esi
ret
Function at 0x408b33
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
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 [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x408b45
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
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 [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x408b8a
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret