joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455fc0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455fd7
add esp, 0xfffffff0
call fcn.00403430
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419e08
mov eax, dword [0x49bc30]
cmp word [eax + 2], 0
jne 0x455fff
mov eax, dword [0x49bc30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457698
mov eax, dword [0x49bce4]
cmp word [eax + 2], 0
jne 0x456019
mov eax, dword [0x49bce4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457890
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412054]
call fcn.004030dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412054]
call fcn.004030dc
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 [0x41c374]
call fcn.00423fb8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4561a0
mov eax, dword [0x49bb44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424388
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457e30
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49bb44]
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.0040c420
test eax, eax
je 0x45610e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c448
test eax, eax
je 0x456122
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.004040cc
mov eax, dword [0x49ba18]
cmp byte [eax], 0
jne 0x456156
mov eax, ebx
call fcn.004562c8
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.0045800c
mov eax, ebx
call fcn.004589d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456196
call fcn.00403488
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456548
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49cbe4]
cmp dword [eax + 0x30], 0
je 0x4565f2
cmp dword [ebx + 0x94], 0
jne 0x4565ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4564d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4565ec
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 0x4565b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4565ec
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.004143bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4565c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457154
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 0x457189
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.00403f4c
jmp 0x457196
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4581e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458229
mov eax, esi
call fcn.0043e468
test al, al
je 0x458229
mov eax, dword [ebx + 0x84]
call fcn.0043e190
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458229
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e190
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b8f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45b91e
mov eax, ebx
call fcn.0045c3a4
cmp dword [ebx + 0x40], 0
je 0x45b917
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45b98f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45b981
cmp dword [ebx + 8], 0
je 0x45b940
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45b952
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b981
cmp dword [ebx + 8], 0
je 0x45b933
cmp eax, 3
je 0x45b965
dec eax
jne 0x45b933
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45b933
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45b933
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45b9ad
cmp dword [ebx + 0x14], 0xcc
je 0x45b9ad
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b9b8
pop ebx
ret
Function at 0x4725dc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x472696
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404568
mov eax, dword [0x49ba94]
cmp byte [eax], 0
je 0x47264b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004048c8
mov eax, dword [ebx]
call fcn.004046f4
push eax
mov eax, dword [ebx]
call fcn.004046e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004046f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004048c8
jmp 0x47267d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408868
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47269d
lea eax, [ebp - 0x3f0]
call fcn.00403e5c
ret

Function at 0x4758a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4758fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00475908
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475905
ret

Function at 0x47b1ec
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x47b222
jmp 0x47b2c8
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x47b266
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x47b266
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x47b276
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x47b276
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47b28f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00477b90
jmp 0x47b2c8
mov dl, 1
mov eax, dword [0x41bbd4]
call fcn.0041db18
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041e4d0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0041d6c8
mov edx, esp
mov eax, esi
call fcn.0041e21c
mov eax, esi
call fcn.0040310c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x47d8e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043e190
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004378d4
pop ebx
ret
Function at 0x4839a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x483a5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404568
mov eax, dword [0x49ba94]
cmp byte [eax], 0
je 0x483a13
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004048c8
mov eax, dword [ebx]
call fcn.004046f4
push eax
mov eax, dword [ebx]
call fcn.004046e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004046f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004048c8
jmp 0x483a45
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408868
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483a65
lea eax, [ebp - 0x3f0]
call fcn.00403e5c
ret

Function at 0x483a6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408868
add esp, 0x3ec
pop ebx
ret

Function at 0x483c2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x483cf2
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044e838
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004838e8
mov edi, eax
test edi, edi
je 0x483c8b
mov al, byte [0x483d00]
cmp al, bl
jne 0x483c8b
mov edx, edi
mov eax, ebp
call fcn.00483820
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x483cf2
cmp byte [ebp + 0x161], 2
jne 0x483cb6
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x49bd9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00438b5c
test eax, eax
jne 0x483cf2
jmp 0x483ced
mov edx, dword [0x49bcc4]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x483ced
test byte [eax + 0x2f4], 8
jne 0x483ced
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x49bcc4]
mov eax, edx
mov edx, 0xb006
call fcn.00438b5c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x489c58
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x49bd9c]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
jne 0x489cfe
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x489c9d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x489cd9
jmp 0x489ca1
pop edx
pop eax
jge 0x489cd9
mov eax, dword [0x49bd9c]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00484a18
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x489cfe
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x489cfe
cmp dword [ebx + 0x11c], 0
je 0x489cfe
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042abdc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4948e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494a51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x494a36
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408868
mov dl, 1
mov eax, dword [0x46c90c]
call fcn.0046c964
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x412760]
call fcn.004030dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0046c9e0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x494a33
mov dl, 1
mov eax, dword [0x46dd34]
call fcn.0046dd9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x494a68
call fcn.0046cfa4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404168
xor eax, eax
push ebp
push 0x494a2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0046e09c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00494a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494a33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0040310c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040310c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040310c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494a58
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403e80
ret
Function at 0x408927
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
sub ecx, 0xd9d081e6
call fcn.0040895c
add edi, edi
sub edi, 0x6d52d80f
xor dword [ebx], eax
inc ebx
dec edi
cmp ebx, edx
jne fcn.00408927
and ecx, ecx
sub ecx, 0xe6f6604
ret

Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x43b653
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
add ebx, 0xeba27296
call fcn.0043b693
mov esi, esi
sub ebx, esi
sub esi, ebx
xor dword [ecx], edi
or ebx, esi
dec esi
mov ebx, esi
inc ecx
add ebx, 0x3203b397
and esi, esi
mov esi, 0x88c6d0e1
cmp ecx, edx
jne fcn.0043b653
sub ebx, 0xe833b0dc
sub esi, 1
ret
Function at 0x401cca
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov esi, ebx
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x5b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x2b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x5b
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xac
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xb5
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x11
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xc1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x43
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x65
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xbe
push ebx
push ebx
push ebx
call edi
sub byte [esi + section..BSS], 0x80
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x76
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xc3
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf3
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x29
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x1d
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xc7
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x4c
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x51
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xce
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xc7
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x48
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x8e
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x9d
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x1f
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xda
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x8a
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x71
inc esi
cmp esi, 0x36e00
jb 0x401cd7
pop edi
pop esi
pop ebx
ret
Function at 0x401e44
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10]
mov edi, dword [eax]
mov ebp, edi
xor ebp, 0x14d
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x14], 0x10
jb 0x401e66
mov esi, dword [esi]
shr edi, 2
xor ebx, ebx
mov dword [esp + 0x18], edi
test edi, edi
je 0x401ec3
mov dword [esp + 0x14], edi
mov edi, esi
push ebx
call dword [sym.imp.ADVAPI32.dll_IsValidAcl]
push 4
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00408b60
imul ecx, dword [esp + 0x1c], 0x5bd1e991
add esp, 0xc
imul ebp, ebp, 0x5bd1e991
add edi, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov dword [esp + 0x10], eax
sub dword [esp + 0x14], 1
jne 0x401e79
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x401ee9
sub eax, 1
je 0x401edf
sub eax, 1
jne 0x401ef7
movsx ebx, byte [esi + edi*4 + 2]
shl ebx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ebx, eax
movsx eax, byte [esi + edi*4]
xor eax, ebx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0x10
ret

Function at 0x401f13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x435018]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x46ee00]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x401f82
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.0040249c
test esi, esi
je 0x401f6f
lea ecx, [esp + 0x1c]
call fcn.00401e44
test eax, eax
je 0x401f6f
cmp eax, dword [esp + 0x14]
je 0x401f9a
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00402d5a
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401f4a
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407f54
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00402d5a
jmp 0x401f84