joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c414
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c5bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c5a0
mov dl, 1
mov eax, dword [0x411668]
call fcn.00403130
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c58f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00439f90
test al, al
je 0x44c582
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44c5d0
lea eax, [ebp - 0x254]
call fcn.00408800
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c582
xor eax, eax
push ebp
push 0x44c57b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44c608
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c564
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404108
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44c564
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c582
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c485
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041515c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c5c6
lea eax, [ebp - 0x260]
call fcn.00403e98
ret

Function at 0x44cef4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x453bb0]
cmp byte [eax + 0xa5], 0
jne 0x44cf65
cmp dword [0x453bc8], 0
jne 0x44cf26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ceb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453bc8], eax
cmp dword [0x453bc4], 0
jne 0x44cf41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453bc4], eax
cmp dword [0x453bcc], 0
jne 0x44cf65
push esp
push 0
push 0
push 0x44ce54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453bcc], eax
pop edx
ret
Function at 0x44d05c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d073
add esp, 0xfffffff0
call fcn.0040346c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f6c
mov eax, dword [0x451f54]
cmp word [eax + 2], 0
jne 0x44d09b
mov eax, dword [0x451f54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e734
mov eax, dword [0x451ffc]
cmp word [eax + 2], 0
jne 0x44d0b5
mov eax, dword [0x451ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e92c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41124c]
call fcn.00403130
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41124c]
call fcn.00403130
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b148]
call fcn.00420de0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d23c
mov eax, dword [0x451e78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004211b0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44eecc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451e78]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be3c
test eax, eax
je 0x44d1aa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081f4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be64
test eax, eax
je 0x44d1be
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404108
mov eax, dword [0x451d74]
cmp byte [eax], 0
jne 0x44d1f2
mov eax, ebx
call fcn.0044d364
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f0a8
mov eax, ebx
call fcn.0044fa6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d232
call fcn.004034c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d5e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb0]
cmp dword [eax + 0x30], 0
je 0x44d68e
cmp dword [ebx + 0x94], 0
jne 0x44d688
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d574
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d688
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d64e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d688
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004135b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d65d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e1f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e225
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f88
jmp 0x44e232
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f284
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f2c5
mov eax, esi
call fcn.0043560c
test al, al
je 0x44f2c5
mov eax, dword [ebx + 0x84]
call fcn.004353ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f2c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004353ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44fd58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca0
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404348
xor eax, eax
push ebp
push 0x44fe2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 4]
call fcn.00408250
lea edx, [ebp - 8]
xor eax, eax
call fcn.004028a8
lea eax, [ebp - 0x309]
mov edx, dword [ebp - 8]
call fcn.00408250
lea eax, [ebp - 0x350]
xor ecx, ecx
mov edx, 0x44
call fcn.00402b7c
mov dword [ebp - 0x350], 0x44
mov dword [ebp - 0x324], 1
mov word [ebp - 0x320], bx
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x350]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x44fe0f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x360]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe31
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ebc
ret
Function at 0x10007430
Capabilities:
Encode data using xor

Disassembly:
dec ebx
sar dword [eax + 0x30], 1
pop ebp
mov ebx, 0x43090cf4
xor byte [ebx], bl
dec edi
das
sub dl, 0xa7
cmpsd dword [esi], dword es:[edi]
push ebx
pop es
xchg esp, ebx
jae 0x100073ef
test al, 0x42
pop esp
cmpsd dword [esi], dword es:[edi]
sub ah, bl
mov edx, 0x304d3d77
dec ebp
xor bl, ah
invalid
hlt
jl 0x100074df
xchg esp, eax
invalid

Function at 0x10007b40
Capabilities:
Encode data using xor

Disassembly:
add byte [eax - 0x744d9628], bl
inc ebp
jg 0x10007b2c
cmp al, 0x44
scasd eax, dword es:[edi]
dec eax
clc
push ds
mov dl, 0xdb

Function at 0x10008ab0
Capabilities:
Encode data using xor

Disassembly:
dec edi
wait
xchg esp, eax
or byte [ebp + 0xc], cl
lodsd eax, dword [esi]
dec edx
pop edx
xchg edi, eax
mov ah, 0xc0
js sym.Engine.dll_MD4Update
add edi, dword [esi + 0x4c4431d4]
pop ebx
fstp qword [edx + esi*4]
jns 0x10008a61
pushfd
inc ebx
int 0x22
push ds
push ds
in al, dx
loop 0x10008ab5
jg 0x10008a73
xchg esi, eax
mov bh, byte [esi + 9]
out dx, al
cdq
pop ebx
div byte [eax - 0x3d]
invalid
dec edi
mov byte [edi + esi*4 + 0x64], bh
and eax, 0x6c272066
invalid
dec edi
xor eax, dword [edx - 0x5e8f9175]
invalid
out dx, eax
fld dword [eax + 0x3c2b1941]
outsd dx, dword [esi]
rcl byte [edx - 0x4a], cl
mov bl, 1
sub dword [edi + 0x21], ecx
dec edi
and dword [0xe4d02e76], esp
shl ah, 1
inc edx
cmp dh, byte [esp + ebp*2 + 0x7b5325c6]
not dword [ebx + 0x60]
push ebx
pushal
sub bh, dh
jle 0x10008a99
cmp dword [edi + 0x28db7493], edi
fldcw word [edx]
invalid

Function at 0x10008cf0
Capabilities:
Encode data using xor

Disassembly:
adc ecx, dword [0xd5b567bb]
xchg esi, eax
or eax, 0xaeb91c6e
scasb al, byte es:[edi]
push 0xfe33d295
push cs
rcl dword [esp + esi*4]
push ds
cdq
aaa
mov dh, 0x83
js 0x10008cd5
Function at 0x10003966
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi + 4], 0xd6
jne 0x100039c3
xor eax, eax
mov cl, byte [edi + eax + 5]
xor cl, byte [eax + 0x1000a098]
inc eax
cmp eax, 8
mov byte [eax + 0x10076037], cl
jl 0x10003976
push 1
pop esi
cmp dword [0x10086dc0], esi
je 0x10003a0d
push 0x1a4
push 0
push 0x10087240
push dword [0x10087444]
call fcn.10006db0
push 0x100872e4
call fcn.10007b20
add esp, 0x14
mov dword [0x10086dc0], esi
jmp 0x10003a0d
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x10003a0d
push ebx
lea eax, [ebp + 0xc]
lea ebx, [esi + edi]
push eax
push ebx
mov dword [ebp + 0xc], 2
call fcn.10008120
cmp byte [ebx], 0xaa
pop ecx
pop ecx
jne 0x10003a0c
cmp byte [esi + edi + 1], 0x55
jne 0x10003a0c
cmp byte [edi + esi + 4], 0xf9
jne 0x10003a0c
push 2
push ebx
call fcn.10003d38
movsx eax, word [esi + edi + 2]
pop ecx
lea esi, [esi + eax + 6]
pop ecx
cmp esi, dword [ebp + 0x10]
jl 0x100039cb
pop ebx
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10003a16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov al, byte [ebp + 0x10]
mov cl, 0x9d
imul cl
cmp word [ebp + 0x10], 0
mov byte [ebp - 1], al
mov dword [ebp - 8], 0x86d
jbe 0x10003a7b
and dword [ebp - 0xc], 0
push ebx
movzx ecx, word [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, esi
mov eax, dword [ebp - 0xc]
push 8
cdq
pop ebx
idiv ebx
mov al, byte [edx + 0x10076038]
xor edx, edx
xor al, byte [edi + esi]
mov dl, byte [ebp - 7]
xor al, dl
xor al, byte [ebp - 1]
mov byte [esi], al
mov eax, dword [ebp - 8]
imul eax, eax, 0x87b
inc dword [ebp - 0xc]
inc esi
dec ecx
mov dword [ebp - 8], eax
jne 0x10003a47
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005ebb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x80
push edi
lea eax, [ebp - 0x108]
push ebx
push eax
push 0xbc6
push dword [0x100872b4]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call edi
lea eax, [ebp - 0x188]
push ebx
push eax
push 0xbdb
push dword [0x100872b4]
call esi
push eax
call edi
lea eax, [ebp - 0x88]
push ebx
push eax
push 0xbf9
push dword [0x100872b4]
call esi
push eax
call edi
lea eax, [ebp - 0x208]
push ebx
push eax
push 0xbc9
push dword [0x100872b4]
call esi
push eax
call edi
mov esi, 0x10077714
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006013
lea eax, [ebp - 0x188]
push esi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006013
lea eax, [ebp - 0x88]
push esi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006013
lea eax, [ebp - 0x208]
push esi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006013
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x64
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push str._d____d
push eax
mov dword [ebp - 4], 0xc8
call sub.MSVCRT.dll_sscanf
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x188]
push eax
push 0
call fcn.10007690
add esp, 0x20
lea eax, [ebp - 0x208]
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call fcn.10007d00
pop ecx
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.10007d00
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.100077d0
add esp, 0x18
mov dword [0x10030370], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006018
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
mov esi, 0x1000a8cc
lea edi, [ebp - 0x114]
push 0xe
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x1000a8c4
lea edi, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xcf]
mov esi, 0x1000a8bc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x94]
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x8f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x1000a8b4
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x4f]
mov esi, 0x1000a8ac
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x14]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xf]
mov esi, 0x1000a8a4
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [ebp - 0xa]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 5]
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor edi, edi
push edi
push edi
push 0x147
push 0xbda
push dword [0x100872a8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
lea eax, [ebp - 0x194]
push 0x80
push eax
push 0xbb9
push dword [0x100872a8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
push 0xf0
push 0xc0d
push dword [0x100872a8]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea eax, [ebp - 0x194]
push 0x10077714
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006161
lea eax, [esi + esi*4]
lea eax, [ebp + eax*2 - 0x14]
push eax
lea eax, [ebp - 0x194]
push eax
mov eax, ebx
shl eax, 6
lea eax, [ebp + eax - 0x114]
push eax
push edi
call fcn.10007730
lea eax, [ebp - 0x194]
push esi
push eax
push ebx
call fcn.10007920
add esp, 0x1c
mov dword [0x100304c8], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000691a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 0x10c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call sub.MSVCRT.dll_strrchr
pop ecx
cmp eax, ebx
pop ecx
je 0x10006951
mov byte [eax], bl
lea eax, [ebp - 0x10c]
push 0x1007c9d4
push eax
lea eax, [ebp - 0x210]
push str._sconfig_s.day
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, 0x80
lea eax, [ebp - 0x210]
push ebx
push edi
push 3
push ebx
push 1
push 2
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x100069b1
push ebx
push edi
push 1
push ebx
push 1
lea eax, [ebp - 0x210]
push 2
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x100069d6
lea eax, [ebp - 8]
push ebx
push eax
push 0x6ac
push 0x10086af0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100069d6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100069db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
lea eax, [ebp - 0x108]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call sub.MSVCRT.dll_strrchr
pop ecx
cmp eax, ebx
pop ecx
je 0x10006a11
mov byte [eax], bl
lea eax, [ebp - 0x108]
push 0x1007c9d4
push eax
lea eax, [ebp - 0x20c]
push str._sconfig_s.day
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006a77
lea eax, [ebp - 4]
push ebx
push eax
push 0x6ac
push 0x10086af0
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10006a77
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

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 0x40aa26
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40aa44
mov eax, 0x69379a
push eax
push 1
mov ebx, 0x545550
call fcn.00544e55
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40aa6e
mov eax, 0
jmp 0x40aae2
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40aacf
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40aab8
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40aaa7
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40aa98
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x429018
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x429046
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x42903d
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x429035
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x429067
mov esp, ebp
pop ebp
ret

Function at 0x42906b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4290d7
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x429104
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4290f3
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4290e4
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x42912a
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4290cb
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x429156
mov esp, ebp
pop ebp
ret 0xc