joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [0x40ba68]
call fcn.0040251c
pop ecx
mov dword [ebp - 0x10], eax
push 0x40ba78
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
cmp dword [ebp - 0x10], 0
jne 0x4013e8
jmp 0x40144d
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
push 0x40501c
push dword [ebp - 0x10]
call fcn.00403337
pop ecx
pop ecx
mov dword [ebp - 8], eax
push 0x40ba78
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push dword [0x40ba70]
push dword [0x40500c]
push dword [0x405008]
push dword [0x40ba74]
push 0x40b668
call dword [ebp - 8]
add esp, 0x14
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
push 0x3a98
call dword [sym.imp.KERNEL32.DLL_Sleep]
leave
ret

Function at 0x40144f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
and dword [ebp - 0x44c], 0
mov dword [0x41a4ec], 0x64ff
push 0x64ff
call fcn.004036ec
pop ecx
mov dword [0x41a4e4], eax
push 0x64ff
push 0x405020
push dword [0x41a4e4]
call fcn.00401922
add esp, 0xc
push 0x100
call fcn.004036ec
pop ecx
mov dword [0x41a4e8], eax
push 0x100
push 0x40b520
push dword [0x41a4e8]
call fcn.00401922
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [0x40ba74], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x40ba80], eax
cmp dword [0x40ba80], 0
jne 0x4014e2
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push str.VirtualProtect
push dword [0x40ba80]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x40ba6c], eax
cmp dword [0x40ba6c], 0
jne 0x401509
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.0040103e
test eax, eax
je 0x40151a
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
push 0x40ba78
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push dword [0x41a4ec]
call fcn.004036ec
pop ecx
mov dword [0x40ba68], eax
and dword [ebp - 0x30c], 0
jmp 0x40155d
mov eax, dword [ebp - 0x30c]
inc eax
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
cmp eax, dword [0x41a4ec]
jae 0x4015b3
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x41a4e4]
add eax, dword [ebp - 0x30c]
mov al, byte [eax]
mov byte [ebp - 0x208], al
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
movzx eax, byte [ebp - 0x208]
mov ecx, dword [0x40ba68]
add ecx, dword [ebp - 0x30c]
mov edx, dword [0x41a4e8]
mov al, byte [edx + eax]
mov byte [ecx], al
jmp 0x401550
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
push dword [0x41a4ec]
push 0x40ba84
push dword [0x40ba68]
jmp loc.0041b000
Function at 0x402a08
Capabilities:
Check for time delay via queryperformancecounter
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
and dword [ebp - 0x14], 0
jmp 0x402a5e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x402bd3
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x402b45
push 0x40ba78
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
push 0x40ba78
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
cmp dword [ebp - 4], 0
jle 0x402b33
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
push 4
push 0x1000
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call fcn.00401960
add esp, 0xc
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
jmp 0x402a4e
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xc]
call fcn.00401922
add esp, 0xc
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
jmp 0x402a4e
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
leave
ret
Function at 0x40375c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403785
cmp al, 0x22
je 0x40377d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403771
cmp byte [esi], 0x22
jne 0x40378f
inc esi
jmp 0x40378f
cmp al, 0x20
jle 0x40378f
inc esi
cmp byte [esi], 0x20
jg 0x403789
mov al, byte [esi]
test al, al
je 0x403799
cmp al, 0x20
jle 0x403782
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.00403807
push 0x405004
push section..data
call fcn.004037ed
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4037c9
movzx eax, word [ebp - 0x14]
jmp 0x4037cc
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040381f
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

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 0x45dc80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3d000]
push edi
or ebp, 0xffffffff
jmp 0x45dca2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45dca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45dc98
mov eax, 1
add ebx, ebx
jne 0x45dcbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45dcb0
jne 0x45dccc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dcb0
xor ecx, ecx
sub eax, 3
jb 0x45dce0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45dd52
mov ebp, eax
add ebx, ebx
jne 0x45dceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45dcf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45dd1c
inc ecx
add ebx, ebx
jne 0x45dd08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45dcfd
jne 0x45dd19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dcfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45dd3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45dd2d
jmp 0x45dc9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45dd3c
add edi, ecx
jmp 0x45dc9e
pop esi
mov edi, esi
mov ecx, 0x181a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45dd5a
cmp byte [edi], 0xb
jne 0x45dd5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45dd5f
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45ddce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x64aa0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x64b04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45dd8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x64b08]
or eax, eax
je 0x45ddc8
mov dword [ebx], eax
add ebx, 4
jmp 0x45dda9
call dword [esi + 0x64b18]
mov ebp, dword [esi + 0x64b0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45de02
sub esp, 0xffffff80
jmp 0x4392cc
Function at 0x6523c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1fe000]
push edi
or ebp, 0xffffffff
jmp 0x6523e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6523e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6523d8
mov eax, 1
add ebx, ebx
jne 0x6523fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6523f0
jne 0x65240c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6523f0
xor ecx, ecx
sub eax, 3
jb 0x652420
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x652492
mov ebp, eax
add ebx, ebx
jne 0x65242b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x652438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x65245c
inc ecx
add ebx, ebx
jne 0x652448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x65243d
jne 0x652459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x65243d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x65247c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x65246d
jmp 0x6523de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x65247c
add edi, ecx
jmp 0x6523de
pop esi
mov edi, esi
mov ecx, 0x47
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x65249a
cmp byte [edi], 7
jne 0x65249a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x65249f
lea edi, [esi + 0x250000]
mov eax, dword [edi]
or eax, eax
je 0x652517
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x252b5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x252c18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6524cc
mov ecx, edi
jns 0x6524fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x252c20]
or eax, eax
je 0x652511
mov dword [ebx], eax
add ebx, 4
jmp 0x6524e9
call dword [esi + 0x252c1c]
mov ebp, dword [esi + 0x252c24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x65254b
sub esp, 0xffffff80
jmp 0x42f090
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp eax, 0x4f
mov eax, 0x275cac48
mov eax, ecx
mov eax, ecx
mov eax, 0x804dfa6a
mov eax, ebx
inc eax
cmp eax, 0x8deb0682
mov eax, 0x9559cf4b
mov eax, ecx
mov eax, ebx
mov eax, ebx
mov eax, 0xdf54fca0
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, ebx
cmp eax, 0x4a3c0d65
cmp eax, 0xb6d48b04
mov eax, ecx
cmp eax, 0xffffffa9
mov eax, ecx
cmp eax, 0x75
mov eax, ecx
cmp eax, 0x4cc643e4
cmp eax, 0x83fbb1ba
cmp eax, 0xb41e7712
nop
inc eax
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x9cfd80fe
mov eax, 0xdf4cb41b
cmp eax, 0x4d
cmp eax, 0xffffffdc
mov eax, ebx
nop
mov eax, ecx
inc eax
cmp eax, 0x289a7ea9
mov eax, ecx
cmp eax, 0xe75ff0e1
mov eax, ebx
cmp eax, 0xffffffa6
mov eax, ebx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc eax
mov eax, ecx
cmp eax, 0x39
cmp eax, 0x2f
nop
mov eax, 0x1169ea92
mov eax, ebx
cmp eax, 0x19
mov eax, ebx
cmp eax, 0xffffff83
nop
mov eax, ecx
mov eax, ebx
mov eax, 0x503d09b5
inc eax
mov eax, ecx
mov eax, ebx
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
mov eax, ecx
inc eax
cmp eax, 0x45
mov eax, ecx
cmp eax, 0xd37350dc
mov eax, 0x5a938f51
mov eax, ecx
mov eax, 0xaff71ccd
cmp eax, 0x67b90fe2
mov eax, ebx
cmp eax, 0x73c31c20
nop
nop
nop
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 0x2f
nop
mov eax, 0x30fbdba
inc eax
mov eax, ebx
cmp eax, 0x74a2f416
mov eax, 0xd79926df
nop
mov eax, ebx
mov eax, 0xba9006a8
mov eax, 0x1573ffae
nop
cmp eax, 0x23733344
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40164e
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d396cc]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d39624]
test esi, esi
je 0x401694
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x40167f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004014f2
add edi, 8
dec esi
je 0x401693
mov eax, dword [0x2d396cc]
jmp 0x401667
pop ebx
pop edi
pop esi
ret 4
Function at 0x40d069
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
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.00404ed5
mov dword [ebp - 0x14], eax
cmp dword [0x43fd80], esi
jne 0x40d15c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d0e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d23c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d23c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d23c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43fd80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43fd84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43fd88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fd90], eax
test eax, eax
je 0x40d159
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fd8c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d181
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d174
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d196
push 4
pop eax
jmp 0x40d23e
cmp dword [ebp - 0x14], esi
je 0x40d196
push dword [0x43fd80]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d17b
mov eax, dword [0x43fd8c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d1f4
cmp dword [0x43fd90], edi
je 0x40d1f4
push eax
call ebx
push dword [0x43fd90]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d1f4
test eax, eax
je 0x40d1f4
call ecx
test eax, eax
je 0x40d1e9
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 0x40d1e9
test byte [ebp - 8], 1
jne 0x40d1f4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d224
mov eax, dword [0x43fd84]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
call eax
mov esi, eax
test esi, esi
je 0x40d221
mov eax, dword [0x43fd88]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43fd80]
call ebx
test eax, eax
je 0x40d23c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d23e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040415b
mov esp, ebp
pop ebp
ret
Function at 0x10010ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10010fff
pop dword [ebp - 0x50]
mov eax, 0x4342a2c5
sub eax, 0x334192c6
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x255cc541
sub dword [ebp - 0x60], 0xd70a7ff6
mov dword [ebp - 0x5c], 0xcdf99bfe
sub dword [ebp - 0x5c], 0x9bc64fb9
mov dword [ebp - 0x58], 0xb4a9745f
sub dword [ebp - 0x58], 0x685d3031
mov dword [ebp - 0x54], 0x78ac8373
add dword [ebp - 0x54], 0x87537c8d
lea eax, [ebp - 0x60]
push eax
mov eax, 0x41316f45
sub eax, 0x312fdef5
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x448cb42d
add dword [ebp - 0x60], 0x2fe5b529
mov dword [ebp - 0x5c], 0xd0b723f0
sub dword [ebp - 0x5c], 0x8f4ac27b
mov dword [ebp - 0x58], 0x43de05f4
sub dword [ebp - 0x58], 0xe06e9988
mov dword [ebp - 0x54], 0x9da6a48e
add dword [ebp - 0x54], 0x62595b72
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x37741
push 0
call eax
mov ecx, 0x93ccb7d6
sub ecx, 0x93cc6c28
mov ebx, eax
mov esi, 0xa4ddd660
sub esi, 0x94dbbc60
add esi, dword [ebp - 0x50]
mov edi, 0xa4046962
sub edi, 0xdb918c
xor dword [ebp - 0x38], 0x9a144537
mov edx, dword [esi]
mov dword [ebp - 0x44], 0x6e3da048
sub edx, edi
mov dword [ebp - 0xc], 0x443b6815
mov dword [ebx], edx
sub dword [ebp - 0xc], ecx
add ebx, 0x85edad2f
sub ebx, 0x85edad2b
add esi, 4
loop 0x1001111c
add eax, 0x1218b
xor ebx, ebx
add ebx, eax
add eax, 0xd402c3c9
sub eax, 0xd402c3c4
mov ecx, 0x40575660
sub ecx, 0x30575660
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4019f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str._system32777.dll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401a5f
cmp dword [ebp - 0x118], 0
je 0x401a5f
jmp 0x401ac3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401ac3
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x438274], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x438290], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x43828c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
jmp section..htext
mov esp, ebp
pop ebp
ret
Function at 0x404c20
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x404c9b
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.00459e88
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x404c57
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x404c6e
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.00459e88
add esp, 4
test eax, eax
jbe 0x404c9b
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.00459e88
add esp, 4
cmp esi, eax
jb 0x404c80
mov eax, edi
pop edi
pop esi
pop ebp
ret