joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f7ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008c140]
jne 0x1000f7f6
repz ret
jmp fcn.1000fa9d

Function at 0x100110f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x1008c118], 0x252d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1008c11c]
add eax, 0x253
mov dword [0x1008c118], eax
mov dword [ebp - 0x10], 0
jmp 0x1001115c
mov dword [0x1008c118], 0x23b8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x10011266
jmp 0x10011279
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x104
jl 0x100111e0
mov dword [0x1008c11c], 0x1ac
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x1a]
cmp eax, 0x6c
jne 0x100111d4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
je 0x100111b3
jmp 0x10011284
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1001115c
jmp 0x1001116c
jmp 0x10011282
mov dword [0x1008c11c], 0x198f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x10011203
jmp 0x10011282
mov dword [ebp - 4], 0
jmp 0x10011289
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
je 0x100111ac
mov dword [0x1008c118], 0xbea
jmp 0x1001119f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax - 0x14]
cmp ecx, 0x64
jne 0x100111ae
mov eax, dword [0x1008c118]
sub eax, 0x1325
mov dword [0x1008c118], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x1001127d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [eax + ecx*2 - 0x10]
cmp edx, 0x6c
je 0x10011137
jmp 0x1001127b
mov dword [0x1008c11c], 0xc8
mov dword [ebp - 4], 1
jmp 0x10011289
jmp 0x1001127b
jmp 0x1001127d
jmp 0x100111ae
jmp 0x10011284
jmp 0x100111d4
mov eax, dword [ebp - 4]
add esp, 0x24
pop ebp
ret
Function at 0x10011530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10011530]
mov dword [ebp - 8], eax
jmp 0x10011568
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x1008c118]
sub eax, 0x362
mov dword [0x1008c118], eax
jmp 0x100115a8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1001158c
jmp 0x10011541
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
jne 0x100115a6
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1001157e
jmp 0x10011541
mov al, 1
test al, 1
jne 0x10011568
jmp 0x100115b0
mov dword [ebp - 4], 0
jmp 0x1001157e

Function at 0x78ba9d06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x78ba9d15
pop dword [ebp - 0xc]
mov eax, 0xecf92457
add eax, 0x8bc178be
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x88522dfd
add dword [ebp - 0x1c], 0xc600174e
mov dword [ebp - 0x18], 0x53516487
add dword [ebp - 0x18], 0xdee1e7be
mov dword [ebp - 0x14], 0x31b9aa76
sub dword [ebp - 0x14], 0xe56d6648
mov dword [ebp - 0x10], 0xddfe2ab4
add dword [ebp - 0x10], 0x2201d54c
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x76c42555
add eax, 0x1f5eb33
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xbfa7f7c6
sub dword [ebp - 0x1c], 0x4b358e70
mov dword [ebp - 0x18], 0xe619a686
sub dword [ebp - 0x18], 0xa4ad4511
mov dword [ebp - 0x14], 0xd34a7684
add dword [ebp - 0x14], 0x9024f5e8
mov dword [ebp - 0x10], 0x375d041b
add dword [ebp - 0x10], 0xc8a2fbe5
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x137d5268
add eax, 0x653cbe00
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39545
push 0
call eax
mov ecx, 0x7bbba052
sub ecx, 0x7bbb64cb
mov esi, eax
mov edx, 0x3c69ab5b
sub edx, 0xc3ad755b
add edx, dword [ebp - 0xc]
mov edi, 0xa74340f2
xor dword [ebp - 4], eax
mov ebx, dword [edx]
xor dword [ebp - 8], ecx
add ebx, edi
mov dword [ebp - 4], 0x18ddf4cd
mov dword [esi], ebx
xor dword [ebp - 8], edi
add esi, 4
add edx, 0xb41ac281
add edx, 0x4be53d83
loop 0x78ba9e31
add eax, 0xe0ef
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x521efdb6
sub ecx, 0xd964fdb6
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x78bb1eb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78bbe5b0]
jne 0x78bb1ebd
repz ret
jmp fcn.78bb557c
Function at 0x10009761
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1001f5e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1000a23f
test eax, eax
je 0x10009876
xor ebx, ebx
mov dword [ebp - 0x214], 0x104
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlW]
test eax, eax
js 0x10009876
push ebx
push 0x80
push 3
push ebx
inc ebx
lea eax, [ebp - 0x20c]
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009876
push 0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x10009876
cmp dword [ebp - 0x218], 4
jne 0x10009876
push 3
lea eax, [ebp - 0x210]
push 0x10017620
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
push 3
lea eax, [ebp - 0x210]
push 0x10017624
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
mov al, bl
jmp 0x10009878
xor eax, eax
push eax
push eax
push eax
movsx ax, byte [ebp - 0x20d]
movzx eax, ax
push eax
call fcn.10009989
mov ecx, dword [0x10020678]
add esp, 0x10
mov edi, eax
mov esi, edx
call fcn.10009989
cmp edx, esi
jb 0x10009872
ja 0x1000983c
cmp eax, edi
jae 0x1000983c
xor bl, bl
jmp 0x1000983c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013bb0
leave
ret 4

Function at 0x10009989
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10009998
pop dword [ebp - 0xc]
mov eax, 0xeefb5f01
add eax, 0x21053a97
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3f3c6
push 0
mov eax, 0xf2465942
sub eax, 0xe244f802
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xd267d1c0
add ecx, 0x2d988a35
mov edx, eax
mov ebx, 0xb226b034
sub ebx, 0xa2246c34
add ebx, dword [ebp - 0xc]
mov edi, 0x50778155
add edi, 0xc02c803a
mov esi, dword [ebx]
xor dword [ebp - 4], 0x8de956b9
sub esi, edi
add dword [ebp - 4], ebx
mov dword [edx], esi
sub dword [ebp - 8], edx
add edx, 4
add ebx, 0x125748fc
sub ebx, 0x125748f8
loop 0x100099f7
add eax, 0x99d76bcf
add eax, 0x6629f6d8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6d0dd862
sub ecx, 0x5d0dd862
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 0x1c], 0x307c
mov dword [ebp - 0x238], 0x3000
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esp, ebp
pop ebp
ret
Function at 0x402c6b
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
jne 0x402c72
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402c6f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402c6f
mov eax, dword [eax + 0x98]
test eax, eax
je 0x402c98
lea edx, [eax + ecx]
jmp 0x402c9a
xor edx, edx
test edx, edx
je 0x402c6f
lea eax, [edx + 8]
test eax, eax
je 0x402c6f
cmp byte [eax], 0x30
lea ecx, [eax + 1]
jne 0x402cc9
mov al, byte [ecx]
inc ecx
cmp al, 0x82
jne 0x402cc9
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
lea eax, [eax + ecx + 0x13]
and eax, 0xffffff8
jmp 0x402ccb
xor eax, eax
test eax, eax
je 0x402c6f
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov al, 1
ret
Function at 0x1001d71
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.010073b0
mov eax, dword [0x1009468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0xfff
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x1003]
push ebx
push eax
xor edi, edi
mov byte [ebp - 0x1004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1008], eax
cmp eax, 0xffffffff
je 0x1001e92
push ebx
lea ecx, [ebp - 0x1010]
push ecx
push esi
lea ecx, [ebp - 0x1004]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e6d
mov eax, 0x5a4d
cmp ax, word [ebp - 0x1004]
jne 0x1001e6d
mov eax, dword [ebp - 0xfc8]
cmp eax, 0xf08
jae 0x1001e6d
lea eax, [ebp + eax - 0x1004]
cmp dword [eax], 0x4550
jne 0x1001e6d
lea edx, [eax + 0xf8]
lea ecx, [ebp - 4]
cmp edx, ecx
jae 0x1001e6d
movzx ecx, word [eax + 6]
xor eax, eax
xor esi, esi
cmp ax, cx
jae 0x1001e6d
lea eax, [edx + 0x14]
movzx edx, cx
mov ecx, dword [eax]
cmp ecx, esi
jbe 0x1001e67
mov edi, dword [eax - 4]
mov esi, ecx
add edi, ecx
add eax, 0x28
dec edx
jne 0x1001e5a
mov esi, dword [ebp - 0x100c]
cmp esi, ebx
je 0x1001e86
push ebx
push dword [ebp - 0x1008]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi], eax
push dword [ebp - 0x1008]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100733a
leave
ret 4

Function at 0x1001f46
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
movzx esi, byte [ebp + 8]
shl esi, 2
mov eax, dword [esi + 0x1145af8]
xor ebx, ebx
cmp eax, ebx
jne 0x1001f71
xor ecx, ecx
cmp byte [ebp + 8], bl
setne cl
add ecx, 0xf
mov dword [0x1009028], ecx
cmp byte [0x1145d00], bl
jne 0x1001f98
cmp byte [0x1009495], bl
je 0x1001f98
cmp dword [0x1145af8], ebx
je 0x1001f91
cmp dword [0x1145afc], ebx
jne 0x1001f98
xor eax, eax
jmp 0x1002021
xor ecx, ecx
cmp eax, ebx
setne cl
cmp byte [0x10a7924], 1
push edi
mov dword [esi + 0x1145ae8], ebx
mov edi, ecx
jne 0x1001fd0
cmp edi, ebx
je 0x100201e
push ebx
lea ecx, [ebp + 8]
push ecx
movzx ecx, byte [0x1145d20]
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
jmp 0x1001fee
cmp edi, ebx
je 0x1001fe7
movzx ecx, byte [0x1145d20]
push ecx
push dword [ebp + 0xc]
push eax
call fcn.01001eaa
mov edi, eax
push 2
call fcn.01001b65
cmp edi, ebx
je 0x100201e
mov al, byte [0x1145ae0]
push 0x41
push 0x10094a0
push dword [esi + 0x1145af8]
mov byte [0x10094a0], al
call fcn.01001ef8
mov edi, eax
movzx eax, byte [0x10094a2]
cmp eax, dword [ebp + 0x10]
je 0x100201e
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100202c
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1009468]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x41
lea eax, [ebp - 0x48]
push 0
push eax
call sub.msvcrt.dll_memset
movzx edi, byte [ebp + 8]
mov al, byte [0x1145ae0]
mov esi, edi
shl esi, 2
and dword [esi + 0x1145ae8], 0
add esp, 0xc
cmp byte [0x10a7924], 1
mov byte [ebp - 0x48], al
mov byte [ebp - 0x47], 0xf1
mov byte [ebp - 0x46], 6
jne 0x1002099
push 0
lea eax, [ebp - 0x4c]
push eax
movzx eax, byte [0x1145d20]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x1145af8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1002100
movzx eax, byte [0x1145d20]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x1145af8]
call fcn.01001eaa
test eax, eax
je 0x1002100
mov al, byte [0x1145ae0]
push 0x41
push 0x10094a0
push dword [esi + 0x1145af8]
mov byte [0x10094a0], al
call fcn.01001ef8
movzx cx, byte [0x10094a5]
mov edx, 0x100
imul cx, dx
movzx dx, byte [0x10094a4]
add cx, dx
mov edx, 0xffff
mov word [edi*2 + 0x1145d28], cx
cmp cx, dx
jne 0x1002100
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100733a
leave
ret 4

Function at 0x1002830
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov al, byte [0x1145d10]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0
mov byte [ebp - 2], 0
test al, al
jbe 0x10028f6
movzx ebx, byte [ebp - 2]
cmp dword [ebx*4 + 0x1145af8], 0
je 0x10028d8
inc byte [ebp - 1]
cmp byte [0x1009495], 0
jne 0x10028d8
inc byte [ebp - 3]
push 1
lea eax, [ebx + 0x82]
push eax
push dword [0x1009488]
call esi
push eax
call edi
push 1
lea eax, [ebx + 0x8c]
push eax
push dword [0x1009488]
call esi
push eax
call edi
push 0
lea eax, [ebx + 0x99]
push eax
push dword [0x1009488]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
add ebx, 0x96
push ebx
push dword [0x1009488]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [0x1145d10]
inc byte [ebp - 2]
cmp byte [ebp - 2], al
jb 0x100285e
cmp byte [ebp - 1], 0
je 0x10028f6
cmp byte [0x1145d00], 0
je 0x10028f6
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
jne 0x100298d
cmp byte [0x1009495], 0
jne 0x100299c
push 0x10a7a60
push 0x100
push 0x1145b00
mov ebx, 0x1145d80
push ebx
push 6
push 0x10a7940
call fcn.01006af0
push ebx
call fcn.01001d4e
push 1
push 0x64
push dword [0x1009488]
call esi
push eax
call edi
cmp byte [ebp - 3], 2
jne 0x100299c
push 1
push 0x84
push dword [0x1009488]
call esi
push eax
call edi
push 1
push 0x8e
push dword [0x1009488]
call esi
push eax
call edi
push 0
push 0x9b
push dword [0x1009488]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 5
push 0x98
jmp 0x1002991
push 0
push 0x64
push dword [0x1009488]
call esi
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10029a6
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x1009495], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
jne 0x1002a20
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x8c
mov dword [ebp - 8], 3
push 0
lea eax, [edi - 0xa]
push eax
push dword [0x1009488]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
push dword [0x1009488]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea eax, [edi + 0xa]
push eax
push dword [0x1009488]
call esi
push eax
call ebx
push 5
lea eax, [edi + 0xd]
push eax
push dword [0x1009488]
call esi
push eax
call ebx
inc edi
dec dword [ebp - 8]
jne 0x10029d1
cmp byte [0x1145d10], 0
mov byte [ebp - 1], 0
jbe 0x1002a8a
movzx eax, byte [ebp - 1]
mov ebx, eax
xor ecx, ecx
shl ebx, 2
lea edi, [ebx + 0x1145af8]
mov word [eax*2 + 0x1145e98], cx
mov word [eax*2 + 0x1145af0], cx
mov word [eax*2 + 0x10a787c], cx
mov eax, dword [edi]
test eax, eax
je 0x1002a66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi], 0
lea ebx, [ebx + 0x1009840]
mov eax, dword [ebx]
test eax, eax
je 0x1002a7c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebx], 0
inc byte [ebp - 1]
mov al, byte [ebp - 1]
cmp al, byte [0x1145d10]
jb 0x1002a2d
cmp dword [ebp + 8], 0
je 0x1002ad3
push 0x1001274
push 0x100
mov edi, 0x1145b00
push edi
push 0x1145d80
push 4
push 0x10a7940
call fcn.01006af0
push edi
push 0x65
push dword [0x1009488]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0x64
push dword [0x1009488]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1005915
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
sub dword [ebp - 0xc], ecx
push 4
lea esi, [edx + 3]
lea edi, [ecx + 1]
pop edx
mov eax, edi
mov dword [ebp - 0x24], edx
mov bl, byte [esi - 3]
mov byte [eax - 1], bl
mov ebx, dword [ebp - 0xc]
mov bl, byte [ebx + eax]
mov byte [eax], bl
mov bl, byte [esi - 1]
mov byte [eax + 1], bl
mov bl, byte [esi]
mov byte [eax + 2], bl
add esi, edx
add eax, edx
dec dword [ebp - 0x24]
jne 0x1005934
mov dword [ebp - 0xc], edx
lea edx, [ecx + 3]
lea eax, [edx + 0x10]
lea ebx, [ecx + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
sub dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
sub dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
sub dword [ebp - 0x18], edi
lea eax, [edi + 0xc]
lea edi, [ecx + 2]
mov dword [ebp - 0x1c], ecx
sub dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edx
sub dword [ebp - 0x24], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
sub dword [ebp - 0x20], edx
lea esi, [ecx + 2]
test byte [ebp - 0xc], 3
mov ebx, dword [ebp - 0x14]
mov bl, byte [ebx + eax]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + eax]
mov cl, byte [eax]
mov byte [ebp - 6], bl
mov ebx, dword [ebp - 0x18]
mov bl, byte [ebx + eax]
mov byte [ebp - 5], bl
jne 0x10059f0
movzx ebx, bl
mov bl, byte [ebx + 0x1001828]
movzx ecx, cl
mov byte [ebp - 1], dl
mov dl, byte [ecx + 0x1001828]
movzx ecx, byte [ebp - 6]
mov cl, byte [ecx + 0x1001828]
mov byte [ebp - 6], bl
movzx ebx, byte [ebp - 1]
mov bl, byte [ebx + 0x1001828]
mov byte [ebp - 5], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 2
xor dl, byte [ebx + 0x1001a28]
mov ebx, dword [ebp - 0x1c]
mov bl, byte [ebx + esi]
xor bl, dl
mov edx, dword [ebp - 0x20]
mov byte [edi + edx], bl
mov dl, byte [eax - 0xc]
xor dl, cl
mov byte [eax + 4], dl
mov cl, byte [esi]
xor cl, byte [ebp - 6]
add eax, 4
mov byte [esi + 0x10], cl
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + esi]
xor cl, byte [ebp - 5]
inc dword [ebp - 0xc]
mov byte [edi], cl
add esi, 4
add edi, 4
cmp dword [ebp - 0xc], 0x2c
jb 0x1005995
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005a7e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
movzx eax, al
push edi
shl eax, 4
add eax, dword [ebp + 8]
push 4
pop edi
push 4
pop esi
mov dl, byte [eax]
xor byte [ecx], dl
inc eax
inc ecx
dec esi
jne 0x1005a94
dec edi
jne 0x1005a91
pop edi
pop esi
pop ebp
ret 4
Function at 0x1005aab
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 4
add ecx, 2
pop esi
mov al, byte [ecx + 1]
xor al, byte [ecx]
mov dl, byte [ecx - 2]
mov bl, byte [ecx - 1]
mov byte [ebp - 3], al
xor al, dl
xor al, bl
mov byte [ebp - 1], al
mov byte [ebp - 2], dl
xor dl, bl
mov al, dl
shr al, 7
mov bl, 0x1b
imul bl
add dl, dl
xor al, dl
xor al, byte [ebp - 2]
mov dl, byte [ecx - 1]
xor al, byte [ebp - 1]
xor dl, byte [ecx]
mov byte [ecx - 2], al
mov al, dl
shr al, 7
imul bl
add dl, dl
xor al, dl
xor al, byte [ecx - 1]
mov dl, byte [ebp - 3]
xor al, byte [ebp - 1]
mov byte [ecx - 1], al
mov al, dl
shr al, 7
imul bl
add dl, dl
xor al, dl
xor al, byte [ecx]
mov dl, byte [ecx + 1]
xor al, byte [ebp - 1]
xor dl, byte [ebp - 2]
mov byte [ecx], al
mov al, dl
shr al, 7
imul bl
add dl, dl
xor al, dl
xor al, byte [ecx + 1]
add ecx, 4
xor al, byte [ebp - 1]
dec esi
mov byte [ecx - 3], al
jne 0x1005ab9
pop esi
pop ebx
leave
ret
Function at 0x1005e7b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push dword [ebp + 8]
mov ecx, esi
xor al, al
call fcn.01005a7e
mov bl, 1
mov ecx, esi
mov dword [ebp - 4], 4
push 4
mov eax, ecx
pop edi
movzx edx, byte [eax]
mov dl, byte [edx + 0x1001828]
mov byte [eax], dl
add eax, 4
dec edi
jne 0x1005e9f
inc ecx
dec dword [ebp - 4]
jne 0x1005e9a
mov cl, byte [esi + 5]
mov al, byte [esi + 1]
mov byte [esi + 1], cl
mov cl, byte [esi + 9]
mov byte [esi + 5], cl
mov cl, byte [esi + 0xd]
mov byte [esi + 9], cl
mov cl, byte [esi + 0xa]
mov byte [esi + 0xd], al
mov al, byte [esi + 2]
mov byte [esi + 2], cl
mov cl, byte [esi + 0xe]
mov byte [esi + 0xa], al
mov al, byte [esi + 6]
mov byte [esi + 6], cl
mov cl, byte [esi + 0xf]
mov byte [esi + 0xe], al
mov al, byte [esi + 3]
mov byte [esi + 3], cl
mov cl, byte [esi + 0xb]
mov byte [esi + 0xf], cl
mov cl, byte [esi + 7]
mov byte [esi + 0xb], cl
mov byte [esi + 7], al
mov ecx, esi
cmp bl, 0xa
je 0x1005f1d
call fcn.01005aab
push dword [ebp + 8]
mov ecx, esi
mov al, bl
call fcn.01005a7e
inc bl
jmp 0x1005e91
push dword [ebp + 8]
mov al, 0xa
call fcn.01005a7e
pop edi
pop ebx
leave
ret 4

Function at 0x1005f32
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
mov ecx, esi
mov al, 0xa
call fcn.01005a7e
push ebx
mov byte [ebp - 1], 9
push edi
mov cl, byte [esi + 9]
mov al, byte [esi + 0xd]
mov byte [esi + 0xd], cl
mov cl, byte [esi + 5]
mov byte [esi + 9], cl
mov cl, byte [esi + 1]
mov byte [esi + 5], cl
mov cl, byte [esi + 0xa]
mov byte [esi + 1], al
mov al, byte [esi + 2]
mov byte [esi + 2], cl
mov cl, byte [esi + 0xe]
mov byte [esi + 0xa], al
mov al, byte [esi + 6]
mov byte [esi + 6], cl
mov cl, byte [esi + 7]
mov byte [esi + 0xe], al
mov al, byte [esi + 3]
mov byte [esi + 3], cl
mov cl, byte [esi + 0xb]
mov byte [esi + 7], cl
mov cl, byte [esi + 0xf]
push 4
mov byte [esi + 0xb], cl
mov byte [esi + 0xf], al
mov ecx, esi
pop edx
push 4
mov eax, ecx
pop edi
movzx ebx, byte [eax]
mov bl, byte [ebx + 0x1001928]
mov byte [eax], bl
add eax, 4
dec edi
jne 0x1005f9c
inc ecx
dec edx
jne 0x1005f97
push dword [ebp + 8]
mov al, byte [ebp - 1]
mov ecx, esi
call fcn.01005a7e
cmp byte [ebp - 1], 0
je 0x1005fd3
mov eax, esi
call fcn.01005b40
dec byte [ebp - 1]
jmp 0x1005f4a
pop edi
pop ebx
leave
ret 4