joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9d40
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x547e54]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x547de4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4a9d53
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4a9d94
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x547e8c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4a9dc6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a9dca
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4a9dbb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4a9de8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a9dec
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4a9ddd
xor ecx, ecx
mov eax, 0x547df4
xor ebx, ebx
mov bl, byte [ecx + 0x547e9c]
cmp byte [esp + ebx + 0x14], 0
je 0x4a9e17
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x547eb4]
cmp byte [esp + ebx + 0x14], 0
je 0x4a9e2e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x547e54
jl 0x4a9dfe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4a9d87
lea edx, [esp + 0x84]
push edx
call fcn.004a9e70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4c3869
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c38a1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c18e4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c18bc
jmp 0x4c38ad
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c5068
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c50aa
call fcn.004cb2b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4c50aa
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4c50a1
xor eax, eax
jmp 0x4c50b2
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c50b8
pop edi
pop esi
pop ebx
ret 4

Function at 0x4cb7e8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4cb816
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4cb834
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cb74e
jmp 0x4cb834
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cb834
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cb74e
test edi, edi
mov eax, edi
jne 0x4cb81e
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x5b9cc9
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005b9d48
jae 0x5b9cd5
xor ecx, ecx
call fcn.005b9d48
jae 0x5b9cff
xor eax, eax
call fcn.005b9d48
jae 0x5b9d10
mov al, 0x10
call fcn.005b9d48
adc al, al
jae 0x5b9cf1
jne 0x5b9d3d
stosb byte es:[edi], al
jmp 0x5b9cd6
call fcn.005b9d54
dec ecx
loop 0x5b9d1c
mov eax, ebp
call fcn.005b9d52
jmp 0x5b9d3e
lodsb al, byte [esi]
shr eax, 1
je 0x5b9d64
adc ecx, 2
mov ebp, eax
jmp 0x5b9d3e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005b9d52
cmp eax, 0x7d00
jae 0x5b9d3c
cmp eax, 0x500
jae 0x5b9d3d
cmp eax, 0x7f
ja 0x5b9d3e
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5b9cd6
pop ebp
ret 8
Function at 0x406257
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40627c
mov eax, dword [0x4098b8]
cmp eax, 0xffffffff
je 0x406273
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x4098b8], 0xffffffff
jmp 0x4062f0
cmp dword [0x43a980], ebx
je 0x4062f0
cmp byte [0x43a580], bl
je 0x4062bb
cmp dword [0x4098b8], 0xffffffff
jne 0x4062c4
push 4
push 0x40000000
push 0x43a580
call fcn.00405c15
cmp eax, 0xffffffff
mov dword [0x4098b8], eax
je 0x4062f0
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x4098b8], 0xffffffff
je 0x4062f0
push esi
mov esi, 0x43e9c0
push 0x409a8c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f62
push eax
push esi
push dword [0x4098b8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40634f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43a174], esi
push edi
jne 0x406389
mov ecx, 0x43a170
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406365
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43a570
jl 0x406360
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4063be
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43a170]
xor eax, esi
inc ecx
dec edx
jne 0x4063a1
pop edi
pop esi
not eax
ret 0xc

Function at 0x438ca3
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
sub ebx, 0x674971af
sub ebx, edx
sub ebx, edx
call fcn.00438ce2
or edx, ebx
add edx, ebx
and ebx, ebx
xor dword [ecx], edi
add edx, 0xdf53bdad
sub ebx, 0xb91bad95
sub edx, 0xd8bfabc0
inc ecx
or edx, ebx
cmp ecx, eax
jne fcn.00438ca3
or edx, ebx
dec ebx
mov edx, edx
ret
Function at 0x402060
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x5711d4]
mov eax, 1
cmp ecx, eax
je 0x4020b0
lea ecx, [esp]
mov dword [0x5711d4], eax
push ecx
push 0
push eax
push 0x4020c0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4020a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ecx
ret
mov dword [0x5711d4], 0
xor eax, eax
pop ecx
ret
Function at 0x406020
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f18]
test eax, eax
je 0x406067
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x406120
mov ecx, dword [esi + 0x3f18]
lea eax, [esi + 0x5010]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3f18]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
call fcn.00405ba0
mov edx, dword [0x59122c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esi + 4]
sub eax, ecx
push 0
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0x44000080
push 0x5711d0
push str.edit
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x3f18], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esi + 0x3f10], eax
mov eax, dword [esi + 0x3f18]
push esi
push str.CLASSPROC
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x3f18]
push 0x405420
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.00406420
mov ecx, esi
call fcn.00406270
mov eax, dword [esi + 0x3f18]
lea edx, [esi + 0x5010]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f18]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret

Function at 0x408213
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 2
call fcn.0050c060
mov eax, dword [esp + 0x14]
push 1
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x408267
mov eax, dword [esi + 0x70a0]
cmp eax, 0xffffffff
je 0x408267
cmp eax, dword [esp + 4]
jne 0x408260
mov eax, dword [esi + 0x70a4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x408267
mov ecx, esi
call fcn.004096f0
mov ecx, esi
call fcn.00407df0
mov edx, dword [esi + 0x3f14]
mov ecx, 0x20
cmp edx, ecx
jne 0x40828d
test eax, eax
je 0x4082a0
mov dword [esi + 0x3f14], 0x10
jmp 0x408297
test eax, eax
jne 0x4082a0
mov dword [esi + 0x3f14], ecx
push 1
mov ecx, esi
call fcn.00408ef0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00407fd0
test eax, eax
je 0x4082b7
push 0x7f01
jmp 0x4082d2
mov ecx, esi
call fcn.00407ed0
test eax, eax
jne 0x4082cd
mov ecx, esi
call fcn.00407f50
test eax, eax
je 0x4082e1
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, esi
call fcn.00408f20
pop esi
add esp, 8
ret 8
Function at 0x409630
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov dword [esi + 0x1e68], 0
mov dword [esi + 0x1e6c], 0
call fcn.004095a0
push 1
push 0
mov ecx, esi
call fcn.00408e70
mov eax, dword [esi + 0x3f18]
push 0x5711d0
push eax
mov dword [esi + 0x1e74], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3f18]
push 0
push ecx
mov dword [esi + 0x1e74], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.00409800
push 0x5711d0
mov ecx, esi
call fcn.00407c40
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4096be
mov edx, dword [esi + 4]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x40aca0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.0051e250
mov eax, dword [0x571ca8]
push edi
test eax, eax
mov edi, ecx
je 0x40acc3
mov eax, 0x571cac
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x64
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov edi, eax
push esi
push 0x53d4a4
lea eax, [esp + 0x20]
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x18
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x40ad1c
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40ad3a
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x40ada9
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x40ada9
push 0x53d9e0
push esi
call ebx
test eax, eax
je 0x40ad4b
lea esi, [eax + 4]
jmp 0x40ad63
push 2
push 0x53d9d8
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40ad63
add esi, 4
cmp word [esi], 0
je 0x40ada9
push esi
push 0x53d4a4
push 0x1047
push 0x571cac
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x571cac
mov word [0x573d3a], 0
call fcn.004bfa80
push 0x571cac
call fcn.004c0180
push 0x571cac
call fcn.004bfa80
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x571ca8], 1
mov eax, 0x571cac
pop edi
add esp, 0x2090
ret
Function at 0x40aef0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x64]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x18]
push edx
call fcn.0043f930
lea eax, [esp + 0x1c]
push eax
call fcn.004bfb50
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0xc], eax
je 0x40b09f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b09f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.0040add0
test eax, eax
mov dword [0x58be5c], eax
jne 0x40af80
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x40af57
mov eax, dword [0x58be5c]
test eax, eax
je 0x40b09f
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov edx, dword [0x58be5c]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [esp + 0x21c]
cmp word [edi], 0
jne 0x40b006
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40afe0
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c2bc0
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [0x58be5c]
push 0
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x53da18
push edi
call ebx
add esp, 8
test eax, eax
jne 0x40b061
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40b038
push 1
push 0x9051
mov dword [esi + 0x2c], 0x9051
call fcn.004c2bc0
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [0x58be5c]
push 0x1e0000
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
push str._sandboxse
push edi
call ebx
add esp, 8
test eax, eax
je 0x40b08e
push edi
mov ecx, esi
call fcn.0040c980
test eax, eax
je 0x40b08e
mov edx, dword [0x58be5c]
push edi
push 0
push edx
call fcn.00450cb0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
Function at 0x40b3a0
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x420]
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push eax
push 0x53da2c
push ecx
call fcn.004501b0
add esp, 0x10
test eax, eax
je 0x40b44e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x53cacc
push 0x57147c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x571274
call esi
push 2
lea ecx, [esp + 0x214]
push 0x571274
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004c1470
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4

Function at 0x40b460
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push 0x103
push eax
push 0x53da2c
push esi
call fcn.004501b0
add esp, 0x10
test eax, eax
je 0x40b4e9
cmp word [esp + 8], 0
je 0x40b4e9
push 0
push 0x53da48
push esi
call fcn.00450120
add esp, 0xc
cmp eax, 1
jne 0x40b4d8
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00440200
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00406200
mov ecx, eax
call fcn.0042fe30
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x40b500
Capabilities:
Set registry value

Disassembly:
sub esp, 0x41c
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call fcn.0040c0f0
push eax
lea eax, [esp + 0x18]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov cx, word [0x5711d0]
xor eax, eax
mov word [esp + 0x228], cx
mov ecx, 0x81
lea edi, [esp + 0x22a]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_time]
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], esi
call fcn.00496700
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, esi
je 0x40b5cb
lea edx, [esp + 0x21c]
push 0x103
push edx
push 0x53db04
push str.Main
push eax
call fcn.00496f70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push str.UsedTime
push str.Main
push ecx
call fcn.00497160
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00496950
add esp, 0x2c
mov edi, dword [esp + 0x428]
mov eax, dword [0x58b4fc]
cmp edi, esi
je 0x40b5ef
cmp eax, esi
je 0x40b60a
cmp dword [esp + 0x42c], esi
je 0x40b60a
call fcn.004c3200
jmp 0x40b60a
cmp eax, esi
je 0x40b601
cmp dword [esp + 0x42c], esi
jne 0x40b601
call fcn.004c3210
push esi
call fcn.00425300
add esp, 4
cmp dword [0x58b50c], esi
je 0x40b638
cmp edi, esi
je 0x40b638
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocStringLen
mov dword [esp + 0x28], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0x41c
ret 8

Function at 0x40bb50
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x5c], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x40b9f0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bb92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040bc60
pop esi
pop ecx
ret 4

Function at 0x40bc10
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 4], eax
je 0x40bc56
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40bbb0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bc56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40be40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x470
push ebx
push esi
xor ebx, ebx
mov esi, ecx
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
push ebx
lea ecx, [esp + 0x20]
push 1
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x40bf61
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6e]
mov word [esp + 0x6c], bx
mov word [esp + 0x274], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x276]
lea edx, [esp + 0x6c]
rep stosd dword es:[edi], eax
push 0x103
push edx
push ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [esi + 0x20]
push 0x53da40
push eax
push 0x53da2c
push 0xc
lea ecx, [esp + 0x80]
push str._tp:
push ecx
push str._s__s_d__s_d__s_d
lea edx, [esp + 0x294]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x54]
add esp, 0x28
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x28]
push ecx
mov dword [esp + 0x14], eax
push edx
push ebx
mov dword [esp + 0x20], eax
push ebx
push ebx
mov dword [esp + 0x2c], eax
push 1
push ebx
lea eax, [esp + 0x290]
push ebx
push eax
push ebx
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 0x80
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x40bf61
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
pop esi
pop ebx
add esp, 0x470
ret

Function at 0x40bf70
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0040db60
test eax, eax
je 0x40bfaa
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x40d970
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40bfaa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x40bfe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x58b4f4]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40bffa
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
push edi
mov dword [esp + 0x24], 0x4df0c730
mov word [esp + 0x28], 0xdf9d
mov word [esp + 0x2a], 0x4ae3
mov byte [esp + 0x2c], 0x91
mov byte [esp + 0x2d], 0x53
mov byte [esp + 0x2e], 0xaa
mov byte [esp + 0x2f], 0x6b
mov byte [esp + 0x30], 0x82
mov byte [esp + 0x31], 0xe9
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0x5a
mov dword [esp + 0x14], 0x8be2d872
mov word [esp + 0x18], 0x86aa
mov word [esp + 0x1a], 0x4d47
mov byte [esp + 0x1c], 0xb7
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0xcc
mov byte [esp + 0x20], 0xa4
mov byte [esp + 0x21], 0xc
mov byte [esp + 0x22], 0x70
mov byte [esp + 0x23], 0x18
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40c0de
mov eax, dword [esp + 8]
cmp eax, edi
je 0x40c0de
lea edx, [esp + 0xc]
add esi, 0x26c
push edx
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x40c0d4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40c0d4
mov ecx, dword [eax]
push eax
mov edi, 1
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret

Function at 0x40c0f0
Capabilities:
Set file attributes

Disassembly:
cmp word [0x574d88], 0
jne 0x40c14e
push 0x103
push 0x574d88
call fcn.0040d520
push 0
push 0x574d88
mov dword [0x5c29d8], eax
call fcn.0043f710
add esp, 8
test eax, eax
je 0x40c137
push 0x80
push 0x574d88
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x574d88
ret
push 0x574d88
call fcn.0043fb20
push 0x574d88
call fcn.00451d50
add esp, 8
mov eax, 0x574d88
ret
Function at 0x40c1e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
push edi
mov edx, ecx
jne 0x40c280
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
add edx, 0x26c
push str.LoginEnrolLoginEnrol.dll
stosw word es:[edi], ax
push edx
push 0x53dc6c
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, 0x571210
call fcn.0040ca30
test eax, eax
je 0x40c280
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40c280
push str.GetProfilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c279
mov ecx, dword [esp + 0x224]
dec ecx
push ecx
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [ebx], 0
jne 0x40c2cd
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x10]
push str.360SE
push eax
dec ecx
push 0x53dc40
push ecx
push ebx
call ebp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0xc