joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010028
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10010089
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001007f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10010087
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x100100ed
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100100d2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.1002ba5b
mov dword [eax], 1
jmp 0x100100ed
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100100ed
push 0x7f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret

Function at 0x100118a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10011954
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1001193c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jbe 0x1001193a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jbe 0x1001193a
push 0x7710
mov eax, dword [ebp - 0x24]
push dword [eax]
push dword [ebp - 0x10]
push 0x68a7
lea eax, [ebp - 0x14]
push eax
push 0x3b2b
push 1
push 1
call fcn.10010231
add esp, 0x20
jmp 0x10011909
jmp 0x10011952
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10011952
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10011970
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.1000cb05
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100198c8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100198f7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
call fcn.10019992
add esp, 0xc
jmp 0x1001998e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1001996c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001993b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jne 0x1001996a
mov dword [ebp - 0x20], 0x580d416d
cmp dword [ebp - 0x20], 0
je 0x10019952
jmp 0x1001996a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10019968
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10019930
jmp 0x1001998e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001dc39
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001dc88
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1001dc79
push 0x722
call dword [sym.imp.USER32.dll_GetKeyboardType]
jmp 0x1001dc83
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x1001dd74
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1001dcab
push 0
call dword [sym.imp.USER32.dll_RegisterClassA]
jmp 0x1001dd74
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xfffffffd
jmp 0x1001dccd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 6
jl 0x1001dd74
push 2
lea ecx, [ebp - 0x38]
call fcn.1002b976
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x1001dcf7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1001dd10
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
call fcn.1002ba5b
mov dword [eax], 0x7e4fc22
jmp 0x1001dcf0
push 0
lea ecx, [ebp - 0x38]
call fcn.1002ba5b
and dword [eax], 0
jmp 0x1001dd37
push 0
lea ecx, [ebp - 0x38]
call fcn.1002ba5b
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x38]
call fcn.1002ba5b
cmp dword [eax], 0xfffffff4
je 0x1001dd63
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1001dd61
push 0x11f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x1001dd1f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1002ba4d
jmp 0x1001dcc2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10025b13
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006801f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025c23
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10025c14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10025c12
push 4
lea ecx, [ebp - 0x58]
call fcn.1002b976
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xc29000d4
mov dword [ebp - 0x14], 0
jmp 0x10025ba3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10025bbc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.1002ba5b
mov dword [eax], 0x3b910207
jmp 0x10025b9c
mov dword [ebp - 0x10], 0
jmp 0x10025bcc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x10025be6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1002ba5b
cmp dword [eax], 0
je 0x10025be4
jmp 0x10025be6
jmp 0x10025bc5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1002ba4d
push 0x54b
mov eax, dword [ebp - 0x30]
push dword [eax]
push 1
push 0x5094
mov eax, dword [ebp - 0x18]
push dword [eax]
push 1
call fcn.100118a0
add esp, 0x18
jmp 0x10025c21
push 0x130
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x10025c7b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10025c5f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10025c5d
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x10025c7b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10025c7b
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100267f5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10026876
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026829
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10026874
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10026857
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10026874
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002ba5b
mov dword [eax], 0xfffffffd
jmp 0x1002684c
jmp 0x100268b5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
push 0x4455
push 0x6f85
push 0x1d6d
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x222f
push 0x16f9
push 0
push 0x2468
push 0x6f57
call fcn.1000ef91
add esp, 0x28
mov esp, ebp
pop ebp
ret

Function at 0x10026a93
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10026b13
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026ac9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10026b11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10026af7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10026b11
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002ba5b
or dword [eax], 0xffffffff
jmp 0x10026aec
jmp 0x10026b1b
push 0
call fcn.1000c3dd
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003e951
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
inc ebx
lea ecx, [ebp - 0x38]
push ebx
mov edi, edx
call fcn.1002b976
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x1003e981
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x1003e971
mov dword [ebp - 8], edx
jmp 0x1003e995
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1003e98b
mov dword [ebp - 0x18], edx
jmp 0x1003e9b0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 6
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x1003e9a0
lea ecx, [ebp - 0x38]
call fcn.1002c9a6
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1002b976
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
jmp 0x1003e9de
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x14], 0x7862
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1003e9d0
mov dword [ebp - 8], edx
jmp 0x1003e9f5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x1003e9e9
mov eax, dword [ebp - 0x2c]
mov dword [eax], ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], edx
jl 0x1003ea38
mov dword [ebp - 0xc], 0x1151c3c3
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
je 0x1003ea2c
push 0x130
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor edx, edx
mov dword [ebp - 0xc], 0xfffffffb
dec dword [ebp - 8]
jns 0x1003ea0e
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
dec dword [eax]
jns 0x1003e9ff
mov dword [ebp - 0xc], edx
jmp 0x1003ea67
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], edx
jl 0x1003ea64
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x14], edx
jne 0x1003ea64
dec dword [ebp - 8]
jns 0x1003ea56
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jle 0x1003ea47
lea ecx, [ebp - 0x2c]
call fcn.1002c9a6
xor edx, edx
mov dword [esi], edx
jmp 0x1003ea83
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
inc dword [esi]
cmp dword [esi], ebx
jl 0x1003ea7a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100480f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10068cb8
call fcn.10067358
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x1bc7
cmp dword [ebp - 0x14], 0x1d3d
push edi
mov dword [ebp - 0x10], esp
jle 0x10048148
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x10659cb8
xor eax, esi
cdq
push edx
push eax
call fcn.1002b73f
inc ebx
cmp ebx, 0x5536
jl 0x10048118
inc edi
cmp edi, 0x7b89
jl 0x10048116
inc esi
cmp esi, 0x354
jl 0x10048114
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1999
jge 0x10048164
mov edx, 0x1000ac08
mov ecx, 0x10659cb8
call fcn.10030295
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063485
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006d770]
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.10053ef8
mov dword [ebp - 0x14], eax
cmp dword [0x1065ade4], esi
jne 0x10063578
push 0x800
push esi
push 0x1000a564
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10063505
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10063658
push esi
push esi
push 0x1000a564
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10063658
push 0x1000a57c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10063658
push eax
call ebx
push 0x1000a588
push edi
mov dword [0x1065ade4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a598
push edi
mov dword [0x1065ade8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a5ac
push edi
mov dword [0x1065adec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065adf4], eax
test eax, eax
je 0x10063575
push 0x1000a5c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065adf0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006359d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10063590
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100635b2
push 4
pop eax
jmp 0x1006365a
cmp dword [ebp - 0x14], esi
je 0x100635b2
push dword [0x1065ade4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10063597
mov eax, dword [0x1065adf0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10063610
cmp dword [0x1065adf4], edi
je 0x10063610
push eax
call ebx
push dword [0x1065adf4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10063610
test eax, eax
je 0x10063610
call ecx
test eax, eax
je 0x10063605
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 0x10063605
test byte [ebp - 8], 1
jne 0x10063610
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10063640
mov eax, dword [0x1065ade8]
cmp eax, edi
je 0x1006363d
push eax
call ebx
test eax, eax
je 0x1006363d
call eax
mov esi, eax
test esi, esi
je 0x1006363d
mov eax, dword [0x1065adec]
cmp eax, edi
je 0x1006363d
push eax
call ebx
test eax, eax
je 0x1006363d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065ade4]
call ebx
test eax, eax
je 0x10063658
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006365a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100514d3
mov esp, ebp
pop ebp
ret
Function at 0x10bff000
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1006c008
call fcn.10067358
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x10bff16f
push dword [esi]
xor ebx, ebx
push ebx
push dword [esi + 4]
call fcn.100426e5
add esp, 0xc
lea ecx, [ebp - 0x30]
xor edi, edi
inc edi
push edi
call fcn.1002b976
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
jmp 0x10bff04d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x24], 0x7862
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10bff03f
mov dword [ebp - 0x18], ebx
jmp 0x10bff064
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10bff058
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x10bff0a4
mov dword [ebp - 0x1c], 0x1151c3c3
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x10bff098
push 0x130
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x1c], 0xfffffffb
dec dword [ebp - 0x18]
jns 0x10bff07d
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
dec dword [eax]
jns 0x10bff06e
mov dword [ebp - 0x1c], ebx
jmp 0x10bff0d3
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x10bff0d0
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x24], ebx
jne 0x10bff0d0
dec dword [ebp - 0x18]
jns 0x10bff0c2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x10bff0b3
lea ecx, [ebp - 0x30]
call fcn.1002c9a6
push dword [esi + 4]
call fcn.10050017
movdqa xmm0, xmmword [0x1000ada0]
lea eax, [ebp - 0x48]
pop ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
mov dword [esi + 4], ebx
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x3c], ebx
push eax
push ebx
movdqu xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.10031190
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], 0xfffffff6
push edi
call fcn.1002b976
mov dword [ebp - 0x1c], ebx
jmp 0x10bff13e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], 0xffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10bff12e
mov dword [ebp - 0x1c], ebx
jmp 0x10bff157
mov dword [ebp - 0x18], 0xfffffffc
cmp dword [ebp - 0x18], ebx
jne 0x10bff15d
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x10bff148
lea ecx, [ebp - 0x48]
call fcn.1002c9a6
lea ecx, [ebp - 0x3c]
call fcn.1002c9a6
mov dword [esi], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40611c
pop dword [ebp - 0x3c]
mov eax, 0x40611c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xe6bbd754
add dword [ebp - 0x4c], 0x67966df7
mov dword [ebp - 0x48], 0xd64af2e5
sub dword [ebp - 0x48], 0xa417a6a0
mov dword [ebp - 0x44], 0x2200a104
add dword [ebp - 0x44], 0x2a4ba32a
mov dword [ebp - 0x40], 0x1bb66a5b
sub dword [ebp - 0x40], 0x1bb66a5b
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xf3b4a4eb
sub eax, 0xf374348b
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x7baa3ee5
add dword [ebp - 0x4c], 0xf8c82a71
mov dword [ebp - 0x48], 0xa53df934
sub dword [ebp - 0x48], 0x63d197bf
mov dword [ebp - 0x44], 0x525eebc2
sub dword [ebp - 0x44], 0xeeef7f56
mov dword [ebp - 0x40], 0x81f58398
add dword [ebp - 0x40], 0x7e0a7c68
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3574f
push 0
call eax
mov ecx, 0x4365
mov esi, eax
mov edi, 0xd6ec86eb
sub edi, 0xd6ab86eb
add edi, dword [ebp - 0x3c]
mov ebx, 0x1e095533
sub dword [ebp - 0x18], edi
mov edx, dword [edi]
xor dword [ebp - 0x38], edi
xor edx, ebx
xor dword [ebp - 0x2c], ebx
mov dword [esi], edx
xor dword [ebp - 0x34], 0x694917c4
add esi, 0xc18e9e63
sub esi, 0xc18e9e5f
add edi, 4
loop 0x406228
add eax, 0x75686dfe
add eax, 0x8a989269
xor ebx, ebx
add ebx, eax
add eax, 0x936aca17
add eax, 0x6c9535ee
mov ecx, 0x6aead6ce
add ecx, 0x95552932
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941