joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d1c0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1690
call fcn.00418800
cmp dword [0x9639cc], 0x37
jne 0x41d2ea
push esi
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
lea ecx, [esp + 0x698]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov eax, dword [esp + 8]
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea ecx, [esp + 0x298]
push ecx
push 0x4041c0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0xe98]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x178]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x58]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call esi
push 0
push 0x4041e0
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0x404200
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x28], 0
call fcn.0040a850
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
pop esi
mov edx, dword [0x966130]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + edi]
mov edx, dword [0x9621c4]
mov byte [edx + edi], cl
add esp, 0x1690
ret
Function at 0x157b370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf09000]
push edi
or ebp, 0xffffffff
jmp 0x157b392
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x157b399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x157b388
mov eax, 1
add ebx, ebx
jne 0x157b3ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x157b3bc
jne 0x157b3db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x157b3db
dec eax
add ebx, ebx
jne 0x157b3c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x157b3a0
add ebx, ebx
jne 0x157b3d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x157b42d
xor ecx, ecx
sub eax, 3
jb 0x157b3f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x157b462
sar eax, 1
mov ebp, eax
jmp 0x157b3fe
add ebx, ebx
jne 0x157b3fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x157b3cc
inc ecx
add ebx, ebx
jne 0x157b40c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x157b3cc
add ebx, ebx
jne 0x157b419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x157b40e
jne 0x157b42a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x157b40e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x157b44c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x157b43e
jmp 0x157b38e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x157b44c
add edi, ecx
jmp 0x157b38e
pop esi
mov edi, esi
mov ecx, 0xf45b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x157b46a
cmp byte [edi], 0x3e
jne 0x157b46a
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 0x157b46f
lea edi, [esi + 0x1177000]
mov eax, dword [edi]
or eax, eax
je 0x157b4de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x117e278]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x117e3d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x157b49c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x117e3dc]
or eax, eax
je 0x157b4d8
mov dword [ebx], eax
add ebx, 4
jmp 0x157b4b9
call dword [esi + 0x117e3d8]
mov ebp, dword [esi + 0x117e3e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x157b512
sub esp, 0xffffff80
jmp 0x5dce10
Function at 0x401bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401bcb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401c02
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401bfe
jmp 0x401bf0
cmp esi, eax
jae 0x401c02
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401bf0
cmp esi, eax
jb 0x401c09
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404e7e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x511147
call fcn.004f6cb3
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x404ea3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x404ef5
call fcn.00406a3c
push eax
lea ecx, [ebp - 0x10]
call fcn.00401690
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f7814
push eax
call fcn.00401b20
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401740
mov eax, esi
call fcn.004f6d8b
ret 8

Function at 0x405e3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00418ba3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405e77
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00405a7b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x405ed5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x405ef9
cmp dword [edi + 0x74], 0
jne 0x405ef9
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00418ba3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00405e96
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40faf5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40fb3c
call fcn.00418ba3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40fb3c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fb58
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f5f5
mov esi, eax
test edi, edi
je 0x40fb56
test ebx, ebx
je 0x40fb56
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45a3e6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d4be2
call fcn.004185d4
cmp dword [eax + 0x14], 0
jne 0x45a403
mov ecx, esi
pop esi
jmp fcn.00459eeb
pop esi
ret

Function at 0x45d9c9
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004affa6
call fcn.004185d4
cmp dword [eax + 0x14], 0
jne 0x45d9e6
mov ecx, esi
pop esi
jmp fcn.0045d39c
pop esi
ret

Function at 0x46a391
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0046a035
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46a3db
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040dbb9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403cdd
jmp 0x46a3e6
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00417954
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46a3ec
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00404b48
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x46a429
call fcn.0046a035
mov dword [esi + 0xc], 1
jmp 0x46a42e
call fcn.0046a035
cmp dword [esi], 0
je 0x46a477
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x46a44f
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040dbb9
jmp 0x46a461
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004018a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403cdd
jmp 0x46a49b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x46a49b
push dword [esi]
push dword [ebp + 8]
call fcn.00417954
pop esi
pop ebp
ret 0xc
Function at 0x46df0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46df26
call fcn.00418ba3
mov esi, dword [eax + 0xc]
push dword [0x568588]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x46df44
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46df3c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46df71
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46df3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046de3a
mov esi, eax
jmp 0x46df63

Function at 0x4e0112
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e012a
mov edi, dword [esi + 0xc]
jmp 0x4e016a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e0143
call fcn.004070e5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e0158
call fcn.004070e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e016a
call fcn.004070e5
call fcn.00418ba3
cmp dword [eax + 0x3c], 0
je 0x4e017f
push edi
mov ecx, ebx
call fcn.004defce
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e002c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e019d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e01a9
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f55a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x563580]
jne 0x4f55ac
repz ret
jmp fcn.004fcbb3
Function at 0x508608
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x563580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004fc5db
and dword [ebp - 0x14], 0
cmp dword [0x56aed0], 0
mov dword [ebp - 0x18], eax
jne 0x5086bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x508763
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x544138
push ebx
call edi
test eax, eax
je 0x508763
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x544128
push ebx
mov dword [0x56aed0], eax
call edi
push eax
call esi
push 0x544114
push ebx
mov dword [0x56aed4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56aed8], eax
call edi
push eax
call esi
mov dword [0x56aee0], eax
test eax, eax
je 0x5086bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56aedc], eax
mov eax, dword [0x56aedc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x508714
cmp dword [0x56aee0], ecx
je 0x508714
push eax
call esi
push dword [0x56aee0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x508714
test ebx, ebx
je 0x508714
call edi
test eax, eax
je 0x50870b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50870b
test byte [ebp - 8], 1
jne 0x508714
or dword [ebp + 0x10], 0x200000
jmp 0x508747
mov eax, dword [0x56aed4]
cmp eax, dword [ebp - 0x18]
je 0x508747
push eax
call esi
test eax, eax
je 0x508747
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x508747
mov eax, dword [0x56aed8]
cmp eax, dword [ebp - 0x18]
je 0x508747
push eax
call esi
test eax, eax
je 0x508747
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56aed0]
call esi
test eax, eax
je 0x508763
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x508765
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f55a2
leave
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
mov ecx, 0x5b0b305b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x466336ad
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov esp, dword [esi]
enter 0x4007, 0
push eax
add ecx, 0x40
push 0x40d274
push ecx
call dword [sym.imp.MSVCRT.dll__strdup]
mov eax, dword [0x4195ac]
adc dword [ebx], 0xffffffd5
test eax, eax
je 0x401787
push eax
push 0x12ff54
jae 0x401795
or dword fs:[eax], eax
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
scasd eax, dword es:[edi]
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0xa00278]
mov eax, 0xa1000000
js 0x40179e
mov al, byte [0xe9c08500]
dec esp
inc eax
inc ecx
add byte [esp + edx + 0x68], dh
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc ecx
add byte [esi - 0x75], ah
or eax, 0x4102e5
loop 0x4017cf
test eax, eax
jmp 0x8157f1
mov edx, dword [0x411800]
push edx
push eax
call fcn.004057ce
pushaw
or eax, 0x4117f4
mov dword [0x411808], eax
mov eax, dword [0x75413d88]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_printf]
mov word [0x410bb4], cx
invalid
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x100061f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x10012cdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x134]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], edi
push ecx
push 0x2001f
push edi
push edx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x10006268
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, edi
je 0x10006258
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x1000627a
jmp 0x1000626c
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x10006315
push ecx
jmp 0x1000630f
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0x34]
push edx
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x100062e0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.100061f0
mov ebx, eax
cmp ebx, edi
jne 0x10006331
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100062a2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x100062f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x134]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x10006315
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x10006340
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10006317
Function at 0x100067b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.100080b0
push esi
push 0
push 0
mov esi, dword [esp + 0x1018]
push 0
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x100067fa
xor eax, eax
pop esi
add esp, 0x1008
ret 4
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x10006841
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x100067ee
mov al, byte [esp + 0xc]
test al, al
je 0x100067ee
mov eax, 1
pop esi
add esp, 0x1008
ret 4
xor ecx, ecx
pop esi
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x1008
ret 4

Function at 0x1000b37f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1001a728
cmp edx, dword [eax]
je 0x1000b3a1
add eax, 8
inc ecx
cmp eax, 0x1001a7b8
jl 0x1000b392
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1001a728]
jne 0x1000b4cf
mov eax, dword [0x1001cf24]
cmp eax, 1
je 0x1000b4a9
test eax, eax
jne 0x1000b3d2
cmp dword [0x1001cf28], 1
je 0x1000b4a9
cmp edx, 0xfc
je 0x1000b4cf
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000b409
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000b570
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000b660
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000b44c
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000b660
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10015998
push edi
call fcn.1000be70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000b570
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000b580
lea eax, [ebp - 0xa0]
push 0x10015978
push eax
call fcn.1000b580
push dword [esi + 0x1001a72c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000b580
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000bde7
add esp, 0x2c
pop edi
jmp 0x1000b4cf
lea eax, [ebp + 8]
lea esi, [esi + 0x1001a72c]
push 0
push eax
push dword [esi]
call fcn.1000b660
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