joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056c0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x467710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x416015
lea edi, [esi - 0x15015]
push edi
jmp 0x46772a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467720
mov eax, 1
add ebx, ebx
jne 0x467743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467754
jne 0x467773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467773
dec eax
add ebx, ebx
jne 0x467760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467738
add ebx, ebx
jne 0x46776f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4677c5
xor ecx, ecx
sub eax, 3
jb 0x46778b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4677fa
sar eax, 1
mov ebp, eax
jmp 0x467796
add ebx, ebx
jne 0x467796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467764
inc ecx
add ebx, ebx
jne 0x4677a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467764
add ebx, ebx
jne 0x4677b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4677a6
jne 0x4677c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4677a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4677e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4677d6
jmp 0x467726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4677e4
add edi, ecx
jmp 0x467726
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467802
cmp byte [edi], 0
jne 0x467802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467807
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x467862
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x40944e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40945d
pop dword [ebp - 0x20]
mov eax, 0x40945d
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3ad3e
push 0
mov eax, 0xa839d24d
add eax, 0x58087fcb
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xf6ff6512
add ecx, 0x900d6c6
mov edi, eax
mov edx, 0x95cbe59f
sub edx, 0x9588919f
add edx, dword [ebp - 0x20]
mov esi, 0x2172a537
add esi, 0x53497007
add dword [ebp - 0xc], 0x7a57903f
mov ebx, dword [edx]
mov dword [ebp - 0x18], 0x3abb5b9
xor ebx, esi
xor dword [ebp - 0xc], edx
mov dword [edi], ebx
add edi, 0x3673af3a
sub edi, 0x3673af36
add edx, 0xd807464c
sub edx, 0xd8074648
loop 0x4094b7
add eax, 0xe233
mov ebx, eax
add eax, 0x8af53c19
add eax, 0x750ac3ec
mov ecx, 0x5922648f
sub ecx, 0x58e2648f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x40893a
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
or ecx, eax
push 0x49dda491
mov eax, dword [esp]
add esp, 4
call fcn.0040896d
xor dword [edi], esi
dec ecx
add eax, ecx
add edi, 1
inc eax
cmp edi, edx
jne fcn.0040893a
or ecx, ecx
dec eax
ret
Function at 0x410000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x420059]
shl eax, 2
mov dword [0x42005d], eax
push edi
push ecx
xor eax, eax
mov edi, 0x421284
mov ecx, 0x421854
cmp ecx, edi
jbe 0x410024
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
mov edx, dword fs:[4]
mov eax, dword [edx - 8]
mov dword [0x420061], eax
mov eax, dword [edx - 4]
mov dword [0x420065], eax
sub edx, 4
mov dword [0x421418], edx
sub edx, 4
cmp edx, esp
jae 0x41004e
mov esp, edx
push 0
call fcn.004125e3
pop ecx
push 0x42002c
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x42006a], eax
push 0
jmp fcn.00414fa4

