joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8267f12
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x8267f34
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x8267f34
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x8267f34
ret
cmp word [ebx + 4], 0x14c
jne 0x8267f34
test word [ebx + 0x16], 2
je 0x8267f34
test word [ebx + 0x16], 0x100
je 0x8267f34
cmp word [ebx + 0x18], 0x10b
jne 0x8267f34
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x8267f34
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x8267fc0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x8267f54
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0824ee9f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x8267f34
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x8267fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x8267f34
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x8267f34
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x8267f34
ret
cmp word [ebx + 4], 0x14c
jne 0x8267f34
test word [ebx + 0x16], 2
je 0x8267f34
test word [ebx + 0x16], 0x100
je 0x8267f34
cmp word [ebx + 0x18], 0x10b
jne 0x8267f34
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x8267f34
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x8267fc0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x8267f54
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0824ee9f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x8267f34
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x8268077
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x82680d0
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x8268077
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x8268086
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x866dd29
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x82680d7
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0824ef4d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x8268176
add edi, 4
add eax, 2
dec ecx
jne 0x82680bc
call 0x8268123
loope 0x8268119
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x8268173
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x8268184
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x8268137
cmp eax, ecx
ja 0x8268137
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x82681c1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x82681b7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0824f42c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x8268086
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x82680d0
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x8268077
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x8268086
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x866dd29
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x82680d7
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0824ef4d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x8268176
add edi, 4
add eax, 2
dec ecx
jne 0x82680bc
call 0x8268123
loope 0x8268119
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x8268173
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x8268184
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x8268137
cmp eax, ecx
ja 0x8268137
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x82681c1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x82681b7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0824f42c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b1ba
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0040c7e3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401250
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0040f9cf
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x43af1c
push eax
call fcn.0041000e
push edi
push esi
call fcn.0040cb2b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dbcf
mov esp, ebp
pop ebp
ret 4
Function at 0x403900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x43c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push ecx
push 0
push 0
push 0xc8
push 0x190
push 0
push 0x80000000
push 0xa0000
push 0x43e1d0
push 0x43e108
push 0
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40395c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dbcf
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edi, edi
xor eax, eax
test ebx, ebx
je 0x4039b6
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x28
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar edi, 1
add edi, dword [ebp - 0x38]
sar eax, 1
add eax, dword [ebp - 0x34]
push 5
push 0
push 0
push eax
push edi
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x40]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040dbcf
mov esp, ebp
pop ebp
ret
Function at 0x408840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4089b7
cmp byte [ebx + 0x3e], 0
je 0x4089b7
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x4088a4
xor al, al
jmp 0x4089b9
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408130
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40890f
sub eax, 1
je 0x408913
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x408969
xor bl, bl
jmp 0x40896b
mov byte [ebx + 0x3e], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x40894b
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.00415b83
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x40890b
cmp byte [ebx + 0x3e], 0
je 0x408969
test esi, esi
jne 0x4088d0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00408430
jmp 0x4088c9
mov bl, 1
cmp edx, 0x10
jb 0x4089b3
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x4089aa
test byte [ebp - 0x28], 0x1f
je 0x408986
call fcn.00414380
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x408992
call fcn.00414380
sub eax, ecx
cmp eax, 4
jae 0x40899e
call fcn.00414380
cmp eax, 0x23
jbe 0x4089a8
call fcn.00414380
mov eax, ecx
push eax
call fcn.0040dc21
add esp, 4
mov al, bl
jmp 0x4089b9
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dbcf
mov esp, ebp
pop ebp
ret
Function at 0x409080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4091eb
cmp byte [ebx + 0x3d], 0
je 0x4091eb
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4090d9
xor al, al
jmp 0x4091ed
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408130
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x409143
sub eax, 1
je 0x409147
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x40919d
xor bl, bl
jmp 0x40919f
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x40917f
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.00415b83
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x40913f
cmp byte [ebx + 0x3d], 0
je 0x40919d
test esi, esi
jne 0x409104
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00408430
jmp 0x4090fe
mov bl, 1
cmp edx, 0x10
jb 0x4091e7
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x4091de
test byte [ebp - 0x28], 0x1f
je 0x4091ba
call fcn.00414380
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x4091c6
call fcn.00414380
sub eax, ecx
cmp eax, 4
jae 0x4091d2
call fcn.00414380
cmp eax, 0x23
jbe 0x4091dc
call fcn.00414380
mov eax, ecx
push eax
call fcn.0040dc21
add esp, 4
mov al, bl
jmp 0x4091ed
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dbcf
mov esp, ebp
pop ebp
ret
Function at 0x40a6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b346
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040dbee
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040ca28
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b346
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040dbee
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040ca28
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c936
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c5f9

Function at 0x41c941
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c77a

Function at 0x423022
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422ce2
Function at 0x40a66a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40a715
lea eax, [ebp + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40a6d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x5a6d
push dword [ebp - 0x10]
push 0x5649
push 0
push 0x3e5f
push dword [ebp - 0x14]
push 0x5d29
push 0x396b
call fcn.0040c041
add esp, 0x20
jmp 0x40a713
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40a704
push 0
push 0
push 0
push 0
push 0x1121
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40a713
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x40a774
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
push 0xd5b
push 1
push 0x61fe
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x2d5e
push dword [ebp - 0x34]
push 0x2244
push dword [ebp - 0x38]
call fcn.0040dacd
add esp, 0x34
mov esp, ebp
pop ebp
ret
Function at 0x40a842
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40a8ec
lea eax, [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40a8ae
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0x255
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040a90e
add esp, 0x14
jmp 0x40a8ea
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x40a8e2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x40a8e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x40a8ea
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x40a90a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x38]
push 0
mov eax, dword [ebp - 0x3c]
push dword [eax]
call fcn.004181dc
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x413698
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x413756
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x413721
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4136ff
mov byte [ebp - 1], 0
push 0x5296
lea eax, [ebp - 1]
push eax
push 0x6689
push 0
push 0x7825
call fcn.004183ab
add esp, 0x14
jmp 0x41371f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41371f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x413754
push 1
push 0x4bc6
push 0x77fa
push 1
push 0x5f85
push 0x242d
push 0xd60
push 1
push 0
push 0x6cf9
push 0x6a94
call fcn.004244bb
add esp, 0x2c
jmp 0x413768
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 1
call fcn.004104d5
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41378e
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x413848
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4137d6
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 1
push 0x2e9
push dword [ebp - 0xc]
call fcn.0041387c
add esp, 0xc
jmp 0x413846
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41383c
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0xa41449c9
mov dword [ebp - 0x18], 0xba4d3ec9
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 0
push 0x44a7
push 0x4c8b
lea eax, [ebp - 0x1c]
push eax
push 0x41ee
lea eax, [ebp - 0x20]
push eax
push 1
push 0x8f0
push 0x1222
push 0xd95
push 0x3bf5
call fcn.0040d775
add esp, 0x38
jmp 0x413846
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x413878
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
push 0x3e40
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x64df
push 0x6cf5
push 0x7c4d
push 0
call fcn.0040959b
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x4210c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x421171
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x42113c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x421128
mov byte [ebp - 1], 0
push 0
push 0x1cbe
lea eax, [ebp - 1]
push eax
call fcn.00424953
add esp, 0xc
jmp 0x42113a
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x42116f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push 0x14d0
push 1
push 0
push 0x6455
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00427e97
add esp, 0x20
jmp 0x42117f
push 0x2cec
push 0
call fcn.0040c4e9
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret