joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409aef
mov dword [ebp - 0x14], eax
cmp dword [0x432e60], esi
jne 0x40eda6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ed33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ee86
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ee86
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ee86
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x432e60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x432e64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x432e68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432e70], eax
test eax, eax
je 0x40eda3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432e6c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40edcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40edbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ede0
push 4
pop eax
jmp 0x40ee88
cmp dword [ebp - 0x14], esi
je 0x40ede0
push dword [0x432e60]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40edc5
mov eax, dword [0x432e6c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ee3e
cmp dword [0x432e70], edi
je 0x40ee3e
push eax
call ebx
push dword [0x432e70]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ee3e
test eax, eax
je 0x40ee3e
call ecx
test eax, eax
je 0x40ee33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ee33
test byte [ebp - 8], 1
jne 0x40ee3e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ee6e
mov eax, dword [0x432e64]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
call eax
mov esi, eax
test esi, esi
je 0x40ee6b
mov eax, dword [0x432e68]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x432e60]
call ebx
test eax, eax
je 0x40ee86
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ee88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414c
mov esp, ebp
pop ebp
ret
Function at 0x401b80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov byte [ebp - 9], 0
push 0x40
push edi
call fcn.004015dc
test eax, eax
jne 0x401c85
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x401c85
cmp dword [eax + 0x3c], 0
je 0x401c85
mov ebx, dword [eax + 0x3c]
add ebx, eax
push 0xf8
push ebx
call fcn.004015dc
test eax, eax
jne 0x401bd8
cmp dword [ebx], 0x4550
je 0x401bda
xor ebx, ebx
test ebx, ebx
je 0x401c85
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401c85
mov esi, edi
add esi, eax
mov eax, dword [ebp - 4]
call fcn.00401138
mov dword [ebp - 0x1c], eax
jmp 0x401c7f
mov eax, edi
add eax, dword [esi + 0xc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00401420
test eax, eax
jne 0x401c7c
mov ebx, edi
add ebx, dword [esi + 0x10]
jmp 0x401c77
mov eax, dword [ebx]
cmp eax, dword [ebp - 8]
jne 0x401c74
lea eax, [ebp - 0x20]
push eax
push 0x80
push 4
push ebx
call fcn.004015f4
test eax, eax
je 0x401c74
mov eax, dword [ebp + 8]
mov dword [ebx], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 4
push ebx
call fcn.004015f4
test eax, eax
push 0
push 0
call fcn.00401510
push eax
call fcn.00401500
mov byte [ebp - 9], 1
add ebx, 4
cmp dword [ebx], 0
jne 0x401c2e
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x401c10
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401c66
pop dword [ebp - 0x30]
mov eax, 0x35765ccd
add eax, 0xcac9bf99
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xecb3aae7
sub dword [ebp - 0x40], 0x9e61659c
mov dword [ebp - 0x3c], 0xc1c1604d
add dword [ebp - 0x3c], 0x7071ebf8
mov dword [ebp - 0x38], 0x90faf282
add dword [ebp - 0x38], 0xbb5151ac
mov dword [ebp - 0x34], 0x69a650f8
add dword [ebp - 0x34], 0x9659af08
lea eax, [ebp - 0x40]
push eax
mov eax, 0x482ff0e2
add eax, 0xb8103f72
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x6680b981
add dword [ebp - 0x40], 0xdf1afd5
mov dword [ebp - 0x3c], 0xf1146cb9
sub dword [ebp - 0x3c], 0xafa80b44
mov dword [ebp - 0x38], 0x2f9eb394
add dword [ebp - 0x38], 0x33d0b8d8
mov dword [ebp - 0x34], 0xd42bd2c1
sub dword [ebp - 0x34], 0xd42bd2c1
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x52c544b3
add eax, 0xad7aeb79
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x369ce
push 0
call eax
mov ecx, 0x4887
xor ebx, ebx
add ebx, eax
mov edi, 0x46057d57
sub edi, 0x45c50d57
add edi, dword [ebp - 0x30]
mov edx, 0xa8b794e
add edx, 0x113980f4
mov esi, dword [edi]
xor dword [ebp - 0x18], ebx
xor esi, edx
add dword [ebp - 0xc], eax
mov dword [ebx], esi
sub dword [ebp - 4], 0x24eea631
add ebx, 4
add edi, 0xaf10090e
sub edi, 0xaf10090a
loop 0x401d84
add eax, 0x205b2c6a
add eax, 0xdfa5e885
mov ebx, eax
add eax, 0x3d51bbb6
add eax, 0xc2ae444f
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x409450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4094a2
test eax, edx
je 0x4094a5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409465
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40948b
add ecx, 4
js 0x40947b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409488
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4094b1
test edx, edx
jne 0x409458
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x455db8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x455dcb
add esp, 0xfffffff0
call fcn.00404668
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x455e44
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404314
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00455fb0
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.004052b4
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x455e70
call fcn.00405578
mov ecx, esi
mov dl, 1
mov eax, dword [0x455b7c]
call fcn.00456574
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455e4b
lea eax, [ebp - 4]
call fcn.00405260
ret

Function at 0x455ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor edx, edx
push ebp
push 0x455f6b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00456568
mov ebx, eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.004052b4
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.0040a2b8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004052b4
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.004052b4
test edi, edi
je 0x455f2d
mov edx, edi
mov eax, ebx
call fcn.00457238
jmp 0x455f3a
lea eax, [ebx + 0x14]
mov edx, 0x455f88
call fcn.004052b4
test esi, esi
je 0x455f48
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.004052b4
lea eax, [ebx + 0x18]
mov edx, 0x455f9c
call fcn.004052b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455f72
lea eax, [ebp - 0xc]
call fcn.00405260
ret
Function at 0x459278
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4592d2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0045926c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00457a70
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045764c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4592d9
lea eax, [ebp - 4]
call fcn.00405260
ret
Function at 0x4754d8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4754de
ret

Function at 0x485d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x485eeb
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004059e4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x485f04
call fcn.00405578
mov eax, ebx
call fcn.00421694
mov edi, eax
dec edi
test edi, edi
jl 0x485de8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421668
mov edx, dword [0x47ee70]
call fcn.004044d0
test al, al
je 0x485de4
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00421668
lea edx, [ebp - 0x14]
call fcn.0049514c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004059e4
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004055f4
inc esi
dec edi
jne 0x485d96
movzx eax, byte [0x485f08]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x485f14
mov eax, dword [ebp - 8]
call fcn.0040f104
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004052f8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0049514c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x485f04
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0049514c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x485f04
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x485f04
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x485f20
call fcn.0040aec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ef2
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405284
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405284
lea eax, [ebp - 0x14]
call fcn.00405260
lea eax, [ebp - 0x10]
call fcn.00405260
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405284
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401c66
pop dword [ebp - 0x30]
mov eax, 0x401c66
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x20132a39
sub dword [ebp - 0x40], 0xd1c0e4ee
mov dword [ebp - 0x3c], 0x56cb13ed
sub dword [ebp - 0x3c], 0x2497c7a8
mov dword [ebp - 0x38], 0x3d5b391a
add dword [ebp - 0x38], 0xef10b14
mov dword [ebp - 0x34], 0x4e45614c
sub dword [ebp - 0x34], 0x4e45614c
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xe3d3fbaf
sub dword [ebp - 0x40], 0x6f619259
mov dword [ebp - 0x3c], 0x1a6988b9
sub dword [ebp - 0x3c], 0xd8fd2744
mov dword [ebp - 0x38], 0x4fc0ec90
sub dword [ebp - 0x38], 0xec518024
mov dword [ebp - 0x34], 0xf5890762
add dword [ebp - 0x34], 0xa76f89e
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xed74a941
sub eax, 0xed347915
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x353ee
push 0
call eax
mov ecx, 0x2d72bcf0
add ecx, 0xd28d861f
mov edi, eax
mov ebx, 0x77d9092a
sub ebx, 0x7798992a
add ebx, dword [ebp - 0x30]
mov edx, 0xa7cae506
xor dword [ebp - 8], edx
mov esi, dword [ebx]
sub dword [ebp - 0x1c], ecx
sub esi, edx
add dword [ebp - 0x1c], eax
mov dword [edi], esi
add edi, 0x90e6e98d
sub edi, 0x90e6e989
add ebx, 4
loop 0x401d78
add eax, 0x88064e73
add eax, 0x77fab09c
xor ebx, ebx
add ebx, eax
add eax, 0x53c03e81
add eax, 0xac3fc184
mov ecx, 0x39b7dbe3
add ecx, 0xc688241d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x407080
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
lea eax, [eax + eax*2]
lea esi, [eax + eax*4]
mov eax, dword [0x46b284]
shl esi, 3
mov ecx, dword [esi + eax + 0x14]
test ecx, ecx
ja 0x4070ab
mov ecx, dword [esi + eax + 0x10]
test ecx, ecx
jbe 0x407106
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x46a180
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407106
mov eax, dword [0x46b284]
push 0
mov edx, dword [esi + eax + 0xc]
mov eax, dword [esi + eax + 8]
push edx
push eax
push ebx
call fcn.00406aa0
mov ecx, dword [0x46b284]
mov edx, dword [esi + ecx + 0x10]
push edx
call fcn.0040ff21
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40710c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [0x46b284]
lea eax, [esp + 0x10]
push 0
push eax
mov edx, dword [esi + ecx + 0x10]
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x407179
mov eax, dword [esp + 0x14]
push 0x465070
push eax
call fcn.0040fca3
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40715c
push edi
call fcn.0040fb3a
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x46b284]
push ebx
push 1
mov edx, dword [esi + ecx + 0x10]
push edx
push edi
call fcn.004103ff
push ebx
call fcn.0040fabd
add esp, 0x14
push edi
call fcn.0040fb3a
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x407190
Capabilities:
Get common file path

Disassembly:
sub esp, 0x828
push ebx
push ebp
mov ebp, dword [esp + 0x834]
push esi
push edi
mov edi, dword [esp + 0x844]
lea eax, [ebp + ebp*8]
mov dword [edi], 0
mov dword [edi + 4], 0
lea eax, [ebp + eax*8]
lea eax, [eax + eax*2]
lea esi, [eax + eax*4]
mov eax, dword [0x46b284]
shl esi, 3
mov ecx, dword [esi + eax + 0x14]
test ecx, ecx
ja 0x4071df
mov ecx, dword [esi + eax + 0x10]
test ecx, ecx
jbe 0x40734b
mov ebx, dword [esp + 0x840]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
call fcn.00410232
add esp, 4
cmp word [ebx + eax*2 - 2], 0x5c
je 0x407211
push 0x465634
push ebx
call fcn.0040fc23
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x220]
push ecx
push edx
mov edx, dword [0x46b284]
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x63c]
lea eax, [esi + edx + 0x1c]
push ecx
push eax
call fcn.00410617
lea ecx, [esp + 0x234]
push ecx
push ebx
call fcn.0040fc23
lea edx, [esp + 0x34]
push edx
push ebx
call fcn.0040fc23
mov eax, dword [0x46b284]
add esp, 0x24
add eax, esi
mov ecx, dword [eax]
cmp ecx, 0x1a
je 0x4072f5
cmp ecx, 0x22
je 0x4072f5
cmp ecx, 0x33
je 0x4072f5
cmp ecx, 0xa
je 0x4072f5
cmp ecx, 0x32
je 0x4072f5
cmp ecx, 0x59
je 0x4072f5
cmp ecx, 0x1f
je 0x4072f5
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov ecx, dword [0x46b284]
mov edx, dword [edi]
mov eax, dword [esi + ecx + 0x10]
mov ecx, dword [esi + ecx + 0x14]
add eax, edx
mov edx, dword [edi + 4]
adc ecx, edx
mov dword [esp + 0x14], ecx
jne 0x4072cd
cmp eax, 0x7fffffff
jae 0x4072cd
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x828
ret
mov dword [edi], 0
mov dword [edi + 4], 0
push ebx
call fcn.00410285
push ebx
push ebp
call fcn.00407080
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x828
ret
mov eax, dword [0x469a74]
test eax, eax
je 0x407320
push 0x46b4c0
push ebx
call fcn.00410538
add esp, 8
test eax, eax
jne 0x407320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x828
ret
mov eax, dword [0x469a70]
test eax, eax
je 0x4072da
push 0x469f60
push ebx
call fcn.00410538
add esp, 8
test eax, eax
jne 0x4072da
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x828
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x828
ret
Function at 0x407a80
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x469a70]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407bb7
mov ecx, dword [0x469a70]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x469
push ecx
call esi
mov edx, dword [0x469a70]
push 0
push 0
push 0x467
push edx
mov edi, eax
call esi
sub edi, eax
mov eax, 0x66666667
imul edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
call edi
test ax, ax
jge 0x407af0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x10
call edi
test ax, ax
jge 0x407b0c
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebx, edx
cmp ebx, 1
jg 0x407b16
mov ebx, 1
mov edx, dword [0x469a70]
push 0
push 0x65
push 0x808
push edx
call esi
mov eax, dword [0x469a70]
push 0
push 0
push 0x4ca
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
cmp ax, 1
jne 0x407b49
add edi, ebx
jmp 0x407b50
test ax, ax
jne 0x407b50
sub edi, ebx
mov ecx, dword [0x469a70]
push 0
push 0
push 0x469
push ecx
call esi
cmp edi, eax
jle 0x407b7a
mov edx, dword [0x469a70]
push 0
push 0
push 0x469
push edx
call esi
mov edi, eax
test edi, edi
jge 0x407b91
mov eax, dword [0x469a70]
push 0
push 0
push 0x467
push eax
call esi
mov edi, eax
mov ecx, dword [0x469a70]
push edi
push 0
push 0x807
push ecx
call esi
mov edx, dword [0x469a70]
push 0
push 0
push 0x806
push edx
call esi
pop edi
pop esi
pop ebx
ret

Function at 0x407c90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x469a78]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407cff
mov ecx, dword [0x469a78]
push esi
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x407ce3
mov edx, dword [esp + 0x10]
mov eax, dword [0x469a78]
push edx
push eax
call fcn.00405eb0
mov ecx, dword [esp + 0x14]
add esp, 4
and eax, 0xffff
push eax
push 0x72d
push ecx
call esi
mov edx, dword [esp + 0x18]
mov eax, dword [0x469a78]
neg edx
sbb edx, edx
push 0
and edx, 0x65
push edx
push 0x72c
push eax
call esi
pop esi
ret