Function at 0x4102c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0x44
push 0
push 0x421284
call fcn.004107d4
add esp, 0xc
mov dword [0x421284], 0x44
push 0x4212c8
push 0x421284
push dword [0x420084]
push 0
push 0
push 0
push 0
push 0
push 0x420078
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x41033f
push 0x30
push 0x42011f
push 0x4200f8
push dword [0x4212d8]
call sub.USER32.DLL_MessageBoxA
xor eax, eax
mov dword [0x420088], eax
xor eax, eax
mov dword [0x42008c], eax
mov dword [0x420070], 1
pop ebp
ret
xor eax, eax
mov dword [0x420088], eax
xor eax, eax
mov dword [0x42008c], eax
push 0x3a98
push dword [0x4212c8]
call sub.USER32.DLL_WaitForInputIdle
pop ebp
ret
Function at 0x41035f
Capabilities:
Create process on windows
Get common file path
Query environment variable
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
push ebx
push esi
push edi
push 0xc8
call fcn.004148dc
pop ecx
mov esi, eax
mov edi, 0x420127
mov dword [ebp - 4], 0x420133
mov byte [ebp - 0xcc], 0
push 0xc8
push esi
push 0x420147
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov ebx, eax
test ebx, ebx
jne 0x4103b3
push 0xc8
push esi
push 0x42014b
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov ebx, eax
test ebx, ebx
jne 0x4103c5
push 0x420150
push esi
call fcn.0041086c
add esp, 8
test ebx, ebx
je 0x4105af
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.0041086c
add esp, 8
push 0x420154
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
push edi
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
lea eax, [ebp - 0xcc]
push eax
push edi
call fcn.004106b6
add esp, 8
mov byte [ebp - 0xcc], 0
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.0041086c
add esp, 8
push 0x420156
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
push dword [ebp - 4]
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 4]
call fcn.004106b6
add esp, 8
mov byte [ebp - 0x194], 0
push esi
lea eax, [ebp - 0x194]
push eax
call fcn.0041086c
add esp, 8
push 0x420158
lea eax, [ebp - 0x194]
push eax
call fcn.00410804
add esp, 8
push edi
lea eax, [ebp - 0x194]
push eax
call fcn.00410804
add esp, 8
push 0x44
push 0
lea eax, [ebp - 0x3d8]
push eax
call fcn.004107d4
add esp, 0xc
mov dword [ebp - 0x3d8], 0x44
push 0x421340
push 0xc8
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x3d8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x194]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov ebx, eax
push 0x421340
call sub.KERNEL32.DLL_SetCurrentDirectoryA
test ebx, ebx
jne 0x41051b
push 0x30
push 0x420181
push 0x42015a
push dword [0x4212d8]
call sub.USER32.DLL_MessageBoxA
jmp 0x4105af
push 0x3a98
push dword [ebp - 0x3e8]
call sub.USER32.DLL_WaitForInputIdle
push 0xffffffffffffffff
push dword [ebp - 0x3e8]
call sub.KERNEL32.DLL_WaitForSingleObject
call fcn.004105b6
push 0x44
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004107d4
add esp, 0xc
mov dword [ebp - 0x42c], 0x44
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x420189
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov ebx, eax
test ebx, ebx
jne 0x41058d
call fcn.004102c6
jmp 0x4105af
push 0x3a98
push dword [ebp - 0x43c]
call sub.USER32.DLL_WaitForInputIdle
push 0xffffffffffffffff
push dword [ebp - 0x43c]
call sub.KERNEL32.DLL_WaitForSingleObject
call fcn.004102c6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4105b6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc6c
push ebx
push esi
push edi
push 0xc8
call fcn.004148dc
pop ecx
mov esi, eax
mov edi, 0x420196
mov dword [ebp - 4], 0x4201a2
mov byte [ebp - 0xcc], 0
push 0xc8
push esi
push 0x4201b6
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov ebx, eax
test ebx, ebx
jne 0x41060a
push 0xc8
push esi
push 0x4201ba
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov ebx, eax
test ebx, ebx
jne 0x41061c
push 0x4201bf
push esi
call fcn.0041086c
add esp, 8
test ebx, ebx
je 0x4106af
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.0041086c
add esp, 8
push 0x4201c3
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
push edi
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
lea eax, [ebp - 0xcc]
push eax
call fcn.0041286c
pop ecx
mov byte [ebp - 0xcc], 0
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.0041086c
add esp, 8
push 0x4201c5
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
push dword [ebp - 4]
lea eax, [ebp - 0xcc]
push eax
call fcn.00410804
add esp, 8
lea eax, [ebp - 0xcc]
push eax
call fcn.0041286c
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x413d20
call fcn.00413c28
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x413d3b
test bl, 1
je 0x413d3b
mov dword [0x420f6c], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x413e28
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x413e46
mov eax, dword [0x420920]
mov eax, dword [eax]
and eax, 0xc000
or dword [ebp + 0xc], eax
test byte [ebp + 0xd], 0x80
jne 0x413e53
or dword [ebp + 0xc], 0x4000
mov eax, dword [ebp + 0xc]
and eax, 0x700
cmp eax, 0x500
jg 0x413e7b
je 0x413e8b
sub eax, 0x100
je 0x413e99
sub eax, 0x100
je 0x413ea0
sub eax, 0x100
je 0x413e92
jmp 0x413ea7
sub eax, 0x600
je 0x413ea0
sub eax, 0x100
je 0x413e8b
jmp 0x413ea7
mov edi, 1
jmp 0x413eac
mov edi, 2
jmp 0x413eac
mov edi, 4
jmp 0x413eac
mov edi, 5
jmp 0x413eac
mov edi, 3
test byte [ebp + 0xd], 1
je 0x413ed3
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x420db0]
test al, 0x80
je 0x413ecc
mov ebx, 0x80
jmp 0x413ee5
mov ebx, 1
jmp 0x413ee5
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x413ee5
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x413ef7
je 0x413f00
dec eax
je 0x413f09
jmp 0x413f12
mov dword [ebp - 4], 0x80000000
jmp 0x413f21
mov dword [ebp - 4], 0x40000000
jmp 0x413f21
mov dword [ebp - 4], 0xc0000000
jmp 0x413f21
push 1
call fcn.00413bc4
pop ecx
mov ebx, eax
jmp 0x41400f
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x413f3d
sub eax, 0x10
je 0x413f44
sub eax, 0x10
je 0x413f4d
sub eax, 0x10
je 0x413f56
jmp 0x413f56
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x413f5d
mov dword [ebp - 8], 1
jmp 0x413f5d
mov dword [ebp - 8], 2
jmp 0x413f5d
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb eax, eax
neg eax
mov dword [ebp - 0xc], eax
push 0
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x413fc6
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x413fbb
mov ebx, 0x50
test byte [ebp + 0xd], 1
jne 0x413fbb
add ebx, 0xffffffb2
push ebx
call fcn.00413bc4
pop ecx
mov ebx, eax
jmp 0x41400f
mov edi, esi
push edi
call fcn.00413d80
pop ecx
test eax, eax
je 0x413fda
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x413fe6
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00413928
add esp, 8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41400f
push 4
call fcn.00413bc4
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [0x420069], 0
je 0x414ad3
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea eax, [ebp - 0x54]
push eax
call fcn.004108fc
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x414abe
push 0x3a
lea eax, [ebp - 0x54]
push eax
call fcn.004108fc
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x414abe
lea ebx, [ebp - 0x54]
jmp 0x414abf
inc ebx
call fcn.00414a28
or eax, 0x10
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x414b17
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x420f70
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.0041089c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x420f73
push ebx
call sub.KERNEL32.DLL_WriteFile
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4121a0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41224f
push esi
call fcn.004259f0
add esp, 4
test al, al
jne 0x41224f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4121c7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0042f1a0
add esp, 0xc
test eax, eax
je 0x4121fb
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0042f1a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4121fd
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x41222e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.004228f0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x412210
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x41f620
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4c0bc4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x41f63a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x4c0be0
push esi
call fcn.00480aa0
add esp, 8
test eax, eax
je 0x41f682
test ebp, ebp
je 0x41f673
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x41f6a8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f6a8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x41f75f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f6c5
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41f755
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41f755
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f6f7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f710
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x41f720
test ebp, ebp
je 0x41f74c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4e8004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x4e8004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x425ba0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x425bde
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x108], 0
jne 0x425bcf
push 0
call fcn.00425ba0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x108], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x108], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x425bf3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x42f8f0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00412510
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.004994e0
push dword [esp + 0x40]
mov edi, eax
call fcn.004994e0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x42f985
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00412510
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004125c0
add esp, 0x20
test edx, edx
ja 0x42f9a9
jb 0x42f977
cmp eax, 0x3e8
ja 0x42f9a9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x42f940
test edi, edi
je 0x42f992
push edi
call fcn.0047cdc0
add esp, 4
test esi, esi
je 0x42f99f
push esi
call fcn.0047cdc0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x42f9b6
push edi
call fcn.0047cdc0
add esp, 4
test esi, esi
je 0x42f9c3
push esi
call fcn.0047cdc0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x42fde0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x42ff6f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x42ff5a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42fe3c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fe30
sub eax, edx
inc eax
jmp 0x42fe3e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x42fe4f
lea ebp, [ecx + 0xe]
jmp 0x42fe5b
cmp ecx, 0x17
jne 0x42fefc
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x42fefc
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42fefc
cmp ecx, ebp
jb 0x42fefc
add eax, 0x20
add eax, ebp
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42ff4b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.00464860
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x42fee8
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.00464860
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x42fef8
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x42fe22
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x42ff1c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x42ff56
test edi, edi
je 0x42ff3b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x4e8004]
add esp, 4
mov edi, esi
test esi, esi
jne 0x42ff24
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x42ff0b
test edi, edi
jne 0x42ff66
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x430370
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.0046ab90
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x430396
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x4303e0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x430490
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.00417c10
add esp, 0xc
cmp eax, 4
je 0x430423
mov ecx, eax
jmp 0x43044d
cmp byte [0x4e9440], 0
jne 0x430457
push 2
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x430492
mov eax, dword [esp + 0x1c]
jmp 0x430474
imul eax, dword [0x4e943c], 0x41c64e6d
add eax, 0x3039
mov dword [0x4e943c], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x430488
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x430478
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x430400
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4304a0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x43051b
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop word [eax + eax]
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00417c10
add esp, 0xc
cmp eax, 4
jne 0x4304fc
cmp byte [0x4e9440], 0
jne 0x430525
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x430520
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x4304c0
xor edx, edx
div ebp
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x4304c0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
imul eax, dword [0x4e943c], 0x41c64e6d
add eax, 0x3039
mov dword [0x4e943c], eax
ror eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x430504

Function at 0x430550
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.00464490
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret