joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416307
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x416352
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004164a2
test al, al
jne 0x41634c
sub edx, 2
cmp edx, edi
jne 0x416332
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416374
lea eax, [edi + 2]
cmp edx, eax
je 0x416374
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416253
add esp, 0x10
jmp 0x41646e
push esi
lea ecx, [ebp - 0x255]
call fcn.004164a2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4163b7
push dword [ebp - 0x25c]
jmp 0x416364
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4163f4
cmp word [ebp - 0x226], 0
je 0x416415
cmp word [ebp - 0x226], ax
jne 0x4163f4
cmp word [ebp - 0x224], 0
je 0x416415
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416253
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x416461
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4163ce
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x416449
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41646e
push 0x416083
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041a130
add esp, 0x10
jmp 0x41643e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406931
leave
ret

Function at 0x419072
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00410b3a
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4190e1
cmp esi, dword [ebp - 4]
je 0x4190dc
cmp dword [ebp + 0xc], 0
je 0x4190dc
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4190b9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00418bc4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4190e3
xor eax, eax
inc eax
jmp 0x4190e3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x419148
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00410b3a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00410b3a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4191bf
cmp word [ecx], dx
je 0x4191bf
mov eax, dword [0x420964]
push edi
dec eax
push eax
push 0x420850
call fcn.004190e7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x419232
cmp word [eax], dx
je 0x419232
mov eax, dword [edi]
test eax, eax
je 0x4191e3
cmp word [eax], dx
je 0x4191e3
lea eax, [ebp - 0x10]
push eax
call fcn.00418aca
jmp 0x4191ec
lea eax, [ebp - 0x10]
push eax
call fcn.00418b65
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41925c
mov eax, dword [0x42084c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x420540
call fcn.004190e7
add esp, 0xc
test al, al
je 0x41925c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x419227
cmp word [eax], di
je 0x419227
lea eax, [ebp - 0x10]
push eax
call fcn.00418aca
pop ecx
jmp 0x41925e
lea eax, [ebp - 0x10]
push eax
call fcn.00418b65
jmp 0x419224
mov eax, dword [edi]
test eax, eax
je 0x419249
cmp word [eax], dx
je 0x419249
lea eax, [ebp - 0x10]
push eax
call fcn.00418a7f
pop ecx
jmp 0x41925c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x419327
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00418f6c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x419327
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x419327
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x419327
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4192b4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004113e0
test ebx, ebx
je 0x419322
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004113e0
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419327
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419327
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041a79d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x419329
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406931
leave
ret
Function at 0x41bfc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41bfed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41bfed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x409921
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417344]
jne 0x40992b
repz ret
jmp fcn.0040e3cc

Function at 0x4125fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c1c2
and dword [ebp - 0x14], 0
cmp dword [0x43c5ec], 0
mov dword [ebp - 0x18], eax
jne 0x4126af
push 0x403754
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412757
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403748
push ebx
call edi
test eax, eax
je 0x412757
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403738
push ebx
mov dword [0x43c5ec], eax
call edi
push eax
call esi
push 0x403724
push ebx
mov dword [0x43c5f0], eax
call edi
push eax
call esi
push 0x403708
push ebx
mov dword [0x43c5f4], eax
call edi
push eax
call esi
mov dword [0x43c5fc], eax
test eax, eax
je 0x4126af
push 0x4036f0
push ebx
call edi
push eax
call esi
mov dword [0x43c5f8], eax
mov eax, dword [0x43c5f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412708
cmp dword [0x43c5fc], ecx
je 0x412708
push eax
call esi
push dword [0x43c5fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412708
test ebx, ebx
je 0x412708
call edi
test eax, eax
je 0x4126ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4126ff
test byte [ebp - 8], 1
jne 0x412708
or dword [ebp + 0x10], 0x200000
jmp 0x41273b
mov eax, dword [0x43c5f0]
cmp eax, dword [ebp - 0x18]
je 0x41273b
push eax
call esi
test eax, eax
je 0x41273b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41273b
mov eax, dword [0x43c5f4]
cmp eax, dword [ebp - 0x18]
je 0x41273b
push eax
call esi
test eax, eax
je 0x41273b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43c5ec]
call esi
test eax, eax
je 0x412757
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412759
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409921
leave
ret
Function at 0x414590
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413bd0
cmp dword [0x7dc744], 0x37
jne 0x414613
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403f58
call edi
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0x404048
call edi
push 0
lea edx, [esp + 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
pop edi
mov eax, dword [0x7dd328]
mov edx, dword [0x7d97a4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x403020
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x498f1c]
mov ecx, dword [0x495e28]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403113
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x498f1c], 0x959
jne 0x4030f9
push 0
push 0
call esi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0x402b70
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.00402e60
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x403940
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a2a8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x498f1c], 0x84
jne 0x4039cc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00403c76
push ebx
push ebx
call fcn.00403d04
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x4039bc
mov eax, dword [esp + 8]
push eax
call fcn.00403eeb
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
cmp byte [0x42edd0], bl
jle 0x4039dc
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x42e0d4]
mov edx, dword [0x42e0a8]
mov dword [0x498f1c], ecx
mov dword [0x4998bc], edx
call fcn.00403160
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x405520
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c0f8]
jne 0x40552a
repz ret
jmp fcn.00409af2
Function at 0x409815
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.0040759b
and dword [ebp - 4], 0
cmp dword [0x42e994], 0
mov ebx, eax
jne 0x4098c6
push 0x401a4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409977
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a40
push edi
call esi
test eax, eax
je 0x409977
push eax
call fcn.00407529
mov dword [esp], 0x401a30
push edi
mov dword [0x42e994], eax
call esi
push eax
call fcn.00407529
mov dword [esp], 0x401a1c
push edi
mov dword [0x42e998], eax
call esi
push eax
call fcn.00407529
mov dword [esp], 0x401a00
push edi
mov dword [0x42e99c], eax
call esi
push eax
call fcn.00407529
pop ecx
mov dword [0x42e9a4], eax
test eax, eax
je 0x4098c6
push 0x4019e8
push edi
call esi
push eax
call fcn.00407529
pop ecx
mov dword [0x42e9a0], eax
mov eax, dword [0x42e9a0]
cmp eax, ebx
je 0x40991e
cmp dword [0x42e9a4], ebx
je 0x40991e
push eax
call fcn.004075a4
push dword [0x42e9a4]
mov esi, eax
call fcn.004075a4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40991e
test edi, edi
je 0x40991e
call esi
test eax, eax
je 0x409915
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409915
test byte [ebp - 0xc], 1
jne 0x40991e
or dword [ebp + 0x10], 0x200000
jmp 0x409957
mov eax, dword [0x42e998]
cmp eax, ebx
je 0x409957
push eax
call fcn.004075a4
pop ecx
test eax, eax
je 0x409957
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409957
mov eax, dword [0x42e99c]
cmp eax, ebx
je 0x409957
push eax
call fcn.004075a4
pop ecx
test eax, eax
je 0x409957
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e994]
call fcn.004075a4
pop ecx
test eax, eax
je 0x409977
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409979
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438cab
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
add edi, 1
sub eax, 0x36ed581f
call fcn.00438cf3
sub edi, 0x77398748
add edi, 0x26e4ed11
and eax, edi
xor dword [ebx], edx
add edi, 0xefd2d8c3
add ebx, 1
or eax, eax
cmp ebx, ecx
jne fcn.00438cab
sub edi, edi
dec eax
add edi, 0x625d96c
ret
Function at 0x435eb0
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
cmp dword [0x4e0bc4], 0x516
jne 0x435ed5
push 0
lea eax, [ebp - 0x530]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameA
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x435f7b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp + 0xc], eax
jmp 0x435f00
cmp dword [0x4e0bc4], 0x29
jne 0x435f21
push 0
push 0
push 0
push 0
push 0x401380
push 0x4013b0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp dword [0x4e0bc4], 0x1c
jne 0x435f66
push 0
push 0
call edi
call ebx
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00435d60
add esi, 8
dec dword [ebp + 0xc]
jne 0x435f00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435f90
Capabilities:
Copy file
Get disk information
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x99c
cmp dword [0x4e0bc4], 0x37
jne 0x4360c4
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x4013f4
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x24], dx
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
call dword [sym.imp.KERNEL32.dll_LocalHandle]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
push 0
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [ebp - 0x99c]
push edx
push 0x401400
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0x401444
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push 0x401460
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], 0
mov eax, dword [0x4e0bc8]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov ecx, dword [0x4dd1c4]
mov byte [ecx + eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x4361f0
Capabilities:
Create pipe
Get common file path
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1694
call fcn.00436ec0
mov dword [ebp - 4], 0
jmp 0x43620f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x4362a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4e0bc4], 0x16
jne 0x43624e
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x458]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4e0bc4], 0x9e
jne 0x436296
push 0
lea eax, [ebp - 0xa78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0xe78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp dword [ebp - 4], 0x3775ee
jle 0x4362a1
jmp 0x4362a6
jmp 0x436206
push section..data
mov edx, dword [0x4e0bc4]
push edx
mov eax, dword [0x4dd1c4]
push eax
call fcn.00435eb0
mov dword [ebp - 0xe7c], 0
jmp 0x4362d8
mov ecx, dword [ebp - 0xe7c]
add ecx, 1
mov dword [ebp - 0xe7c], ecx
cmp dword [ebp - 0xe7c], 0x3e79e
jge 0x436316
cmp dword [0x4e0bc4], 0x10
jne 0x436303
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [ebp - 0xe7c], 0x1e673
jne 0x436314
call fcn.00436110
jmp 0x4362c9
mov dword [ebp - 0xe80], 0
jmp 0x436331
mov edx, dword [ebp - 0xe80]
add edx, 1
mov dword [ebp - 0xe80], edx
cmp dword [ebp - 0xe80], 0xdd9a7
jge 0x436381
cmp dword [0x4e0bc4], 0xc01
jne 0x43637f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x436322
jmp dword [0x4dd1c4]
Function at 0x4372a0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4372c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4372ca
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4372e1
mov edx, dword [ebp - 4]
push edx
call fcn.0043d6e0
add esp, 4
or eax, 0xffffffff
jmp 0x4372e3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x441cd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463510]
jne 0x441cda
repz ret
jmp fcn.0044be70
Function at 0x7ffe53ad
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
cld
push edx
cdq
pop edx
cld
lea esp, [esp]
cld
and bh, 0xff
clc
push edx
cdq
pop edx
clc
pushal
inc eax
popal
clc
lea esp, [esp]
clc
pushal
inc eax
popal
cld
lea esp, [esp]
nop
lea esp, [esp]
nop
pushal
inc eax
popal
cld
pushal
inc eax
popal
cld
and bh, 0xff
clc
lea esp, [esp]
nop
and bh, 0xff
cld
and bh, 0xff
cld
pushal
inc eax
popal
stc
push edx
cdq
pop edx
nop
pushal
inc eax
popal
cld
lea esp, [esp]
cld
pushal
inc eax
popal
clc
pushal
inc eax
popal
clc
and bh, 0xff
cld
and bh, 0xff
nop
lea esp, [esp]
cld
cld
call 0x7ffe541a
pop edx
clc
add eax, 0
cld
lea esp, [esp]
nop
xor dx, dx
and bh, 0xff
push edx
cdq
pop edx
add edx, 0xd5e0
lea esp, [esp]
stc
stc
xor ecx, ecx
cld
cld
clc
cld
mov cl, 0x1e
cld
and bh, 0xff
clc
add eax, 0
nop
xor byte [ecx + edx], 0xa
loop 0x7ffe5449
and bh, 0xff
nop
push dword fs:[0x24]
add eax, 0
cld
and bh, 0xff
pop dword [edx + 0xa]
nop
nop
mov cl, 0xff
and al, 0xff
nop
push edx
loop 0x7ffe546b
nop
add al, 0
nop
mov dword [edx + 0x11], 0xffffacbb
pushal
inc eax
popal
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
stc
and bh, 0xff
lea esp, [esp]
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
push edx
cdq
pop edx
nop
add al, 0
cld
push 0
stc
nop
push 0
stc
push 0
push 0
cld
add eax, 0
inc esi
dec esi
nop
push 0x30
stc
push edx
cdq
pop edx
cld
clc
cld
cld
push 0x20
cld
push 0
pushal
inc eax
popal
cld
push 0
lea esp, [esp]
cld
and bh, 0xff
clc
cld
add edx, 0xffff7f35
cld
pushal
inc eax
popal
push edx
cld
lea esp, [esp]
clc
and bh, 0xff
nop
push edx
add eax, 0
clc
add eax, 0
clc
push 0
push edx
cdq
pop edx
cld
clc
stc
clc
call dword [edx + 0x820e]
stc
clc
add esp, 0x3f8
cld
add eax, 0
clc
xor eax, eax
inc eax
lea esp, [esp]
cld
cld
ret 0xc