joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x552ffb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00531f50
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x14], ebp
test eax, 0xfffffffc
jle 0x532e11
push 0x10
call fcn.00506654
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
xor eax, eax
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x532d95
push ebp
mov ecx, ebx
call fcn.005319f0
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.00530db0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], eax
test edx, edx
jne 0x532dac
xor ecx, ecx
jmp 0x532db4
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebp, edi
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x532dcc
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x532dea
cmp edx, edi
jbe 0x532dd5
call fcn.005091b7
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00531a80
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
test eax, 0xfffffffc
je 0x532e29
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x14]
inc ebp
sar ecx, 2
cmp ebp, ecx
mov dword [esp + 0x14], ebp
jl 0x532d69
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
push 0
push 0xdf
call fcn.0052d5c0
int3

Function at 0x533250
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x533261
xor al, al
pop esi
ret 4
push 0x56e10c
push 0
push 0
push 4
push 0
call fcn.0053a260
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
test eax, eax
je 0x53325b
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne cl
mov al, cl
pop esi
ret 4
Function at 0x5348e0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x553aa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x20]
lea ebx, [eax + 0x16]
push 0
push ebx
lea ecx, [esp + 0x1c]
call fcn.00533080
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
mov edi, dword [esp + 0x18]
movzx ebp, word [eax + 0x24]
shr ecx, 4
mov dword [esp + 0x28], 0
test cl, 1
je 0x53496f
mov ecx, eax
mov edx, dword [ecx + 0x3c]
and edx, 0x70
cmp dl, 0x70
jne 0x53495b
push 1
call fcn.00538e40
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov word [eax + 4], cx
jmp 0x53496f
push ebx
call fcn.00538e40
mov edx, dword [esi + 0x14]
movzx eax, word [edx + 0x24]
mov ecx, dword [esi + 0x24]
mov word [ecx + 4], ax
mov eax, dword [esi + 0x24]
cmp word [eax + 4], bp
je 0x53498c
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
and ecx, 0x70
cmp cl, 0x70
je 0x53498c
xor edx, edx
mov word [eax + 8], dx
mov eax, dword [esi + 0x24]
mov ecx, dword [0x598c70]
mov eax, dword [eax + 0x20]
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
movzx ecx, word [edx + 4]
mov word [edi + 4], cx
mov ecx, dword [esi + 0x24]
movzx ecx, word [ecx + 6]
mov word [edi + 6], cx
mov edx, dword [esi + 0x24]
movzx ecx, word [edx + 8]
mov word [edi + 8], cx
mov ecx, dword [esi + 0x24]
movzx ecx, word [ecx + 0xa]
mov word [edi + 0xa], cx
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + 0xc]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [edi + 0x10], ecx
mov word [edi + 0x14], ax
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + 0x1c]
movzx eax, ax
push eax
push ecx
add edi, 0x16
push edi
call fcn.00509260
add esp, 0xc
cmp ebx, 0xffffffff
jbe 0x534a04
push 0
push 0xd7
call fcn.0052d5c0
mov ecx, dword [esp + 0x18]
push 1
push ebx
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00538e90
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005330b0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x535cb0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0053ac80
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x535cd2
mov eax, dword [eax + 4]
jmp 0x535cd5
add eax, 4
mov edx, dword [esp + 0x24]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
cmp dword [esp + 0x1c], 8
jb 0x535cfb
mov eax, dword [esp + 8]
push eax
call fcn.00505cfe
add esp, 4
mov al, bl
pop ebx
add esp, 0x1c
ret

Function at 0x535d10
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0053ac80
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x535d32
mov eax, dword [eax + 4]
jmp 0x535d35
add eax, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x535d53
mov edx, dword [esp + 8]
push edx
call fcn.00505cfe
add esp, 4
cmp esi, 0xffffffff
jne 0x535d5f
xor al, al
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov al, 1
pop esi
add esp, 0x1c
ret

Function at 0x535f70
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0053ac80
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x535f92
mov eax, dword [eax + 4]
jmp 0x535f95
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x1c], 8
mov ebx, eax
jb 0x535fb3
mov edx, dword [esp + 8]
push edx
call fcn.00505cfe
add esp, 4
cmp ebx, 0xffffffff
jne 0x535fbf
xor eax, eax
pop ebx
add esp, 0x1c
ret
test bl, 0x10
mov eax, 0
sete al
pop ebx
lea eax, [eax + eax - 1]
add esp, 0x1c
ret
Function at 0x536d00
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x553308
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
push 0
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0053ac80
mov esi, eax
mov edx, dword [esp + 0x64]
push 0
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x68], 0
call fcn.0053ac80
mov edi, 8
add esp, 0x18
cmp dword [esi + 0x18], edi
jb 0x536d64
mov esi, dword [esi + 4]
jmp 0x536d67
add esi, 4
cmp dword [eax + 0x18], edi
jb 0x536d71
mov eax, dword [eax + 4]
jmp 0x536d74
add eax, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
sete bl
cmp dword [esp + 0x28], edi
jb 0x536d94
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00505cfe
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x536dc7
mov eax, dword [esp + 0x30]
push eax
call fcn.00505cfe
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
test bl, bl
je 0x536e08
cmp byte [esp + 0x60], cl
je 0x536df3
mov edx, dword [esp + 0x58]
push edx
push 0xda
call fcn.0052d5c0
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x53b251
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
call fcn.0053c940
movsx ecx, byte [esp + 0x10]
xor ecx, edi
and ecx, 0xff
mov eax, dword [eax + ecx*4]
shr edi, 8
xor eax, edi
mov edi, dword [esi + 0xc]
movzx ebx, al
add ebx, dword [esi + 8]
mov dword [esi + 4], eax
imul ebx, ebx, 0x8088405
inc ebx
mov dword [esi + 8], ebx
shr ebx, 0x18
call fcn.0053c940
movsx edx, bl
xor edx, edi
shr edi, 8
and edx, 0xff
xor edi, dword [eax + edx*4]
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x53e470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0x53e500
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.00509260
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x53e4cf
sub eax, ebp
jmp 0x53e4d1
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x53e4c0
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x53e4f0
sub eax, ebp
jmp 0x53e4f2
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x53e4e1
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x53e61a
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
mov dword [esp + 0x10], eax
cmp ebx, edx
jbe 0x53e528
mov ebx, edx
test ebx, ebx
je 0x53e563
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
cmp dword [edx + 0x18], 1
jne 0x53e551
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.00540280
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [edi]
push ebx
push edx
push eax
call fcn.00509260
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x53e58e
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
movzx edx, byte [edx + 1]
shl eax, cl
xor eax, edx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x53e5a2
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x53e480
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x53e61a
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x53e5e9
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x53e5c9
mov ebx, 0x102
mov ecx, dword [esi + 0x38]
push ebx
add ecx, edi
push 0
push ecx
call fcn.00506190
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x53e61a
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x53e603
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.00506190
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x403411
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x403458
push 7
push str..custom
push edi
call fcn.0040167f
add esp, 0xc
test eax, eax
je 0x40345f
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x403435
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.0040379e
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x4032ce
mov dword [ebp - 0x14], 0x4032d9
call fcn.0040320c
add esp, 0x28
test eax, eax
je 0x4034bf
push dword [ebp - 4]
call fcn.004037b5
pop ecx
jmp 0x403458
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x40345a

Function at 0x4036f2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x403731
push edi
mov edi, dword [esp + 0x14]
sub edi, 0x13e7818
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0x13e7818]
inc esi
mov byte [esi + 0x13e7817], al
cmp esi, ebx
jb 0x40370d
pop edi
pop esi
mov byte [ebx + 0x13e7818], 0
mov eax, 0x13e7818
pop ebx
ret

Function at 0x403740
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x40377e
mov eax, dword [esp + 0x10]
sub eax, 0x13e7818
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0x13e7818]
inc esi
mov byte [esi + 0x13e7817], bl
cmp esi, edi
jb 0x40375a
pop ebx
mov byte [edi + 0x13e7818], 0
mov byte [edi + 0x13e7819], 0
pop edi
mov eax, 0x13e7818
pop esi
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 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x48fb68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48fb68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48fb6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48fb70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x48fb78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x48fb74], eax
mov eax, dword [0x48fb74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x48fb78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x48fb78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x48fb6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x48fb70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48fb68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x48d030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c6d55c]
push ebx
mov ebx, dword [0x2c6d280]
push esi
mov esi, dword [0x48df60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c6d55c]
mov dword [0x48fd0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c6d55c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x10001141
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x100011ab
cmp byte [edi], 0
je 0x100011ab
call dword [sym.imp.WS2_32.dll_WSAIsBlocking]
test eax, eax
je 0x10001162
call dword [sym.imp.WS2_32.dll_WSACancelBlockingCall]
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
add esi, 0x3fc
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100011b2
and dword [esi], 0
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10001199
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub eax, 0x276d
neg eax
sbb eax, eax
and eax, ecx
jmp 0x100011b4
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
push esi
call fcn.1003e4ed
add esp, 0xc
jmp 0x100011b2
and dword [esi + 0x3fc], 0
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x100013ac
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and dword [ebp + 8], 0
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [eax]
mov dword [ebp - 8], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
sub dword [ebp + 8], 0x61c88647
dec dword [ebp - 4]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 8]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, edx
xor eax, edi
add ecx, eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, ecx
xor eax, edi
add edx, eax
cmp dword [ebp - 4], 0
ja 0x100013e1
pop edi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
leave
ret
Function at 0x10001669
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x130]
mov dword [esi + 4], edx
mov dword [esi], edx
sub eax, edi
mov ebx, 0x12c
mov cl, byte [edi]
test cl, cl
je 0x1000169e
inc edx
mov byte [eax + edi], cl
inc edi
cmp edx, ebx
jb 0x1000168f
lea eax, [ebp - 0x130]
push eax
mov byte [ebp + edx - 0x130], 0
call fcn.1000159e
mov edi, eax
pop ecx
test edi, edi
je 0x10001750
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0
je 0x1000170a
mov byte [ebp + edi - 0x130], 0x2a
inc edi
mov eax, edi
cmp edi, ebx
jae 0x100016e7
mov cl, byte [edx]
test cl, cl
je 0x100016e7
mov byte [ebp + eax - 0x130], cl
inc eax
inc edx
cmp eax, ebx
jb 0x100016d4
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp + edi - 0x130]
push eax
call fcn.1000159e
pop ecx
add edi, eax
jmp 0x1000170a
mov byte [ebp + edi - 0x130], 0
inc edi
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x10001718
dec eax
or eax, 0xfffffff8
inc eax
jne 0x10001701
mov eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
xor ebx, ebx
test edi, edi
jle 0x10001750
mov eax, dword [ebp + ebx*8 - 0x130]
xor dword [esi], eax
push dword [ebp + 0x14]
mov eax, dword [ebp + ebx*8 - 0x12c]
xor dword [esi + 4], eax
push esi
call fcn.10001474
inc ebx
cmp ebx, edi
pop ecx
pop ecx
jl 0x1000172d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x10001849
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], 0x64
mov byte [ebp - 0x80], 0x41
test eax, eax
je 0x100018a6
cmp byte [eax], 0
je 0x100018a6
push eax
lea eax, [ebp - 0x7f]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push str.EnikamEruhdyrthS
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push 0x1003f364
push eax
mov byte [ebp - 0x1c], 0
call fcn.10001757
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov edi, eax
movsd dword es:[edi], dword [esi]
add esp, 0x10
movsd dword es:[edi], dword [esi]
mov byte [eax + 8], 0
pop esi
pop edi
leave
ret
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x7f]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10001875
mov ecx, dword [ebp + 8]
mov eax, 0x30303030
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ecx + 8], 0
mov eax, ecx
jmp 0x100018a3
Function at 0x100024fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 0x1c], 0x2a
xor ebx, ebx
mov byte [ebp - 0x1b], bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
push eax
push 1
push ebx
push dword [ebp + 8]
mov edi, reloc.WS2_32.dll_bind
push edi
mov dword [ebp - 4], ebx
call esi
cmp eax, 2
jne 0x1000257c
lea eax, [ebp - 4]
push eax
push 0x101
push ebx
push dword [ebp + 8]
push edi
call esi
cmp eax, 2
jne 0x1000257c
push dword [ebp + 8]
lea eax, [ebp - 0xfc]
push 0x1003f6ec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x101
push ebx
lea eax, [ebp - 0xfc]
push eax
push edi
call esi
cmp eax, ebx
je 0x10002587
push 5
jmp 0x10002673
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push esi
push ebx
push ebx
push 0x1003f364
push dword [ebp - 4]
mov edi, 0x81
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov byte [esi + 0x80], bl
cmp eax, ebx
je 0x100025c4
push 6
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10002674
cmp dword [ebp + 0x14], ebx
je 0x100025dd
push edi
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 0x14]
mov byte [eax + 0x80], bl
push esi
call fcn.1000159e
pop ecx
cmp byte [esi], bl
jne 0x100025ec
push 7
jmp 0x100025b3
mov al, byte [esi + 5]
cmp al, 0x42
je 0x10002607
cmp al, 0x5a
je 0x10002607
push dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.10001849
pop ecx
pop ecx
jmp 0x1000260e
mov byte [ebp - 0x1c], 0x2a
mov byte [ebp - 0x1b], bl
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0x14
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
mov byte [ebp - 0x20], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x10002671
cmp byte [ebp - 0x34], bl
je 0x10002671
cmp byte [ebp - 0x1c], 0x2a
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
jne 0x10002657
push 0x1003f364
jmp 0x1000265b
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.10001792
add esp, 0x10
cmp eax, ebx
jne 0x10002671
push esi
call fcn.100018cc
pop ecx
jmp 0x10002674
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002f74
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
push edi
mov esi, ecx
call fcn.10002e7d
lea ecx, [esi + 0x10e8]
call fcn.10002d45
xor edi, edi
lea eax, [ebp - 0x1c]
inc edi
push eax
mov dword [esi + 0x1288], edi
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x10002fc9
cmp dword [ebp - 0x18], 6
ja 0x10002fc1
jne 0x10002fc9
cmp dword [ebp - 0x14], 0
jbe 0x10002fc9
mov dword [esi + 0x128c], edi
jmp 0x10002fd0
and dword [esi + 0x128c], 0
pop edi
mov eax, esi
pop esi
add ebp, 0x78
leave
ret