joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cf38
mov edx, dword [ebp + 8]
push edx
call fcn.0041a630
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jne 0x41cf38
mov dword [ebp - 8], 1
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
jne 0x41cff3
push 0x200000
call fcn.00401d7a
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x200000
push 0x42956c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041dd80
add esp, 0x14
test eax, eax
je 0x41cfe7
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040148c
add esp, 4
push 0xc8
push 0x32
call fcn.0041aaa0
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0041a500
add esp, 8
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040fa40
add esp, 0xc
cmp eax, 1
jne 0x41cfe0
mov dword [ebp - 4], 1
jmp 0x41cfe7
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00403a7b
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41d380
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x42b044]
xor eax, ebp
mov dword [ebp - 0x28], eax
push 0x64
push 0x42d6b0
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x42d5e8
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [ebp + 8]
push edx
call fcn.0041b8d0
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
push 0x42e1b8
call fcn.004013c4
add esp, 8
call fcn.0041a6b0
mov dword [0x42c0a0], eax
push 0x428fe4
push 0x42e1b8
call fcn.004013e0
add esp, 8
test eax, eax
je 0x41d40c
call fcn.0041be00
test eax, eax
je 0x41d40c
call fcn.0041a2f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041cae0
add esp, 8
test eax, eax
jne 0x41d427
xor eax, eax
jmp 0x41d59d
push 0x6d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 8], eax
mov word [ebp - 0x230], 0
push 0x206
push 0
lea ecx, [ebp - 0x22e]
push ecx
call fcn.004012f0
add esp, 0xc
cmp dword [0x42de00], 0
jbe 0x41d48a
movzx edx, word [0x42de04]
test edx, edx
jle 0x41d48a
push 0x42c63c
mov eax, dword [0x42de00]
push eax
call fcn.0041a7c0
add esp, 8
mov cx, word [0x42de04]
mov word [0x42c64c], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
push edx
push 0x428fec
push 0x42e3c8
call fcn.00401000
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041bce0
lea eax, [ebp - 0x230]
push eax
call fcn.0041acf0
add esp, 4
push 0x429004
push 0x104
lea ecx, [ebp - 0x230]
push ecx
call fcn.00401412
add esp, 0xc
push 0x42e3c8
push 0x104
lea edx, [ebp - 0x230]
push edx
call fcn.00401412
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d543
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x429008
lea ecx, [ebp - 0x230]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.0041d000
add esp, 4
call fcn.0041a2f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004012d2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41dcb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x42b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004012f0
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0xffffffff
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [ebp - 0x210]
sub edx, 0x41
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0041a060
add esp, 8
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0041a180
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x41dd5a
xor eax, eax
jmp 0x41dd6d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.0041db30
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d2
mov esp, ebp
pop ebp
ret
Function at 0x4548d9
Capabilities:
Encode data using xor

Disassembly:
mov word [ebx - 0x5a50bc5a], gs
inc ecx
call 0xc5b40d4c
clc
pop es
sub al, 0xe5
cmpsd dword [esi], dword es:[edi]
push edx
mov al, 0x2e
fimul word [esi - 0x6a24b48f]
popfd
push ebx
in eax, 0x6c
das
sbb eax, 0xa2e2c2ba
pop es
js 0x4548c6
mov esi, 0xdf3a36d
pushal
and dword [ecx], ebp
sub dword [esi], esi
mov bh, 0xfc
jne 0x45492a
add edx, eax
cmpsb byte [esi], byte es:[edi]
inc esp
bound edx, qword [ebx - 0x385a1fb2]
sal byte [edx - 0x1b], 1
pop eax
test eax, 0x8f60e2fc
xor al, 0x44
mov edi, 0xb620c2ff
xlatb
fidivr word [edx + 0x20]
out 0x9b, al
add byte [esi], 0xfd
mov ebp, ebx
inc edi
invalid
sbb dword [eax - 0x61], eax
loopne 0x454995
mov bl, 0x97
imul ebx, dword [eax + 0x25], 0xa2810ede
and eax, 0xe1892e91
sbb dword [eax + 0x6b], esi
mov al, byte [0x9988c217]
push esp
xchg ecx, eax
xor dword [esp + eax*8 + 0x3f], eax
jp 0x454993
in eax, 0x1f
xchg edx, eax
invalid
add bl, dl
push ebx
xor esi, ecx
and dword ss:[ebx + 0x55], ebp
sbb bh, bl
add ch, byte [edx - 0x36d4d5a3]
fdiv dword [ebp + 0x36417df5]
jnp 0x4549a6
push esp
push ebx
lahf
invalid
stosd dword es:[edi], eax
pop edi
loope 0x45495c
std
pop ds
invalid
and al, 0xfd
adc al, 0x9b
inc esp
test dword [esi + 0x25], ecx
push eax
bound eax, qword [eax + ecx - 0x18]
stosd dword es:[edi], eax
sar dword [ecx], 1
add cl, byte [eax - 0x55]
lea eax, [ecx]
jmp 0x454a02
sbb al, 0xf4
out dx, al
test dword [edi + esi*4 - 0x12], edi
inc esi
mov ebp, gs
mov ecx, 0xe6d11b91
mov ch, 0x40
or al, 0x5c
test byte [ebp - 0x70], ah
mov ecx, 0xb1576e82
sbb eax, dword [edx + eax - 3]
popal
punpcklbw mm1, dword [esi - 0x62c3871b]
add al, 0x29
mov word [edi - 0x47], gs
hlt
Function at 0x628cf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313c8
cmp edx, dword [eax]
je 0x628d13
add eax, 8
inc ecx
cmp eax, 0x631458
jl 0x628d04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313c8]
jne 0x628e41
mov eax, dword [0x639d68]
cmp eax, 1
je 0x628e1b
test eax, eax
jne 0x628d44
cmp dword [0x6312f0], 1
je 0x628e1b
cmp edx, 0xfc
je 0x628e41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628d7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006296d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628dbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62da54
push edi
call fcn.0062ba30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006296d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006296e0
lea eax, [ebp - 0xa0]
push 0x62da34
push eax
call fcn.006296e0
push dword [esi + 0x6313cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006296e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b9a4
add esp, 0x2c
pop edi
jmp 0x628e41
lea eax, [ebp + 8]
lea esi, [esi + 0x6313cc]
push 0
push eax
push dword [esi]
call fcn.00629b60
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 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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

Disassembly:
pushal
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x44f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453190
cmp edx, dword [eax]
je 0x44f78b
add eax, 8
inc ecx
cmp eax, 0x453220
jl 0x44f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453190]
jne 0x44f8b9
mov eax, dword [0x453bb0]
cmp eax, 1
je 0x44f893
test eax, eax
jne 0x44f7bc
cmp dword [0x4530e4], 1
je 0x44f893
cmp edx, 0xfc
je 0x44f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00450670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00450490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00450490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45245c
push edi
call fcn.00450f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00450670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00450680
lea eax, [ebp - 0xa0]
push 0x45243c
push eax
call fcn.00450680
push dword [esi + 0x453194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00450680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450e75
add esp, 0x2c
pop edi
jmp 0x44f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x453194]
push 0
push eax
push dword [esi]
call fcn.00450490
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x710c84
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7109ec
inc ecx
add ecx, 0x6058b06d
call fcn.00710cc4
add ecx, 0x9b26bf76
xor dword [ebx], eax
add edi, 0xe958cebd
mov edi, ecx
inc ebx
sub edi, 0xc0e81f1a
mov edi, 0x2aab4411
sub edi, edi
cmp ebx, edx
jne fcn.00710c84
add edi, 0xc04b6169
ret
Function at 0x405390
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
pushal
call 0x405396
pop ebp
sub ebp, 0x405396
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
mov edx, dword [eax + 8]
push edx
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp]
mov eax, dword [eax]
push eax
mov ebx, esp
push 0
push 0x746e756f
push 0x436b6369
push 0x54746547
push esp
push dword [ebp - 4]
call dword [ebp - 8]
mov esp, ebx
push eax
call dword [ebp - 0xc]
mov edx, eax
nop
mov ebx, 0x20000
nop
nop
nop
nop
nop
nop
dec ebx
nop
nop
nop
nop
nop
jne 0x4053e5
nop
call dword [ebp - 0xc]
nop
cmp eax, edx
nop
je pe_dos_header
mov esp, ebp
pop ebp
nop
nop
mov eax, 0x4011e0
xor byte [eax], 0x72
inc eax
cmp eax, entry0
jb 0x40540a
mov eax, 0x402c5a
xor byte [eax], 0x72
inc eax
cmp eax, 0x404e5c
jb 0x40541a
popal
ret
Function at 0x5aeb30
Capabilities:
Encode data using xor

Disassembly:
jbe 0x5aeb2a
mov bl, byte [ebx - 0xb061468]
js 0x5aeb3a
jmp 0x5aeb17
sahf
sbb edx, edi
invalid
mov ax, 0x26bd
push cs
sub dh, byte [edx - 0x16]
jb 0x5aeb1c
jb 0x5aeb1c
and dword [esp + edx*2], edx
sahf
bound di, dword [ecx - 0x4a]
invalid
invalid
pushfd
and dword [edx], ebx
invalid
Function at 0x643d80
Capabilities:
Encode data using xor

Disassembly:
inc ebx
insb byte es:[edi], dx
insb byte es:[edi], dx
push 0
jo 0x643dc8
pop eax
sub cl, byte [eax]
test al, 0xe2
or byte [ecx + 0x3a182735], dl
dec ebp
and dword [edi + 0x5a3d8084], eax
retf 0xb3f1
push cs
in eax, 0x2a
xlatb
cmp edi, eax
jecxz 0x643df5
sub dword [ebp - 0x64a875b9], esp
test eax, 0x3b630886
cmp byte [edx + ecx*4 - 0x2688713b], al
and ch, byte [eax + 0x45]
js 0x643e52
stosb byte es:[edi], al
push edx
leave
cmc
jg 0x643df2
sub dword [ebp + 0x49e4bb09], ebx
dec ecx
in al, 0x3f
cdq
test edx, esi
jne 0x643e0f
inc ecx
sahf
in al, 4
lahf
sbb dl, byte [edx - 0x1d]
adc dword [ebp - 0x3ae977e0], 0x1c9a2322
cmp dword [ebx - 0x3e], ebp
aad 0x28
insd dword es:[edi], dx
wait
pop edx
scasb al, byte es:[edi]
cmp dword [ebx + 0xf], ecx
jmp 0x2766b8f9
cmovne ebx, dword [esi - 0x76]
mov bh, 0x39
push edi
stosb byte es:[edi], al
mov ecx, 0xd5dfe58b
enter 0xffffffffffffe194, 0x35
cli
imul eax, dword [edi + 0x28], 0x5ab7798d
jns 0x643ea4
xchg edx, eax
pop ss
int1
add eax, 0xc1729cb5
adc al, 0xf6
hlt
bnd jbe 0x643e29
aam 0x3c
aam 0x16
cmp al, 0xd4
push ss
loopne 0x643ec1
xlatb
jp 0x643e54
push es
fisub word [esi + 0x34]
mov dword [0x81974171], eax
push edi
pop dword [ebx - 0x16]
and al, 0xa6
in al, 0xe5
add dl, dl
mov cl, 0xa6
invalid
xchg ebp, eax
xchg edi, eax
inc esi
rol byte [edi + 0x12f915e0], cl
test dword [edi], edi
add eax, 0x71874667
xor byte [ecx], ch
in eax, dx
push 0xd4f821ca
outsb dx, byte ds:[esi]
pop ecx
std
mul byte [ebp + 0x5d4963b]
xor al, 0x23
cmp edx, dword [esi + 0x233405d4]
bound eax, qword [esi + 0x19]
salc
or eax, ecx
sub byte [edi + 0x6962e076], ch
ret
shl dl, cl
je 0x643f38
inc ebx
cmp eax, dword [esi*8 + 0x6b9bae34]
stc
sbb bh, cl
jecxz 0x643e72
call fcn.0064669e
aad 0xdd
dec ecx
cmp dword [edi], eax
inc esi
invalid
jmp 0x643e85
imul dword [ecx + 0x15924405]
aaa
and al, 0x77
cmc
pop ebp
outsd dx, dword [esi]
push ss
test dword [esi - 0x353a495b], esp
mov dword [esi + 0x1e], ebx
mov ebx, 0x46d97601
or ebx, ebx
adc edi, esi
add eax, esi
aas
mov edi, 0xb425e1a5
and eax, 0x94522bac
xchg edi, eax
pop ss
jne 0x643ead
add al, 0xc1
cmp byte [ebp + 0x2ef207c2], bl
test byte [0x790578c4], al
adc byte [ebp - 0x74], dl
add eax, 0x8c551079
cmc
xchg dword [ebp - 0x7e2909fd], esp
inc esp
adc dword [edi], 0x7905b53a
fldenv [esi - 0x58e8aa3b]
jno 0x643eec
xlatb
fsubr dword [eax - 0x69]
stc
sub byte [ebx], ch
pop eax
mov edx, dword [edi - 0x7a]
test eax, 0x395aeaeb
push eax
sub ebp, dword [ebp - 0x37]
jnp 0x643efa
xlatb
aaa
dec ebp
xchg edx, esp
push edi
xor eax, 0xc95c758b
stosd dword es:[edi], eax
cmp byte [ebx - 0x2499c60b], bh
mov ah, 0x8e
mov esp, 0x23f8c9c5
shl dword [esi + edi*8 - 0x549416c8], cl
js 0x644002
mov dl, 0xaa
rcl byte [ecx]
cmp esp, dword [esi + esi + 0x5d73554]
nop
and eax, 0x456513df
inc edi
push ecx
adc byte es:[ebp + 0x51], dh
xor byte [ebp - 0x21], al
xchg ebp, eax
mov eax, 0x358803b8
adc dword [edx + 0x55a7e550], eax
and byte [edx - 0x60], dl
scasd eax, dword es:[edi]
xchg edi, eax
arpl word [ecx], bx
ja 0x643f8d
dec ecx
mov eax, dword [0xd9420e35]
ret
ret
Function at 0x41bdaa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418c03
mov dword [ebp - 0x14], eax
cmp dword [0x466660], edi
jne 0x41be9b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41be28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41bf7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41bf7b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bf7b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x466660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x466664], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x466668], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x466670], eax
test eax, eax
je 0x41be98
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46666c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41bec0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41beb3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41bed5
push 4
pop eax
jmp 0x41bf7d
cmp dword [ebp - 0x14], edi
je 0x41bed5
push dword [0x466660]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41beba
mov eax, dword [0x46666c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41bf33
cmp dword [0x466670], esi
je 0x41bf33
push eax
call ebx
push dword [0x466670]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41bf33
test eax, eax
je 0x41bf33
call ecx
test eax, eax
je 0x41bf28
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41bf28
test byte [ebp - 8], 1
jne 0x41bf33
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41bf63
mov eax, dword [0x466664]
cmp eax, esi
je 0x41bf60
push eax
call ebx
test eax, eax
je 0x41bf60
call eax
mov edi, eax
test edi, edi
je 0x41bf60
mov eax, dword [0x466668]
cmp eax, esi
je 0x41bf60
push eax
call ebx
test eax, eax
je 0x41bf60
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x466660]
call ebx
test eax, eax
je 0x41bf7b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41bf7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d09
leave
ret
Function at 0x713370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x71338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x73c074
push ecx
mov edi, eax
call fcn.00727198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7133cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0072702e
push esi
call fcn.00726fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x716850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7168ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x741720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7168ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007271e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7168ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x741720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x71692a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00728082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x716957
mov word [eax], si
add eax, 2
push eax
call fcn.00728030
add esp, 4
jmp 0x716959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7168ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7168b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x716ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret