joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300093c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x30009436
mov eax, dword [ebp + 8]
test eax, 3
je 0x300093f8
cmp word [eax], 0
je 0x300093f1
lea eax, [eax + 2]
test eax, 3
je 0x300093f8
jmp 0x300093df
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30009433
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x300093f8
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30009433
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30009433
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x300093f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x3000bfd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30004144]
jne 0x3000c546
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30011ee8], eax
mov dword [0x30011ee4], ecx
mov dword [0x30011ee0], edx
mov dword [0x30011edc], ebx
mov dword [0x30011ed8], esi
mov dword [0x30011ed4], edi
mov word [0x30011f00], ss
mov word [0x30011ef4], cs
mov word [0x30011ed0], ds
mov word [0x30011ecc], es
mov word [0x30011ec8], fs
mov word [0x30011ec4], gs
pushfd
pop dword [0x30011ef8]
mov eax, dword [ebp]
mov dword [0x30011eec], eax
mov eax, dword [ebp + 4]
mov dword [0x30011ef0], eax
lea eax, [ebp + 8]
mov dword [0x30011efc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x30011e38], 0x10001
mov eax, dword [0x30011ef0]
mov dword [0x30011dec], eax
mov dword [0x30011de0], 0xc0000409
mov dword [0x30011de4], 1
mov eax, dword [0x30004144]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30011d14]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x30011e30], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30004180
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x30011e30], 0
jne 0x3000c636
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x100c04ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100e5348]
jne 0x100c04d4
repz ret
jmp fcn.100c4323

Function at 0x100c6b5f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100c0565
and dword [ebp - 4], 0
cmp dword [0x100e6698], 0
mov ebx, eax
jne 0x100c6c10
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100c6cc1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100c6cc1
push eax
call fcn.100c04f3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100e6698], eax
call esi
push eax
call fcn.100c04f3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100e669c], eax
call esi
push eax
call fcn.100c04f3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100e66a0], eax
call esi
push eax
call fcn.100c04f3
pop ecx
mov dword [0x100e66a8], eax
test eax, eax
je 0x100c6c10
push 0x100d3dac
push edi
call esi
push eax
call fcn.100c04f3
pop ecx
mov dword [0x100e66a4], eax
mov eax, dword [0x100e66a4]
cmp eax, ebx
je 0x100c6c68
cmp dword [0x100e66a8], ebx
je 0x100c6c68
push eax
call fcn.100c056e
push dword [0x100e66a8]
mov esi, eax
call fcn.100c056e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100c6c68
test edi, edi
je 0x100c6c68
call esi
test eax, eax
je 0x100c6c5f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100c6c5f
test byte [ebp - 0xc], 1
jne 0x100c6c68
or dword [ebp + 0x10], 0x200000
jmp 0x100c6ca1
mov eax, dword [0x100e669c]
cmp eax, ebx
je 0x100c6ca1
push eax
call fcn.100c056e
pop ecx
test eax, eax
je 0x100c6ca1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100c6ca1
mov eax, dword [0x100e66a0]
cmp eax, ebx
je 0x100c6ca1
push eax
call fcn.100c056e
pop ecx
test eax, eax
je 0x100c6ca1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100e6698]
call fcn.100c056e
pop ecx
test eax, eax
je 0x100c6cc1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100c6cc3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d1750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100e4cd0], 0x1938
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100d181d
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100d1ba9
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x100e4cd0], 0x2cd
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x100e4cd4], 0x2226
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0xc], ecx
add ecx, 0x16ad
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100d1814
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100d350a]
mov dh, byte [eax + 0x100d34db]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100d181d
lea eax, [ebp - 0x24]
mov dword [0x100e4cd4], 0x14f9
mov dword [ebp - 0x44], eax
call fcn.100d15d1
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100d1135
mov ecx, dword [0x100e4cd0]
add ecx, 0xfffffb5f
mov dword [0x100e4cd4], ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x100d1777
jmp 0x100d177f
Function at 0x100d189b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100e4cd0], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100d18f1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x100d19b5
jmp 0x100d19a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x100d191d
jmp 0x100d1965
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100d18d1
jmp 0x100d19a6
mov eax, dword [ebp - 0x20]
mov dword [0x100e4cd4], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100d19a6
mov dword [0x100e4cd4], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100d1982
jmp 0x100d19a6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100d1993
jmp 0x100d19a6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x100d18f1
jmp 0x100d191d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100d1954
jmp 0x100d19a6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100d1909
xor eax, eax
mov dword [0x100e4cd4], 0x1864
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x100d19bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x100e4cd4]
add ecx, 0x77c
mov dword [0x100e4cd4], ecx
mov dword [ebp - 0x10], eax
call fcn.100d230e
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x100e4cd4], 0x10e8
mov edi, dword [0x100e4cd0]
add edi, 0xfffffe9f
mov dword [0x100e4cd4], edi
mov esi, dword [eax + esi + 0x78]
mov dword [0x100e4cd0], 0x171d
mov ebx, edx
add ebx, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
je 0x100d1a84
jmp 0x100d1a5e
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x100e4cd0], 0xfffff748
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x28], edi
jmp 0x100d1a84
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
jmp 0x100d1a8f
mov al, byte [ebp - 0x39]
test al, 1
jne 0x100d1a39
jmp 0x100d1b12
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
xor esi, esi
add edx, 0x77c
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [0x100e4cd4], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x39], cl
je 0x100d1a78
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x39]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x100d1abb
jmp 0x100d1a78
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], ecx
jb 0x100d1a8f
jmp 0x100d1a84
Function at 0x100d20fb
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100e4cdc], 0
mov byte [0x100e4ce0], 0
mov dword [0x100e4cd8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100e4cd0], 0x1fdd
mov eax, dword [0x100e4cd8]
add eax, 1
mov dword [0x100e4cd8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100d2136
jmp 0x100d2232
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x100e4ce4], 0
mov edi, dword [ebp - 0x28]
add edi, 0xfffff6b9
mov ebx, dword [0x100e4cdc]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x100e4ce4], esi
mov dword [0x100e4cd4], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x100e4cdc], edx
mov dword [0x100e4cd0], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x100e4ce0], bl
mov dword [0x100e4cd4], 0xe30
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x100e4cd4]
add ecx, 0xfffffd81
mov dword [0x100e4cd0], ecx
mov bl, byte [0x100e4ce0]
mov ecx, dword [0x100e4cdc]
mov byte [edi + ecx], bl
mov ecx, dword [0x100e4cd8]
add ecx, 1
mov dword [0x100e4cd8], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jl 0x100d224e
jmp 0x100d2261
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x100e4cd8], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x100d216b
mov eax, dword [0x100e4cd0]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x100d216b
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d248c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100e4cd8], 0
mov dword [0x100e4cdc], 0
mov dword [0x100e4ce8], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100d25e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add eax, 1
mov dword [0x100e4cd0], 0x1e8a
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x100e4cd8], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100e4cdc], edx
mov dword [0x100e4cd0], 0x40c5
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100e4ce0], cl
mov dword [0x100e4cd4], 0x471
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100e4ce0]
mov edx, dword [0x100e4cdc]
mov byte [ebx + edx], cl
mov edx, dword [0x100e4cd8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100e4cdc]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x100e4ce8], ecx
mov dword [0x100e4cd0], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x100e4cd4], 0xbad
mov dword [0x100e4cd0], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x100d25e8
mov eax, dword [0x100e4cd8]
mov ecx, dword [0x100e4cdc]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100d24e5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d25f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x100e4cd0], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100d1ca4
lea ecx, [0x100d1fb1]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], 0x138e00
mov edx, dword [0x100e4cbc]
mov dword [esp + 0x20], edx
mov edx, dword [0x100e4cc0]
mov dword [esp + 0x34], edx
mov edx, dword [0x100e4cc4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x100e4cc8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x100e4ccc]
mov dword [esp + 0x78], edx
mov dword [0x100e4cd0], 0x212d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100d26c4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x100e4cd4], 0x1fcc
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x30], edx
call fcn.100d189b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x100d26e7
jmp 0x100d271e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100d267c
jmp 0x100d26d3
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x100d26ae
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100d26c4
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100d1750
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x100e4cd0], 0x1ed4
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4014f3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x14c
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [0x426b28]
mov dword [ebp - 0x130], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
or eax, 8
mov dword [esp + 0xc], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x40156c
jmp 0x401607
cmp dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x1c]
je 0x40155d
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, 1
push ecx
jmp 0x401607
xor ecx, ecx
mov edx, edi
call fcn.004014f3
test eax, eax
je 0x40157d
jmp 0x4015a4
mov eax, dword [sym.imp.ADVAPI32.DLL_RegEnumKeyA]
lea edi, [ebp - 0x121]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebp - 0x12c]
sub esp, 0x10
test eax, eax
je 0x40153d
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
push edi
mov dword [esp], 2
call fcn.00407cd3
test eax, eax
push edx
je 0x4015e2
mov edx, dword [0x426b28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], edx
call eax
sub esp, 0x10
jmp 0x401607
cmp dword [0x426b28], 0
mov eax, 1
jne 0x401607
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.DLL_RegDeleteKeyA]
test eax, eax
push ecx
setne al
push ecx
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40397d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x4039a8
mov eax, dword [0x40ec4c]
test eax, eax
je 0x40399c
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push eax
mov dword [0x40ec4c], 0
jmp 0x403a17
cmp dword [0x40ec4c], 0
je 0x4039c0
mov dword [esp], 0
call fcn.00408274
push ecx
jmp 0x403a17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x426b7c]
jbe 0x403a17
mov eax, dword [0x426b94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4038c8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
sub esp, 0x14
mov dword [0x40ec4c], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edx
push edx
leave
ret

Function at 0x403a19
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
sub esp, 0x14
test eax, eax
je 0x403a5c
xor edx, edx
cmp dword [ebp - 0xc], ebx
sete dl
mov eax, edx
mov ebx, dword [ebp - 4]
leave
ret 8
Function at 0x407258
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [0x42513c], 0x44
mov dword [esp + 0x20], 0x42513c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x4072d4
jmp loc.0043b960
mov eax, edx
leave
ret 4

Function at 0x407584
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
je 0x4075af
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x4075b6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, 0
cmp eax, 0xffffffff
push ecx
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [ebp - 4]
sub esp, 0x1c
leave
ret 0xc

Function at 0x407612
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0x65
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x1c]
jmp 0x407670
mov dword [ebp - 0x1c], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [ebp - 0x2c], eax
div ecx
mov dword [ebp - 0x30], edx
mov cl, byte [ebp - 0x30]
add ecx, 0x61
mov byte [ebp - 0x1a], cl
mov ecx, dword [ebp + 0xc]
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
jne 0x407678
dec esi
jne 0x407628
mov byte [ebx], 0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
jmp loc.0043bd48
Function at 0x407684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x14]
cmp dword [ebp + 0x18], 1
lea edx, [ebp - 0x14]
sbb eax, eax
xor al, al
add eax, 0x20119
mov byte [ebx], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x407726
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x40770f
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
jbe 0x407712
mov byte [ebx], 0
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x3ff], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
push ebx
mov ebx, dword [ebp - 4]
leave
ret 0x14

Function at 0x407903
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [ebp + 0xc]
test edi, edi
jns 0x40791d
mov eax, dword [0x4273bc]
not edi
mov edi, dword [eax + edi*4]
mov eax, dword [ebp + 8]
mov ebx, 0x4273c0
jmp loc.0043b640

Function at 0x407c1c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], 0x425580
mov dword [esp + 4], eax
call fcn.004077f1
push ebx
push ebx
mov dword [esp], 0x425580
call fcn.0040746c
mov ebx, eax
xor eax, eax
test ebx, ebx
push esi
je 0x407cca
mov dword [esp], ebx
call fcn.0040782f
test byte [0x426b80], 0x80
push ecx
je 0x407c8a
mov al, byte [ebx]
cmp al, 0x5c
je 0x407cc8
test al, al
jne 0x407c8a
jmp 0x407cc8
call fcn.00407be4
test eax, eax
push edx
je 0x407c7b
test byte [eax], 0x10
je 0x407cc8
mov dword [esp], 0x425580
call fcn.00407400
push ecx
jmp 0x407c96
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub ebx, 0x425580
mov dword [esp], 0x425580
call esi
cmp eax, ebx
push edx
mov dword [esp], 0x425580
jg 0x407c6c
call fcn.0040738a
push ecx
mov dword [esp], 0x425580
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
setne al
push ebx
movzx eax, al
jmp 0x407cca
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4