joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f70
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x408
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
mov esi, dword [esp + 0x414]
cmp byte [esi + 0x884], 0
push edi
lea edi, [esi + 0x884]
je 0x421165
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x420fc2
push edi
call fcn.004322c0
test eax, eax
jne 0x42111d
lea eax, [esp + 0x10]
push eax
push str.Type
push edi
call fcn.00431e00
test eax, eax
jne 0x42111d
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x49e59c
push edx
call fcn.0048108c
add esp, 0xc
cmp dword [esp + 0xc], 0x21
je 0x421005
mov dword [esp + 0xc], 0x199
jmp 0x421125
lea eax, [esp + 0x10]
push eax
push str.Filename
push edi
call fcn.00431e00
test eax, eax
jne 0x42111d
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x421024
sub eax, edx
cmp eax, 0x100
ja 0x42111d
push ebx
lea eax, [esp + 0x14]
lea ebx, [esi + 0x6f8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
jmp 0x421050
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x421050
mov edx, dword [esi + 0x1a0]
push ebx
push 0x4af
push edx
call ebp
lea eax, [esp + 0x10]
push eax
push str.Blocking
push edi
call fcn.00432020
test eax, eax
pop ebx
jne 0x42111d
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x1a0]
push 0x800
push ecx
push 0x4a5
push edx
call fcn.00474940
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push str.RecType
push edi
call fcn.00432020
test eax, eax
jne 0x42111d
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x1a0]
push 0xb
push ecx
push 0x4a4
push edx
call fcn.00474940
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push str.Closed
push edi
call fcn.00432020
test eax, eax
jne 0x42111d
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4210f2
cmp eax, 1
jne 0x42111d
mov edx, dword [esi + 0x1a0]
xor ecx, ecx
test eax, eax
setne cl
push ecx
push 0x4a8
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push esi
call fcn.00462810
add esp, 4
test eax, eax
jne 0x4211c5
mov dword [esp + 0xc], 0x19a
mov eax, dword [esi + 0x1b0]
push 0
push 0
push 0x402
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [esp + 0xc]
push 0x30
push 0x4dec98
push edi
push ecx
call fcn.0046d6b0
mov edx, dword [esi + 0x18]
add esp, 8
push eax
push edx
call fcn.00470860
add esp, 0x10
mov byte [edi], 0
lea eax, [esi + 0x6f8]
push eax
mov byte [eax], 0
mov eax, dword [esi + 0x1a0]
push 0x4af
push eax
call ebp
mov ecx, dword [esi + 0x1a0]
push 0
push 0
push 0x14e
push 0x4a5
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [esi + 0x1a0]
push 0
push 0x104a5
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1a0]
push 1
push 0x4a8
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
push esi
call fcn.00420e70
push 0
push esi
call fcn.0045dd90
mov ecx, dword [esp + 0x41c]
add esp, 0xc
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004810ab
add esp, 0x408
ret
Function at 0x421200
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x818]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
lea esi, [edi + 0x884]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.004320b0
test eax, eax
jne 0x421360
mov eax, dword [0x4dec94]
mov ecx, dword [0x4dec90]
mov edx, dword [0x4dec8c]
push eax
push ecx
push edx
push 0x4dec98
lea eax, [esp + 0x20]
push str._s__d._d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push str.Version
push esi
call fcn.00431d00
test eax, eax
jne 0x421360
mov edx, dword [edi + 4]
push edx
lea eax, [esp + 0x14]
push str._02d__Zulu_Image_Document_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str.Type
push esi
call fcn.00431d00
test eax, eax
jne 0x421360
lea edx, [edi + 0x6f8]
push edx
push str.Filename
push esi
call fcn.00431d00
test eax, eax
jne 0x421360
mov eax, dword [edi + 0x1a0]
push 0x4a5
push eax
call fcn.00474a20
add esp, 8
push eax
push str.Blocking
push esi
call fcn.00431f40
test eax, eax
jne 0x421360
mov ecx, dword [edi + 0x1a0]
push 0x4a4
push ecx
call fcn.00474a20
add esp, 8
push eax
push str.RecType
push esi
call fcn.00431fb0
test eax, eax
jne 0x421360
mov edx, dword [edi + 0x1a0]
push 0x4a8
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push eax
push str.Closed
push esi
call fcn.00431f40
test eax, eax
jne 0x421360
push edi
call fcn.00462de0
add esp, 4
test eax, eax
je 0x421360
push esi
call fcn.00432230
test eax, eax
je 0x421393
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call ebx
push 0x30
push 0x4dec98
push esi
push 0x198
call fcn.0046d6b0
add esp, 8
push eax
mov eax, dword [edi + 0x1a0]
push eax
call fcn.00470860
add esp, 0x10
xor eax, eax
jmp 0x4213a6
push 0
push edi
call fcn.0045dd90
add esp, 8
push ebp
call ebx
mov eax, 1
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x804
ret
Function at 0x42b710
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x4de8ec], 0
jne 0x42b721
mov eax, 0x17
pop ecx
ret
mov eax, dword [0x4de480]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42b73d
mov eax, 0x15
pop ecx
ret
push esi
push edi
xor edi, edi
cmp byte [0x4de580], 0
je 0x42b795
mov esi, dword [esp + 0x10]
mov ecx, 0x4de580
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42b775
test dl, dl
je 0x42b771
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42b775
add eax, 2
add ecx, 2
test dl, dl
jne 0x42b755
xor eax, eax
jmp 0x42b77a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b795
add edi, 1
lea eax, [edi + edi*8]
cmp byte [eax*4 + 0x4de580], 0
lea ecx, [eax*4 + 0x4de580]
jne 0x42b753
lea ecx, [edi + edi*8]
cmp byte [ecx*4 + 0x4de580], 0
jne 0x42b7b8
mov edx, dword [0x4de480]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov eax, 0x18
pop esi
pop ecx
ret
mov esi, edi
imul esi, esi, 0xcbc
mov eax, dword [esi + 0x4cb2a8]
test eax, eax
je 0x42b7f3
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x4cb2ac]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4de480]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
xor eax, eax
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x4cbf40], eax
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x4cb2b0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42b813
lea ecx, [esp + 8]
push ecx
push 0
push edi
push 0x42a200
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x4de480]
push edx
mov dword [esi + 0x4cb2f0], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x42be60
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x3e9
cmp eax, 0x1f
ja 0x42bebf
mov eax, dword [eax*4 + 0x4de920]
test eax, eax
je 0x42bebf
cmp eax, 0xffffffff
je 0x42bebf
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42bebc
push 0
lea edx, [esp + 8]
push edx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42beae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042ba20
add esp, 4
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42bebc
mov edx, dword [esp + 4]
mov dword [eax], edx
xor eax, eax
ret
mov eax, 0x16
ret

Function at 0x42bed0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x3e9
cmp eax, 0x1f
ja 0x42bf2f
mov eax, dword [eax*4 + 0x4de920]
test eax, eax
je 0x42bf2f
cmp eax, 0xffffffff
je 0x42bf2f
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42bf2c
push 0
lea edx, [esp + 8]
push edx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42bf1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042ba20
add esp, 4
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42bf2c
mov edx, dword [esp + 4]
mov dword [eax], edx
xor eax, eax
ret
mov eax, 0x16
ret
Function at 0x42bfb0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42bfce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
jmp fcn.0042ba20
xor eax, eax
ret
Function at 0x42c990
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x34]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
cmp edx, ebp
jae 0x42c9cf
sub ecx, eax
add ecx, ebp
jmp 0x42c9d1
xor ecx, ecx
push 0xff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0x102
je 0x42ca23
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x42c9b7
lea ecx, [ecx]
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x42ca00
jmp 0x42c9b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x42d1d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
mov ebx, dword [esp + 0x10c]
push 0x7b
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42d251
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, 0xf
mov byte [esp + 0xc], 0
jmp 0x42d210
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d217
movzx ecx, byte [ebx + esi]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x10]
push 0x49f4d4
push edx
call edi
add esp, 0xc
sub esi, 1
jns 0x42d210
push 0
push 0x49e5e0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov ecx, dword [esp + 0x104]
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x104
ret
Function at 0x42e8f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
mov dword [esi + 0xcee4], eax
call fcn.0042b9a0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x42b980
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [esi + 0xcee8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop esi
ret

Function at 0x42e940
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
mov dword [esi + 0x25320], eax
call fcn.0042b9f0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x42b9d0
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x25324], eax
xor eax, eax
pop esi
ret
Function at 0x432230
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push edx
call fcn.00431bf0
add esp, 0xc
test eax, eax
jne 0x4322ac
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
xor esi, esi
test edi, edi
jbe 0x432287
movzx eax, byte [esi + ebp]
xor edx, edx
mov ecx, ebx
mov dh, bl
shr ecx, 8
xor eax, ecx
and eax, 0xff
add esi, 1
xor dx, word [eax*2 + 0x4b9420]
cmp esi, edi
movzx ebx, dx
jb 0x432261
push ebp
call fcn.0042b970
mov ecx, dword [esp + 0x20]
not ebx
movzx eax, bx
imul eax, eax, 0x29
add esp, 4
push eax
push str.CheckKey
push ecx
call fcn.00431f40
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x4322c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push str.CheckKey
push esi
call fcn.00432020
test eax, eax
je 0x4322e8
mov eax, 0x5b
pop esi
add esp, 8
ret 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00431bf0
add esp, 0xc
test eax, eax
jne 0x4323be
push ebx
push ebp
mov ebp, dword [esp + 0x18]
cmp ebp, 1
mov ebx, 0x5b
mov esi, ebp
je 0x4323b1
lea esp, [esp]
cmp byte [esi], 0x20
jne 0x43232d
add esi, 1
cmp byte [esi], 0x20
je 0x432325
push 8
push esi
push str.CheckKey
call fcn.004833f7
add esp, 0xc
test eax, eax
je 0x43236a
push 0xa
push esi
call fcn.00481160
add eax, 1
mov esi, eax
add esp, 8
cmp esi, 1
jne 0x432320
push ebp
call fcn.0042b970
add esp, 4
pop ebp
mov eax, ebx
pop ebx
pop esi
add esp, 8
ret 4
push edi
sub esi, ebp
xor ecx, ecx
xor edi, edi
test esi, esi
jle 0x43239b
movzx eax, byte [edi + ebp]
mov edx, ecx
shr edx, 8
xor eax, edx
xor edx, edx
mov dh, cl
and eax, 0xff
add edi, 1
xor dx, word [eax*2 + 0x4b9420]
cmp edi, esi
movzx ecx, dx
jl 0x432375
mov eax, 0xc7ce0c7d
mul dword [esp + 0x10]
shr edx, 5
not ecx
cmp dx, cx
pop edi
jne 0x4323b1
xor ebx, ebx
push ebp
call fcn.0042b970
add esp, 4
pop ebp
mov eax, ebx
pop ebx
pop esi
add esp, 8
ret 4
Function at 0x448620
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 4]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov word [esi], ax
xor eax, eax
push edi
xor edi, edi
cmp ebp, eax
mov word [esi + 2], 2
mov byte [esi + 4], al
mov byte [esi + 5], al
mov word [esi + 6], 1
mov word [esi + 8], ax
jle 0x44867e
movzx eax, word [esi + 8]
movzx ecx, byte [esi + edi + 0x10]
mov edx, eax
shr edx, 8
xor ecx, edx
xor edx, edx
mov dh, al
and ecx, 0xff
add edi, 1
xor dx, word [ecx*2 + 0x4b9420]
cmp edi, ebp
mov word [esi + 8], dx
jl 0x448651
movzx ecx, byte [esi]
add byte [esi + 4], cl
mov cl, byte [esi + 4]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov word [esi + 0xa], bp
movzx edx, byte [esi + 1]
add dl, cl
mov byte [esi + 4], dl
lea eax, [esi + 1]
movzx ecx, byte [eax + 1]
add byte [esi + 4], cl
add eax, 1
movzx edx, byte [eax + 1]
add byte [esi + 4], dl
add eax, 1
movzx ecx, byte [eax + 2]
add byte [esi + 4], cl
add eax, 2
movzx edx, byte [eax + 1]
add byte [esi + 4], dl
add eax, 1
movzx ecx, byte [eax + 1]
add byte [esi + 4], cl
add eax, 1
movzx edx, byte [eax + 1]
add byte [esi + 4], dl
add eax, 1
movzx ecx, byte [eax + 1]
add byte [esi + 4], cl
add eax, 1
movzx edx, byte [eax + 1]
add byte [esi + 4], dl
add eax, 1
movzx ecx, byte [eax + 1]
add byte [esi + 4], cl
add eax, 1
movzx edx, byte [eax + 1]
add byte [esi + 4], dl
add eax, 1
movzx ecx, byte [eax + 1]
add byte [esi + 4], cl
movzx edx, byte [eax + 2]
mov cl, byte [esi + 4]
add eax, 1
add dl, cl
pop edi
mov byte [esi + 4], dl
pop esi
pop ebp
ret
Function at 0x452c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x98
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
push edi
call fcn.0042ca90
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
and eax, 0x10
mov dword [esp + 0x10], eax
mov esi, 8
xor ebx, ebx
jmp 0x452cc4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x452d3d
lea eax, [esp + 0x18]
push eax
call fcn.004529d0
lea ecx, [esp + 0x23]
push 0xc
push ecx
mov byte [esp + 0x24], 0x5c
call fcn.004529e0
push 0xa
push 0xc
lea edx, [esp + 0x38]
push edx
push 1
push 0xa
lea eax, [esp + 0x38]
push eax
lea ecx, [ebp + 4]
push ecx
call fcn.0042da90
add esp, 0x28
test eax, eax
jne 0x452d37
mov edx, dword [esp + 0x2c]
push edx
call fcn.00452a50
mov edi, eax
mov eax, dword [esp + 0x2c]
imul edi, edi, 0x64
push eax
call fcn.00452a50
mov ecx, eax
mov eax, edi
cdq
idiv ecx
mov ecx, 0x64
add esp, 8
sub ecx, eax
mov dword [ebp + 0xcefc], ecx
jns 0x452d3d
mov dword [ebp + 0xcefc], ebx
push 0x1f4
call fcn.0042c960
add esp, 4
sub esi, 1
jne 0x452cc0
lea edi, [ebp + 4]
lea edx, [esp + 0x18]
push edx
call fcn.004529d0
push 0xf
push ebx
push ebx
push 3
push 6
mov eax, edx
push eax
push edi
mov byte [esp + 0x38], bl
call fcn.0042da90
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x452dbe
lea ecx, [esp + 0x18]
push ecx
call fcn.004529d0
lea edx, [esp + 0x23]
push 0x22
push edx
mov byte [esp + 0x24], 0x51
call fcn.004529e0
push 0x23
push 0x22
lea eax, [esp + 0x38]
push eax
push 1
push 0xa
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.0042da90
mov esi, eax
add esp, 0x28
cmp esi, ebx
je 0x452ed0
push esi
call fcn.00452af0
add esp, 4
cmp eax, 2
jne 0x452dda
push esi
call fcn.00452b00
add esp, 4
cmp eax, 4
je 0x452e25
push esi
call fcn.00452b00
mov ecx, eax
add esp, 4
cmp ecx, 0x64
jne 0x452df7
push esi
call fcn.00452b10
add esp, 4
test eax, eax
je 0x452e25
cmp ecx, 6
jne 0x452e0a
push esi
call fcn.00452b10
add esp, 4
cmp eax, 0x28
je 0x452e25
cmp ecx, 9
jne 0x452ecc
push esi
call fcn.00452b10
add esp, 4
cmp eax, 3
jne 0x452ecc
call fcn.0042ca90
sub eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xb0]
ja 0x452ec5
cmp dword [esp + 0x10], ebx
je 0x452eb3
lea edx, [esp + 0x18]
push edx
call fcn.004529d0
lea eax, [esp + 0x23]
push 0xc
push eax
mov byte [esp + 0x24], 0x5c
call fcn.004529e0
push 0xa
push 0xc
lea ecx, [esp + 0x38]
push ecx
push 1
push 0xa
lea edx, [esp + 0x38]
push edx
push edi
call fcn.0042da90
add esp, 0x28
test eax, eax
jne 0x452ead
mov eax, dword [esp + 0x2c]
push eax
call fcn.00452a50
mov ecx, dword [esp + 0x2c]
mov esi, eax
push ecx
imul esi, esi, 0x64
call fcn.00452a50
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov ecx, 0x64
add esp, 8
sub ecx, eax
mov dword [ebp + 0xcefc], ecx
jns 0x452eb3
mov dword [ebp + 0xcefc], ebx
push 0x1f4
call fcn.0042c960
add esp, 4
jmp 0x452d56
mov eax, 0x1d
jmp 0x452edf
cmp esi, ebx
jne 0x452edd
push 0x1388
call fcn.0042c960
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x98
ret
Function at 0x455760
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
jmp 0x455770
movzx edx, byte [eax + 0x4b9620]
xor byte [ecx + eax + 0xc], dl
movzx edx, byte [eax + 0x4b9621]
xor byte [ecx + eax + 0xd], dl
movzx edx, byte [eax + 0x4b9622]
xor byte [ecx + eax + 0xe], dl
movzx edx, byte [eax + 0x4b9623]
xor byte [ecx + eax + 0xf], dl
movzx edx, byte [eax + 0x4b9624]
xor byte [ecx + eax + 0x10], dl
movzx edx, byte [eax + 0x4b9625]
xor byte [ecx + eax + 0x11], dl
add eax, 6
cmp eax, 0x924
jb 0x455770
ret

Function at 0x4558b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x4558dd
mov ecx, dword [esp + 8]
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4af538]
add ecx, 1
sub esi, 1
jne 0x4558c0
pop esi
ret
Function at 0x45e3f0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x104], eax
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x45e433
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004810ab
add esp, 0x108
ret
cmp dword [esp + 0x10c], 0
je 0x45e49f
push 0x100
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 4]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x45e456
mov edx, dword [str.__IC]
mov cl, byte [0x4a1a58]
mov dword [eax], edx
mov byte [eax + 4], cl
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45e478
sub eax, edx
push eax
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 1
push 0
push str.Zulu2
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x45e4ae
mov ecx, dword [esp]
push str.Zulu2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x104]
xor ecx, esp
mov eax, 1
call fcn.004810ab
add esp, 0x108
ret

Function at 0x45e4e0
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersCancelAutoplayClsid
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45e51c
mov ecx, dword [esp]
push 1
push 0x49e5e0
push 1
push eax
push str.9E7BEACB_33F4_4c97_9775_239BB82C690E
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x45e520
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push 1
push 5
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x45e53c
mov dword [esi], 0x5c3a63
push esi
call fcn.00475fa0
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x45e550
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 1
push 0xd
push esi
push 0
call edi
test eax, eax
jne 0x45e593
push 1
push 5
push esi
push eax
call edi
test eax, eax
jne 0x45e593
push 1
push 0x35
push esi
push eax
call edi
test eax, eax
jne 0x45e593
push 1
push 0x2e
push esi
push eax
call edi
test eax, eax
jne 0x45e593
mov dword [esi], 0x5c3a63
push esi
call fcn.00475fa0
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x45e5b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
cmp edx, ebp
jae 0x45e5ed
sub ecx, eax
add ecx, ebp
jmp 0x45e5ef
xor ecx, ecx
push 0xff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0x102
je 0x45e6b1
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x45e5d5
nop
mov edx, dword [0x4defb8]
mov eax, dword [esi + 0x1b0]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x45e695
mov eax, dword [esi + 0x198]
test eax, eax
je 0x45e653
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
test eax, eax
jne 0x45e695
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x45e669
lea edx, [esp + 0x14]
push edx
push eax
call edi
test eax, eax
jne 0x45e695
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x45e67f
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
test eax, eax
jne 0x45e695
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
test eax, eax
jne 0x45e620
jmp 0x45e5d5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret