joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428af0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x990eb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi], vtable.COpenCallbackImp.4.0
mov dword [esi + 4], vtable.COpenCallbackImp.3.0
mov dword [esi + 8], vtable.COpenCallbackImp.2.0
mov dword [esi + 0xc], vtable.COpenCallbackImp.1.0
mov dword [esi + 0x10], vtable.COpenCallbackImp.0
mov byte [esi + 0x18], al
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00409c70
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00409c70
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.0040cc80
lea ecx, [esi + 0x88]
call fcn.00409c70
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.00423b90
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42afb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x99110a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00409c70
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00409c70
mov word [esi + 0x60], bx
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00409c70
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00409c70
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d0b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x991388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
push ebx
mov ebx, ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00409c70
mov edi, dword [ebp + 0x10]
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x42d133
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0042ceb0
push eax
push 0xdb0
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.0042cf70
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00409ee0
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0092a351
mov edx, dword [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0
call fcn.0092a351
add esp, 8
push esi
lea esi, [edi + 0x18]
mov ecx, esi
call fcn.0040a360
mov dword [ebp + 0x10], eax
inc eax
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.00419240
mov ecx, dword [esi]
mov edx, dword [ebp + 0x10]
lea eax, [ecx + edx*2 + 2]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00409cf0
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0042cfe0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, ebx
call fcn.0042cfe0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x18]
call fcn.00409dc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040a0b0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a180
lea ecx, [ebp - 0x18]
call fcn.0040a0b0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040a180
lea ecx, [ebp - 0x18]
call fcn.0040a0b0
cmp byte [edi + 1], 0
je 0x42d217
push 0x3f4
lea edx, [ebp - 0x3c]
push edx
call fcn.0040f250
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0040a180
mov eax, dword [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call fcn.0092a351
add esp, 4
push 0x994888
lea ecx, [ebp - 0x18]
call fcn.0040a210
push 0
lea ecx, [ebp - 0x74]
push ecx
add edi, 0x10
push edi
call fcn.0040f180
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040a210
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [esi]
push 0x110
push 0x2b4
lea eax, [ebp - 0x328]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop esi
test eax, eax
je 0x42d275
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 4]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x328]
push 0
push ecx
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x18]
push edx
call fcn.0092a351
mov eax, dword [ebp - 0x30]
push eax
call fcn.0092a351
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0092a351
mov edx, dword [ebp - 0x24]
push edx
call fcn.0092a351
mov ecx, dword [ebp - 0xc]
add esp, 0x10
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e840
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x991404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
or eax, 0xffffffff
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x38]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x10000
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.00409c70
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00409c70
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00409c70
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea edi, [esi + 0x68]
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], edi
call fcn.00409c70
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 4
call fcn.00409c70
add edi, 0x18
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], edi
call fcn.00409c70
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 6
call fcn.00409c70
lea eax, [esi + 0x98]
push eax
call fcn.00408e50
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
cmp ecx, dword [edi + 0xb4]
jne 0x430940
cmp dword [eax + 8], 0xffffff65
jne 0x430940
movzx eax, word [eax + 0xc]
sub eax, 0x2d
je 0x43096a
sub eax, 0x14
je 0x430948
sub eax, 2
je 0x43096a
pop edi
xor al, al
pop esi
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x430940
lea ecx, [edi + 0xb4]
call fcn.0042d4f0
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x430940
mov ecx, edi
call fcn.0042f880
pop edi
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x434be0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
or ecx, 0x80
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2b0]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x434c20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
sub esp, 0x2b4
neg eax
sbb eax, eax
and eax, 0xffffff01
add eax, 0x100
or eax, 0x4010
push eax
push 0x2b4
lea ecx, [ebp - 0x2b4]
push ecx
push 0x90
push 0x993858
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret 4
Function at 0x434e90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x991728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x57c
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edi, edi
or esi, 0xffffffff
xor ecx, ecx
cmp ax, di
je 0x434ed9
cmp ax, 0x2e
jne 0x434ece
mov esi, ecx
movzx eax, word [edx + ecx*2 + 2]
inc ecx
cmp ax, di
jne 0x434ec6
mov ebx, dword [ebp + 8]
test bl, 0x10
jne 0x435005
cmp esi, edi
jl 0x435005
lea esi, [edx + esi*2]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 8], esi
add esi, 2
push esi
add edi, 0xc
push edi
call fcn.00434cd0
test eax, eax
js 0x434f29
mov ecx, dword [edi]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
je 0x434fa2
add eax, 0xffffffd0
cmp ax, 9
ja 0x434f47
movzx eax, word [esi + ecx*2 + 2]
inc ecx
test ax, ax
jne 0x434f33
test ecx, ecx
je 0x434fa2
cmp word [esi + ecx*2], 0
jne 0x434fa2
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x1c], 0
jne 0x434f8c
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d4]
push eax
push 0x80
push str.__FILE__.001
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2d0]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x20]
call fcn.00409c70
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00409e70
mov eax, dword [ebp + 8]
push 0x4010
push 0x2b4
lea edx, [ebp - 0x2d4]
push edx
or ebx, 0x80
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x14], ecx
push eax
mov ecx, edi
call fcn.00434dc0
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
push ecx
call fcn.0092a351
add esp, 4
jmp 0x43506b
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 4]
mov dword [ebp + 0xc], edi
test esi, esi
je 0x43502f
mov eax, edx
mov edx, dword [eax]
lea eax, [esi + edi]
shr eax, 1
mov ecx, dword [edx + eax*8]
cmp ebx, ecx
je 0x435080
jae 0x435028
mov esi, eax
jmp 0x43502b
lea edi, [eax + 1]
cmp edi, esi
jne 0x435016
mov dword [ebp + 0xc], edi
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x588]
push ecx
mov edx, ebx
or edx, 0x80
push edx
push str.__DIR__
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x584]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push esi
push ebx
push eax
call fcn.00434d30
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test eax, eax
js 0x435032
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + eax*8 + 4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x435a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x99183b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00409c70
mov word [esi + 0x20], bx
mov word [esi + 0x22], bx
mov word [esi + 0x24], bx
mov word [esi + 0x26], bx
mov word [esi + 0x28], bx
mov al, 1
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
mov word [esi + 0x2a], bx
mov byte [esi + 0x22], al
mov byte [esi + 0x24], bl
mov byte [esi + 0x26], al
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], 0x100
call fcn.00409c70
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46e58c
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x30], 0
and dword [ecx + 0x34], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
push 0x996864
add ecx, 0x14
call fcn.0046e28a
ret

Function at 0x49a676
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test eax, eax
jle 0x49a6a3
mov edx, dword [ebp - 4]
add edx, dword [ebp + 0xc]
mov eax, dword [edi]
mov bl, byte [edx]
xor byte [eax + esi], bl
mov eax, dword [ecx]
inc esi
add edx, 4
cmp esi, eax
jl 0x49a692
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 4
jl 0x49a686
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x49a70a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 4
sub ecx, eax
sub esi, eax
pop edi
mov dl, byte [ecx + eax]
xor dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x49a71f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x49a8c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x49a8ea
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
sub ecx, eax
sub esi, eax
mov dl, byte [ecx + eax]
xor dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x49a8dd
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x49ab99
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x991fd4
call fcn.0092b5a4
sub esp, 0x64
push esi
xor esi, esi
push 0x40
lea eax, [ebp - 0x6f]
push esi
mov dword [ebp - 0x10], esi
push eax
mov byte [ebp - 0x70], 0
call fcn.0092a010
add esp, 0xc
xor eax, eax
lea ecx, [eax + 0x41]
mov byte [ebp + eax - 0x70], cl
inc eax
cmp eax, 0x1a
jl 0x49abc1
xor eax, eax
lea ecx, [eax + 0x61]
mov byte [ebp + eax - 0x56], cl
inc eax
cmp eax, 0x1a
jl 0x49abd0
xor eax, eax
lea ecx, [eax + 0x30]
mov byte [ebp + eax - 0x3c], cl
inc eax
cmp eax, 0xa
jl 0x49abdf
mov word [ebp - 0x32], 0x2f2b
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], esi
je 0x49ad12
push edi
mov edi, dword [ebp + 0xc]
push ebx
mov al, byte [edi]
dec dword [ebp + 0x10]
mov byte [ebp + esi + 0xc], al
mov bl, byte [ebp + 0xd]
inc esi
inc edi
cmp esi, 3
jne 0x49ac78
mov al, byte [ebp + 0xc]
shr al, 2
mov byte [ebp - 0x10], al
mov al, byte [ebp + 0xc]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp + 0xe]
mov byte [ebp - 0xf], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0xe], al
mov al, byte [ebp + 0xe]
and al, 0x3f
mov byte [ebp - 0xd], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x10]
movzx eax, byte [ebp + eax - 0x70]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0046defd
inc esi
cmp esi, 4
jl 0x49ac5b
xor esi, esi
cmp dword [ebp + 0x10], 0
jne 0x49ac11
test esi, esi
je 0x49ad10
cmp esi, 3
jge 0x49aca3
push 3
pop ecx
sub ecx, esi
push ecx
lea eax, [ebp + esi + 0xc]
push 0
push eax
call fcn.0092a010
mov bl, byte [ebp + 0xd]
add esp, 0xc
mov al, byte [ebp + 0xc]
mov cl, al
shr cl, 2
mov byte [ebp - 0x10], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0xf], al
mov al, byte [ebp + 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0xe], bl
and al, 0x3f
lea ebx, [esi + 1]
xor edi, edi
mov byte [ebp - 0xd], al
test ebx, ebx
jle 0x49acf8
movzx eax, byte [ebp + edi - 0x10]
movzx eax, byte [ebp + eax - 0x70]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0046defd
inc edi
cmp edi, ebx
jl 0x49acde
push 3
pop edi
cmp esi, edi
jge 0x49ad10
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x2c]
call fcn.0046defd
dec edi
jne 0x49ad01
pop ebx
pop edi
mov esi, dword [ebp + 8]
and dword [esi + 0x10], 0
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.0049ab1f
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00458374
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x49ad4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [edi + 0x64]
xor ebx, ebx
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
call fcn.0092a367
push esi
push ebx
push eax
mov dword [ebp + 0x10], eax
call fcn.0092a010
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00929b30
mov eax, dword [ebp + 0xc]
add esp, 0x1c
mov ecx, edi
cmp edi, ebx
je 0x49ad91
mov byte [eax], bl
inc eax
dec ecx
jne 0x49ad8b
push 8
pop ecx
push dword [ebp + 0x14]
xor eax, eax
lea edx, [edi + 0xf]
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
and edx, 0xfffffff0
push edx
push dword [ebp + 0x10]
mov word [ebp - 0x39], 0x3441
mov word [ebp - 0x3c], 0x4642
mov dword [ebp - 0x32], 0x42343339
mov word [ebp - 0x26], 0x4134
mov dword [ebp - 0x36], 0x46453845
mov byte [ebp - 0x37], 0x45
mov word [ebp - 0x2e], 0x3745
mov dword [ebp - 0x1f], 0x323945
mov byte [ebp - 0x3a], 0x45
mov dword [ebp - 0x2b], 0x43344232
mov byte [ebp - 0x20], 0x31
mov dword [ebp - 0x24], 0x44414230
mov byte [ebp - 0x27], 0x36
mov byte [ebp - 0x2c], 0x41
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], ebx
call fcn.0049aa34
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp esi, ebx
je 0x49ae29
mov byte [eax], bl
inc eax
dec esi
jne 0x49ae23
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.0049ab99
push dword [ebp + 0x10]
call fcn.0092a351
push edi
call fcn.0092a351
mov eax, dword [ebp + 8]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4da266
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [esi + 0xdc]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4da2b9
push edi
lea eax, [ebp + 8]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x2d1080
push ebx
call dword [esi + 0xcc]
test eax, eax
je 0x4da2b2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x51c3a8
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x926e63
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x926df3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x92ebb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x9c9230]
jne 0x92ebba
repz ret
jmp fcn.00934849

Function at 0x934343
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x9c9230]
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.0092cd1f
and dword [ebp - 0x14], 0
cmp dword [0x9cd408], 0
mov dword [ebp - 0x18], eax
jne 0x9343f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x93449e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x9b091c
push ebx
call edi
test eax, eax
je 0x93449e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x9cd408], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x9cd40c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x9cd410], eax
call edi
push eax
call esi
mov dword [0x9cd418], eax
test eax, eax
je 0x9343f6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x9cd414], eax
mov eax, dword [0x9cd414]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x93444f
cmp dword [0x9cd418], ecx
je 0x93444f
push eax
call esi
push dword [0x9cd418]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x93444f
test ebx, ebx
je 0x93444f
call edi
test eax, eax
je 0x934446
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x934446
test byte [ebp - 8], 1
jne 0x93444f
or dword [ebp + 0x10], 0x200000
jmp 0x934482
mov eax, dword [0x9cd40c]
cmp eax, dword [ebp - 0x18]
je 0x934482
push eax
call esi
test eax, eax
je 0x934482
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x934482
mov eax, dword [0x9cd410]
cmp eax, dword [ebp - 0x18]
je 0x934482
push eax
call esi
test eax, eax
je 0x934482
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x9cd408]
call esi
test eax, eax
je 0x93449e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x9344a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0092ebb0
leave
ret
Function at 0x9412d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push str.kernel32
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x9412ef
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x9b2220
push esi
call edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x9b2218
push eax
call fcn.00988c9a
add esp, 8
test eax, eax
je 0x941343
mov eax, dword [ebp - 4]
test eax, eax
je 0x941330
mov ecx, dword [ebp + 8]
push 8
push 0
push ecx
call eax
pop edi
pop esi
mov ebx, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
mov ebx, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], ebx
je 0x94136b
push str.AddDllDirectory
push esi
call edi
test eax, eax
je 0x94136b
mov eax, dword [ebp + 8]
push 0x800
push 0
push eax
call dword [ebp - 4]
pop edi
pop esi
mov ebx, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test edi, edi
je 0x941442
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x941385
sub eax, edx
sar eax, 1
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call dword [0x9ca33c]
mov esi, eax
add esp, 4
test esi, esi
je 0x941438
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x941438
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x9413c0
sub eax, edx
sar eax, 1
mov ecx, 0x996490
lea edx, [esi + eax*2]
sub edx, ecx
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x9413e0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x9413f4
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
lea edx, [esi + eax*2]
sub edx, ecx
jmp 0x941410
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x941410
mov eax, dword [ebp - 4]
test eax, eax
je 0x94142f
push 8
push 0
push esi
call eax
jmp 0x941436
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push esi
call dword [0x9ca340]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret