joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003cd0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10003e60
mov edi, dword [esi]
test edi, edi
je 0x10003e48
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x10003e6c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10003e38
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x10003dfe
mov eax, dword [ebp + 8]
mov edx, esi
call sym._create_registrar
test eax, eax
jne 0x10003d38
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10003e62
Function at 0x1002fab
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10012b0
call fcn.01003148
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002fe6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fe6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002ffe
cmp eax, 0x20b
je 0x1002feb
mov dword [ebp - 0x1c], edi
jmp 0x1003012
cmp dword [ecx + 0x84], 0xe
jbe 0x1002fe6
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100300c
cmp dword [ecx + 0x74], 0xe
jbe 0x1002fe6
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004034], 0xffffffff
or dword [0x1004038], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004030]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100402c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100403c], eax
call fcn.01003144
cmp dword [0x100401c], edi
jne 0x100306d
push fcn.01003144
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003132
push 0x10011a8
push 0x10011a4
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004028]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1004024]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10011a0
push 0x100119c
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002f3c
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10030e4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003119
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01003181
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x46d32073
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x2ed76cc8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x7a8a361f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x26af3c32
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100cb30
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20019
xor esi, esi
push 0x1002528
mov dword [ebp - 0x90], ecx
push 0x80000002
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
call fcn.0100a16e
test eax, eax
jne 0x100cc1d
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
push dword [ebp - 0x9c]
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x88], esi
call edi
mov ebx, 0x103
jmp 0x100cc17
lea eax, [ebp - 0x84]
push eax
call fcn.0100a8ec
mov dword [ebp - 0xa0], eax
cmp eax, esi
je 0x100cbe7
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push eax
add ecx, 0x54
call fcn.0100cb01
inc dword [ebp - 0x88]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x40
push dword [ebp - 0x9c]
call edi
cmp eax, ebx
jne 0x100cbbc
pop edi
pop ebx
lea ecx, [ebp - 0x9c]
call fcn.0100a150
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
xor ecx, ebp
add eax, 0x54
pop esi
call fcn.01009ae9
leave
ret

Function at 0x100d081
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100d08c
sub eax, edx
sar eax, 1
cmp eax, 0x7fffffff
jae 0x100d0bb
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.SHLWAPI.dll_SHSetValueW
jmp 0x100d0c0
mov eax, 0x216
test eax, eax
jle 0x100d0ce
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

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 0xb3fba4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
cmp eax, dword [edx + ecx + 0x14]
jmp 0xbe425f
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ebp, 0xe57c80
cmc
sub esp, 0x114
test si, 0x1962
clc
push esi
clc
cmp dx, 0x207f
test ecx, ecx
je 0x1054bf3
mov esi, dword [ebp + 0xc]
test edx, 0x44f91497
cmp ah, dh
clc
test esi, esi
jmp 0x1054bdf
jle 0x116f9db
jmp 0x10ede6c
jae 0x12213fa
mov esi, dword [edx + ecx + 0x1c]
lea eax, [esi + eax*4]
test esp, ebp
mov eax, dword [eax + ecx]
cmp cx, cx
stc
test ebp, eax
test eax, eax
jmp 0x107f7d4
jmp 0x10ede74
js 0x10ede74
jmp 0x116f9de
mov dword [ebp - 0xc], eax
jmp 0x1026849
test eax, eax
jmp 0x10ac66e
call fcn.0135e8d5
lea esp, [esp + 4]
cmp ebx, edi
test al, cl
jmp 0x102feba
jle 0x10ede44
lea ebx, [esi + 1]
stc
mov ecx, dword [ebp + 8]
cmc
clc
cmp ebx, edi
jmp 0xbaa2ff
je 0x1054bf3
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x10fc77d
xor eax, eax
pop esi
mov esp, ebp
xchg ebp, ebp
movsx ebp, ax
movzx ebp, si
pop ebp
jmp 0x10eb56f
je 0x10ede74
mov eax, dword [edx + ecx + 0x20]
clc
test ch, 0xbc
add eax, ecx
stc
sub ebx, ebx
dec edi
jmp 0x102a663
je 0x1054bf3
mov eax, dword [eax + ecx + 0x7c]
push ebx
push edi
cmp ebp, edx
test ch, 0x33
mov dword [ebp - 0x10], eax
clc
cmp ah, bl
mov dword [ebp - 8], 0xffffffff
cmp cx, di
cmp esi, 0xffff
jmp 0x11fd654
test edi, edi
jmp 0x106c02d
mov edi, dword [edx + ecx + 0x18]
jmp 0x107b5cb
jns 0x103b707
lea edi, [esi - 1]
jmp 0x1218d9c
jne 0x1054bf3
mov edx, dword [eax + ecx + 0x78]
clc
stc
mov dword [ebp - 4], edx
test edx, edx
jmp 0x1074ee7
ret
mov eax, dword [ebp + 8]
cmovae edx, edx
test di, cx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x24]
rcr cx, 0x84
lea ecx, [edx + esi*2]
movzx edx, word [ecx + eax]
mov dword [ebp - 8], edx
add ecx, ebx
mov ecx, eax
clc
and al, 0x44
ror dl, 0xfe
mov edx, dword [ebp - 4]
xor eax, edi
rol ax, cl
mov eax, dword [ebp - 8]
jmp 0xb3af9b
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x10c4026
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
cmc
cmp dx, di
clc
sar esi, 1
mov eax, dword [eax + esi*4]
push edx
sar dh, 0x85
mov edx, dword [ebp + 0xc]
cmc
add eax, ecx
jmp 0x10339ff
ja 0x107e5ac
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0x121fa22
jmp 0x103b711
mov dword [ebp - 8], eax
jmp 0xc13953
Function at 0x4047cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0040337c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete al
pop ebp
ret

Function at 0x404958
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x404985
lea eax, [esp + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040337c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x404989
xor eax, eax
jmp 0x40498b
mov al, 1
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x404a08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x404ac8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409a10
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x404ab2
cmp dword [ebp - 8], 0
jbe 0x404ab0
mov eax, dword [ebp - 8]
inc eax
call fcn.00402438
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x404a8e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403128
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409a00
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumKeyExA
cmp eax, 0x103
jne 0x404a71
mov eax, ebx
call fcn.00402458
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404acf
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret
Function at 0x404ad8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x404b98
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409a10
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x404b82
cmp dword [ebp - 8], 0
jbe 0x404b80
mov eax, dword [ebp - 8]
inc eax
call fcn.00402438
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x404b5e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403128
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409a00
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumValueA
cmp eax, 0x103
jne 0x404b41
mov eax, ebx
call fcn.00402458
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b9f
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret
Function at 0x4066a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x406807
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x10
test esi, esi
jne 0x4066e1
or ebx, 0x8000000
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00402610
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], si
mov dword [ebp - 0x28], 1
cmp dword [ebp + 8], 0
je 0x40670f
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor esi, esi
cmp dword [ebp - 8], 0
je 0x406721
mov eax, dword [ebp - 8]
call fcn.0040337c
mov esi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00403090
mov edx, dword [ebp - 0x10]
mov eax, 0x406824
call fcn.0040345c
test eax, eax
jle 0x406768
mov edx, dword [ebp - 0x10]
mov eax, 0x406830
call fcn.0040345c
test eax, eax
jg 0x406768
push 0x406830
push dword [ebp - 0x10]
push 0x406830
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040323c
cmp dword [ebp - 0x10], 0
je 0x40677f
test edi, edi
je 0x40677f
lea eax, [ebp - 0x10]
mov edx, 0x406824
call fcn.00403184
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push 0
push ebx
push 0
push 0
push 0
lea eax, [ebp - 0x68]
mov ecx, edi
mov edx, dword [ebp - 0x10]
call fcn.004031c8
mov eax, dword [ebp - 0x68]
call fcn.0040337c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4067e9
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4067d2
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 9], 1
jmp 0x4067e0
cmp dword [ebp + 8], 0
je 0x4067e0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax], edx
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40680e
lea eax, [ebp - 0x68]
call fcn.00402ff8
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret

Function at 0x407960
Capabilities:
Get file attributes

Disassembly:
call fcn.00403ea0
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x407974
dec eax
and al, 0x10
sete al
ret

Function at 0x408cfc
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x408d08
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x408d24
push eax
je 0x408d25
call dword [0x41c12c]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x177], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x41c12c]
ret
Function at 0x4141b8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
xor eax, eax
push ebp
push 0x4142ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040337c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4142ab
mov eax, dword [ebp - 8]
call fcn.004078e0
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4142dc
push ebx
call sub.version.dll_VerQueryValueA
push 0x414300
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.004076d0
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00403ca8
movzx eax, ax
lea ecx, [ebp - 0x20]
mov edx, 4
call fcn.004076d0
push dword [ebp - 0x20]
push 0x41431c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040323c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040337c
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4142a1
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00403128
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00402458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4142d5
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040301c
lea eax, [ebp - 4]
call fcn.00402ff8
ret
Function at 0x414488
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
xor eax, eax
push ebp
push 0x4145ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040304c
lea eax, [ebp - 0x110]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004033d4
mov eax, dword [ebp - 0x110]
mov edx, 0x414604
call fcn.004032c8
jne 0x4145bf
lea ecx, [ebp - 0x114]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407850
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
call fcn.00403090
lea ecx, [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x414610
call fcn.00404390
mov eax, dword [ebp - 4]
call fcn.004077a4
neg eax
mov dword [ebp - 8], eax
mov eax, 0x105
call fcn.004078e0
mov ebx, eax
push 0x104
push ebx
mov eax, dword [ebp - 0xc]
call fcn.0040337c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403128
mov eax, dword [ebp - 0x118]
call fcn.00407960
test al, al
je 0x4145b1
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xfe
lea eax, [ebp - 0x10b]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.user32.dll_LoadStringA
push edi
call sub.kernel32.dll_FreeLibrary_1
mov eax, esi
lea edx, [ebp - 0x10b]
mov ecx, 0xff
call fcn.00403164
jmp 0x4145b8
mov eax, esi
call fcn.00402ff8
mov eax, ebx
call fcn.00402458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4145f4
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0040301c
lea eax, [ebp - 0xc]
call fcn.00402ff8
lea eax, [ebp - 4]
call fcn.00402ff8
ret
Function at 0x41b048
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x41b1b9
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0040a5f0
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0040a610
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x41b18b
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403164
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00407994
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00407828
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, 0x41b1d0
call fcn.00407828
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004032c8
je 0x41b167
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403164
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00407828
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00407828
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004032c8
jne 0x41b17c
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0040a630
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x41b0c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b1c0
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040301c
lea eax, [ebp - 4]
call fcn.00402ff8
ret