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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
lea ebp, [eax + 7]
push esi
shr ebp, 3
and eax, 7
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
jne 0x410cad
mov dword [esp + 0x20], 8
xor edx, edx
cmp ebp, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
jbe 0x410d96
lea eax, [ebp - 2]
xor esi, esi
cmp eax, edx
mov dword [esp + 0x24], esi
jbe 0x410d96
jmp 0x410cdd
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x410d4d
push edx
lea edx, [esp + 0x34]
push edx
push ebx
call fcn.00410ef5
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x38]
mov edi, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebp, esi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, esi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x3c]
xor ebp, edx
dec edi
mov dword [esp + 0x3c], ebp
jne 0x410d0e
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x410d5b
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00410a39
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xor eax, edx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
add ebx, 8
inc esi
lea eax, [ebp - 2]
cmp esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], esi
jb 0x410cdb
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
cmp ecx, edx
mov dword [esp + 0x14], edx
jbe 0x410dbb
mov eax, ecx
lea esi, [ebx + 8]
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, 1
jne 0x410dd0
push edx
push edx
push ebx
call fcn.00410ef5
add esp, 0xc
jmp 0x410e58
cmp ebp, 2
jne 0x410de2
push edx
push edx
push ebx
call fcn.00410ef5
add esp, 0xc
jmp 0x410df5
lea ecx, [esp + 0x38]
push ecx
push ebx
call fcn.00410a39
add esp, 8
cmp ebp, 1
jbe 0x410e58
mov edx, dword [ebx]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x14]
xor edx, eax
xor eax, eax
test edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
jbe 0x410e36
mov ecx, ebx
lea edx, [esp + 0x10]
sub ecx, edx
mov dl, byte [eax + ebx + 8]
lea esi, [esp + eax + 0x10]
inc eax
mov byte [esi + ecx], dl
mov dl, byte [esi]
mov byte [eax + ebx + 7], dl
cmp eax, edi
jb 0x410e20
cmp ebp, 2
jne 0x410e4a
push 0
push 0
push ebx
call fcn.00410ef5
add esp, 0xc
jmp 0x410e58
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00410a39
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x1c]
xor eax, edx
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
Function at 0x41463c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
push 0xfffffffffffffff0
add ecx, 0x646c6f47
pop esi
xor word [eax + 0xc], cx
xor word [eax + 0xe], cx
xor dword [eax + 0x110], ecx
xor byte [eax + 0x114], cl
mov dword [ebp + 8], ecx
lea ecx, [eax + 0x10]
sub esi, eax
mov edi, pe_nt_image_headers32
lea eax, [ecx + esi]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 8]
xor byte [ecx], al
inc ecx
dec edi
jne 0x414672
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41468a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], pe_nt_image_headers32
add eax, 0x646c6f47
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 7]
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 4]
xor al, byte [esi + edi]
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x4146b4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4146d1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4146f9
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x41472d
dec eax
je 0x41470d
dec eax
je 0x41471f
jmp 0x4146f5
cmp dword [ebp - 0x8c], ecx
jne 0x414719
push 4
jmp 0x41472f
jbe 0x41471f
push 5
jmp 0x41472f
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x414732
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.004147cf
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0x4147cb
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x4147b2
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x414822
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add dword [ebp + 0x10], 0x646c6f47
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe 0x414869
push ebx
push esi
mov esi, dword [eax + 0xa]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [eax + 7]
movzx eax, dx
mov dword [ebp + 8], eax
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx]
mov byte [esi + edi], al
inc edi
inc ecx
dec dword [ebp + 8]
jne 0x41484e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x414df8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x414e0e
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x414e21
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret

Function at 0x417bf5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420df0
cmp edx, dword [eax]
je 0x417c17
add eax, 8
inc ecx
cmp eax, 0x420e80
jl 0x417c08
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420df0]
jne 0x417d45
mov eax, dword [0x423ebc]
cmp eax, 1
je 0x417d1f
test eax, eax
jne 0x417c48
cmp dword [0x420b14], 1
je 0x417d1f
cmp edx, 0xfc
je 0x417d45
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417c7f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041a420
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00418f80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x417cc2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00418f80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41e9ac
push edi
call fcn.00415d00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041a420
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041a430
lea eax, [ebp - 0xa0]
push 0x41e98c
push eax
call fcn.0041a430
push dword [esi + 0x420df4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a430
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041aaf0
add esp, 0x2c
pop edi
jmp 0x417d45
lea eax, [ebp + 8]
lea esi, [esi + 0x420df4]
push 0
push eax
push dword [esi]
call fcn.00418f80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x408936
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
and edi, ebx
call fcn.0040895e
and ebx, edi
dec ebx
xor dword [edx], esi
sub edi, 0x2dcd9ef6
sub edi, ebx
inc edx
add ebx, edi
cmp edx, eax
jne fcn.00408936
add ebx, ebx
mov ebx, edi
ret
Function at 0x402bc0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x407e38]
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
test eax, eax
jne 0x402be5
mov ecx, dword [0x407ea8]
mov edx, 0x407934
call fcn.004040b0
mov dword [0x407e38], eax
push 0
push esi
push edi
call eax
mov eax, dword [0x407e4c]
add esp, 0xc
test eax, eax
jne 0x402c0c
mov ecx, dword [0x407ea8]
mov edx, 0x40774c
call fcn.004040b0
mov dword [0x407e4c], eax
push 0x40716c
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x402cd4
mov eax, dword [0x407e6c]
test eax, eax
jne 0x402c3e
mov ecx, dword [0x407ea8]
mov edx, 0x4076b0
call fcn.004040b0
mov dword [0x407e6c], eax
push 0
push 0
push 0x40703c
call eax
mov ebx, dword [str._MessageBox]
mov edi, eax
mov eax, dword [0x407ecc]
add esp, 0xc
test eax, eax
jne 0x402c72
mov ecx, dword [0x407ea8]
mov edx, 0x4076c4
call fcn.004040b0
mov dword [0x407ecc], eax
push edi
push ebx
push esi
call eax
mov eax, dword [0x407e6c]
add esp, 0xc
test eax, eax
jne 0x402c98
mov ecx, dword [0x407ea8]
mov edx, 0x4076b0
call fcn.004040b0
mov dword [0x407e6c], eax
push 0
push 0
push 0x40704c
call eax
mov ebx, dword [str._SHGetSpecialFolderPath]
mov edi, eax
mov eax, dword [0x407ecc]
add esp, 0xc
test eax, eax
jne 0x402ccc
mov ecx, dword [0x407ea8]
mov edx, 0x4076c4
call fcn.004040b0
mov dword [0x407ecc], eax
push edi
push ebx
push esi
call eax
add esp, 0xc
call fcn.00402700
push 0x407310
mov edi, eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x402d5d
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call esi
mov ebx, eax
add esp, 4
mov eax, dword [0x407e80]
test eax, eax
jne 0x402d1a
mov ecx, dword [0x407ea8]
mov edx, 0x407a10
call fcn.004040b0
mov dword [0x407e80], eax
push 0x407308
push ebx
call eax
add esp, 8
test eax, eax
je 0x402d5d
push 0
call esi
mov esi, eax
add esp, 4
mov eax, dword [0x407efc]
test eax, eax
jne 0x402d50
mov ecx, dword [0x407ea8]
mov edx, 0x4079f4
call fcn.004040b0
mov dword [0x407efc], eax
push 0
push 0x407300
push esi
call eax
add esp, 0xc
mov eax, dword [0x407e34]
test eax, eax
jne 0x402d7b
mov ecx, dword [0x407ea8]
mov edx, 0x407990
call fcn.004040b0
mov dword [0x407e34], eax
call eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1051250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xfff070]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.01061ad0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x105129f
cmp dword [ebp + 0xc], 0
jne 0x10512a9
jmp 0x105137a
cmp dword [ebp + 0x10], 0
je 0x10512fe
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x10512c7
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x1051302
jmp 0x105137a
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xff711c]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.010608b4
add esp, 0xc
push 0xffc238
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0106037c
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x105134e
jmp 0x105137a
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.01060bd1
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.0106062a
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0105fed0
mov esp, ebp
pop ebp
ret
Function at 0x1051390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xfff070]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.01061ad0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10513df
cmp dword [ebp + 0xc], 0
jne 0x10513e9
jmp 0x10514f6
cmp dword [ebp + 0x10], 0
je 0x105143e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x1051407
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x1051448
jmp 0x10514f6
cmp dword [0x10216dc], 3
jne 0x105147e
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [0xff7118]
push 0xffbcac
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.010608b4
add esp, 0xc
jmp 0x1051490
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [0xff711c]
mov ecx, dword [ebp + 0x10]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.010608b4
add esp, 0xc
push 0xffc240
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0106037c
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x10514ca
jmp 0x10514f6
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.01060bd1
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.0106062a
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0105fed0
mov esp, ebp
pop ebp
ret

Function at 0x1052423
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x105242f
sub eax, edx
sar eax, 1
jne 0x1052443
xor eax, eax
jmp 0x10524af
and dword [ebp - 4], 0
push 0xffd0b8
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0106037c
add esp, 0xc
test eax, eax
jne 0x105243f
push edi
push dword [ebp - 4]
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x4d42
mov word [ebp - 0x14], ax
mov eax, dword [esi + 4]
add eax, 0xe
push 1
mov dword [ebp - 0x12], eax
lea eax, [ebp - 0x14]
push 0xe
push eax
mov dword [ebp - 0xa], 0x36
call fcn.01060531
push dword [ebp - 4]
push 1
push dword [esi + 4]
push dword [esi]
call fcn.01060531
push dword [ebp - 4]
call fcn.0106062a
add esp, 0x24
xor eax, eax
inc eax
pop edi
leave
ret 4
Function at 0x10536c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
xor esi, esi
push edi
mov edi, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 8], ebx
je 0x10537d7
cmp edi, 0xa
jb 0x10537d7
shl eax, 2
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.010600da
pop ecx
mov ecx, dword [ebp + 0x10]
mov esi, eax
push esi
push edi
push dword [ebp + 8]
lea edi, [esp + 0x20]
call fcn.01053650
add esp, 0xc
test eax, eax
je 0x10537cd
push 0xffd0b8
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.0106037c
add esp, 0xc
cmp dword [esp + 0xc], ebx
jne 0x1053741
mov dword [esp + 0x10], 0xfffffffe
jmp 0x10537ec
push dword [esp + 0xc]
push dword [esp + 0x18]
push 1
push esi
call fcn.01060531
add esp, 0x10
cmp eax, dword [esp + 0x14]
je 0x1053764
mov dword [esp + 0x10], 0xfffffffe
jmp 0x10537dc
call dword [0xff712c]
push eax
call fcn.01060ff5
pop ecx
call fcn.01061007
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xffd4d0]
fmul qword [0xffd4c8]
fadd qword [0xffd4c0]
call fcn.01062370
mov edi, eax
push edi
call fcn.0106020e
pop ecx
push edi
mov ebx, eax
push 0
push ebx
call fcn.01061ad0
add esp, 0xc
push edi
call fcn.0105360e
pop ecx
push dword [esp + 0xc]
push edi
push 1
push ebx
call fcn.01060531
push ebx
call fcn.01060294
add esp, 0x14
xor ebx, ebx
jmp 0x10537dc
mov dword [esp + 0x10], 0xfffffffd
jmp 0x10537dc
or dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0xc], ebx
je 0x10537ec
push dword [esp + 0xc]
call fcn.0106062a
pop ecx
cmp esi, ebx
je 0x10537f7
push esi
call fcn.0105fffd
pop ecx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1054f8e
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1054f99
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x105504b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xffbe38]
inc ecx
sub edi, 8
dec esi
jne 0x1054fb0
pop ebx
test edi, edi
je 0x1055064
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xffbe38]
inc ecx
dec edi
jne 0x105504f
pop esi
not eax
pop edi
ret
Function at 0x1055069
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0xffbe38]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0xffbe38]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x401c80
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401d30
mov dword [esp], eax
call 0x401cf0
jmp dword [sym.imp.ucrtbase.dll_exit]
Function at 0x401ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402bbd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x403288]
mov dword [ebp - 0x78], eax
mov ax, word [0x40328c]
mov word [ebp - 0x74], ax
test ah, ah
je 0x401b32
xor ebx, ebx
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x35
xor byte [ebp + ebx - 0x78], cl
inc ebx
cmp ebx, 6
jl 0x401b11
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401d40
mov dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [str.ednn_]
mov dword [ebp - 0x78], eax
mov ax, word [0x403230]
mov word [ebp - 0x74], ax
mov al, byte [0x403232]
mov byte [ebp - 0x72], al
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x35
xor byte [ebp + ebx - 0x78], cl
inc ebx
cmp ebx, 7
jl 0x401b61
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401d40
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push str.PRIVET
call fcn.00401d40
call fcn.00401170
add esp, 0x18
lea ecx, [ebp - 0x40]
push str.Hello_super_duper_cool_reverse_there_is_nothing_there__Hurrah__cant_you_find__XD
call fcn.00401d40
mov byte [ebp - 4], 2
xor ebx, ebx
mov eax, dword [str.ednn_]
mov dword [ebp - 0x78], eax
mov ax, word [0x403230]
mov word [ebp - 0x74], ax
mov al, byte [0x403232]
mov byte [ebp - 0x72], al
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x35
xor byte [ebp + ebx - 0x78], cl
inc ebx
cmp ebx, 7
jl 0x401bd6
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x401c37
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401cbd
push ecx
push edx
call fcn.00401e89
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x401c67
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401cbd
push ecx
push edx
call fcn.00401e89
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x401c97
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401cbd
push ecx
push edx
call fcn.00401e89
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x401ccd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401cc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401cc3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401e89
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401e4b
mov esp, ebp
pop ebp
ret
Function at 0x4026f2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402731
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402731
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402731
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402731
cmp dword [ecx + 0x74], 0xe
jbe 0x402731
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret