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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4c71b3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c71d8
mov ebx, eax
cmp byte [ebp + 0xc], 0
jne 0x4c71d0
mov eax, ebx
and eax, 0x400
jne 0x4c71e6
and ebx, 0x10
shr ebx, 4
jmp 0x4c71e8
push 2
call fcn.00454820
add esp, 4
test al, al
jne 0x4c71ff
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b6090
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x82
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.004b61c0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0049a9f0
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c7241
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.004574c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c7266
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.0049a9f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4c7288
push dword [ebp - 0xc4]
call fcn.0046ecdd
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004b6220
jmp 0x4c71e6

Function at 0x4c72a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4c72c3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c72ee
test eax, 0x410
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00454820
add esp, 4
test al, al
jne 0x4c7300
xor ebx, ebx
jmp 0x4c72d7
call fcn.004b6090
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x75
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.004b61c0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0049a9f0
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c733f
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.004574c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c7364
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.0049a9f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4c7386
push dword [ebp - 0xc4]
call fcn.0046ecdd
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004b6220
jmp 0x4c72fc
Function at 0x4c73a0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4c73c3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c73db
and eax, 0x410
cmp eax, 0x410
je 0x4c741b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4c73e5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
test eax, eax
je 0x4c7409
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00454820
add esp, 4
test al, al
jne 0x4c7436
xor ebx, ebx
jmp 0x4c73f2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004c74d0
call fcn.004b6090
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x95
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.004b61c0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.0049a9f0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c7478
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004574c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c749d
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.0049a9f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4c74bf
push dword [ebp - 0xc4]
call fcn.0046ecdd
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004b6220
jmp 0x4c7417

Function at 0x4c74d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, ecx
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4c74f2
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x4c750d
push 2
call fcn.00454820
add esp, 4
test al, al
jne 0x4c7529
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b6090
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x30
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.004b61c0
lea eax, [ebp - 0xb0]
push 0x10
push str.RemoveDirectory
push eax
call fcn.0049a9f0
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xc8], eax
jns 0x4c756c
mov ecx, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push ecx
push edi
push ebx
call fcn.004574c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c7591
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push dword [ebp - 0xc8]
call fcn.0049a9f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4c75b8
push dword [ebp - 0xc4]
call fcn.0046ecdd
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004b6220
jmp 0x4c750d
Function at 0x4ca790
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c73a0
Function at 0x40a900
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
push ebx
movzx ebx, byte [ebp + 8]
imul ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
jne 0x40a923
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4801e4]
test eax, eax
je 0x40a933
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push dword [0x482a94]
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebx + 1]
mov esi, eax
imul ecx, dword [0x481fe0]
push 0x90
mov dword [ebp + 8], esi
add ecx, dword [0x47f190]
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x4801e4], eax
test eax, eax
jne 0x40a980
push esi
push dword [0x482a94]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
push dword [ebp + 8]
mov edi, eax
call esi
push dword [0x4801e4]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push edi
call esi
push dword [0x4800e0]
mov dword [ebp - 8], eax
push ebx
call esi
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [0x47f190]
cdq
idiv dword [0x481fe0]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x481fe0]
inc edx
add edx, eax
test edx, edx
jle 0x40aa33
nop
mov eax, esi
cdq
idiv dword [ebp + 0xc]
push 0xcc0020
push 0
test edx, edx
jne 0x40a9e5
push 0x40
jmp 0x40a9fe
mov eax, esi
cdq
idiv dword [ebp - 4]
test edx, edx
jne 0x40a9f3
push 0x50
jmp 0x40a9fe
cmp ecx, 8
jl 0x40a9fc
push 0x60
jmp 0x40a9fe
push 0x61
mov eax, dword [0x47f194]
push ebx
add eax, 0xffffff00
push eax
mov eax, esi
push ecx
imul eax, ecx
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x47f190]
inc esi
mov ecx, dword [0x481fe0]
cdq
idiv ecx
mov edx, dword [ebp + 0xc]
inc edx
add eax, edx
cmp esi, eax
jl 0x40a9d0
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp - 0xc]
push ebx
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
push dword [ebp + 8]
push dword [0x482a94]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aa70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4801e8]
sub esp, 0xc
test eax, eax
je 0x40aa86
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push dword [0x482a94]
call dword [sym.imp.USER32.dll_GetDC]
movzx ecx, byte [ebp + 0xc]
mov ebx, eax
movzx eax, byte [ebp + 8]
imul eax, ecx
mov dword [ebp - 4], ecx
push 0xa0
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
lea ecx, [eax + 1]
imul ecx, dword [0x481fe0]
add ecx, dword [0x47f190]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x4801e8], eax
test eax, eax
jne 0x40aae1
push ebx
push dword [0x482a94]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebx
call esi
push ebx
mov edi, eax
call esi
push dword [0x4801e8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push edi
call esi
push dword [0x4800ec]
mov dword [ebp + 8], eax
push ebx
call esi
mov dword [ebp - 8], eax
xor esi, esi
mov eax, dword [0x47f190]
cdq
idiv dword [0x481fe0]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x481fe0]
inc edx
add edx, eax
test edx, edx
jle 0x40ab93
nop
mov eax, esi
cdq
idiv dword [ebp + 0xc]
push 0xcc0020
push 0
test edx, edx
jne 0x40ab45
push 0x40
jmp 0x40ab5e
mov eax, esi
cdq
idiv dword [ebp - 4]
test edx, edx
jne 0x40ab53
push 0x50
jmp 0x40ab5e
cmp ecx, 8
jl 0x40ab5c
push 0x60
jmp 0x40ab5e
push 0x61
mov eax, dword [0x47f194]
push ebx
add eax, 0xffffff10
push eax
mov eax, esi
push ecx
imul eax, ecx
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x47f190]
inc esi
mov ecx, dword [0x481fe0]
cdq
idiv ecx
mov edx, dword [ebp + 0xc]
inc edx
add eax, edx
cmp esi, eax
jl 0x40ab30
push dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp - 8]
push ebx
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
push dword [ebp - 0xc]
push dword [0x482a94]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47f228]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x46d5cc
push eax
xor bl, bl
call fcn.004265b5
mov esi, eax
add esp, 8
test esi, esi
je 0x40f815
push esi
push 6
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.00445e11
mov edx, str.Org_01
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
add esp, 0x10
cmp eax, dword [edx]
jne 0x40f7d6
movzx eax, word [ecx + 4]
cmp ax, word [edx + 4]
jne 0x40f7d6
mov bl, 1
mov edx, str.Org_02
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40f7f0
movzx eax, word [ecx + 4]
cmp ax, word [edx + 4]
jne 0x40f7f0
mov bl, 2
mov edx, str.Org_03
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40f808
movzx eax, word [ecx + 4]
cmp ax, word [edx + 4]
je 0x40f82c
test bl, bl
jne 0x40f82c
push esi
call fcn.00426273
add esp, 4
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418a55
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00426273
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
pop ebx
call fcn.00418a55
mov esp, ebp
pop ebp
ret 4
Function at 0x412520
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push edi
mov edi, 0x47f008
mov esi, 0x4815b8
push 0x482c18
push 0x100
push esi
push 0x46e274
push dword [edi]
mov word [esi], 0x40
push 0x46e278
call ebx
add esi, 0x104
lea edi, [edi + 4]
cmp esi, 0x481fe0
jl 0x412533
xor edi, edi
mov esi, 0x4815b8
nop dword [eax]
cmp byte [esi], 0x40
je 0x41257a
push 0
push esi
jmp 0x412582
push 1
push dword [0x4806d8]
push edi
call fcn.00412c70
add esi, 0x104
add esp, 0xc
inc edi
cmp esi, 0x481fe0
jl 0x412570
pop edi
pop esi
pop ebx
ret

Function at 0x413450
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
push edi
mov edi, ecx
push 1
lea ebx, [edi + 8]
mov dword [ebx], 0x1c
push ebx
mov dword [edi + 0xc], 3
mov dword [edi + 0x10], 0
mov eax, dword [0x47f198]
push 0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 4
push dword [0x482a94]
call esi
push 1
push ebx
push 1
mov dword [ebx], 0x1c
mov dword [edi + 0xc], 3
mov dword [edi + 0x14], 0x3c
mov dword [edi + 0x18], 4
push dword [0x482a94]
call esi
push 0x482c18
push 0x21
push str.VPOS
push str.WINDOW
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
push ebx
push 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 4
mov dword [edi + 0x1c], eax
push dword [0x482a94]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x413d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x47f228]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3c], eax
mov esi, 8
movsx edi, bl
mov ecx, dword [edi*4 + 0x482a48]
test ecx, ecx
je 0x413d80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi*4 + 0x482a48], 0
sub esi, 1
jne 0x413d64
push 0x46e2cc
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413e7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0x24
movlpd qword [ebp - 0x14], xmm0
lea edi, [ebx*4 + 0x482a48]
movlpd qword [ebp - 0xc], xmm0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x24], 0x80e2
lea eax, [esi + 0x14]
mov ecx, dword [esi + 0x36]
mov dword [ebp - 0x18], eax
mov eax, dword [0x482040]
push 0
push edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x413e7e
mov eax, dword [edi]
lea edx, [ebp - 0x30]
push 0
push edx
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x38]
push edx
push dword [esi + 0x36]
push 0
push eax
call dword [ecx + 0x2c]
push dword [ebp - 0x2c]
lea eax, [esi + 0x3a]
push eax
push dword [ebp - 0x38]
call fcn.0041a4d0
mov edx, dword [ebp - 0x30]
add esp, 0xc
test edx, edx
je 0x413e4c
mov eax, dword [ebp - 0x2c]
add eax, 0x3a
push edx
add eax, esi
push eax
push dword [ebp - 0x34]
call fcn.0041a4d0
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [edi]
push edx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push dword [ebp - 0x38]
push eax
call dword [ecx + 0x4c]
mov eax, dword [edi]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418a55
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a55
mov esp, ebp
pop ebp
ret

Function at 0x413fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [0x482a8c], 0
jne 0x413feb
push 0x10000
call fcn.00426175
add esp, 4
mov dword [0x482a8c], eax
push 0x46e2cc
push 0x46e2d4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x414002
ret
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x6400
push eax
push dword [0x482a8c]
call fcn.0041a4d0
add esp, 0xc
mov eax, 1
ret
Function at 0x454abd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004546b5

Function at 0x454ac8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045483f

Function at 0x459b1b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004594d9

Function at 0x45b694
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b568

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40b172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x40b1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x40b1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x40bdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0040bf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0040bf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0040beec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
push ecx
push dword [ebp + 8]
call fcn.0040bf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040bf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040becb
cmp ecx, 0x2b
jne 0x40be0f
leave
ret 0xc

Function at 0x40d4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x40d544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x2e10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x40d5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x2e10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x2e10
call fcn.0040d3fa
push 0x2e10
push dword [ebp + 0xc]
call fcn.0040b1a8
test eax, eax
jne 0x40d5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x2e10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0040d5dd
test eax, eax
je 0x40d5d6
jmp 0x40d574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x40d5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x40d60b
Capabilities:
Terminate process

Disassembly:
call fcn.0040d618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x44ae60
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.00444618
and dword [ebp - 4], 0
cmp dword [0x47d07c], 0
mov ebx, eax
jne 0x44af11
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44afc2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45bae4
push edi
call esi
test eax, eax
je 0x44afc2
push eax
call fcn.004445a6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47d07c], eax
call esi
push eax
call fcn.004445a6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47d080], eax
call esi
push eax
call fcn.004445a6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47d084], eax
call esi
push eax
call fcn.004445a6
pop ecx
mov dword [0x47d08c], eax
test eax, eax
je 0x44af11
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004445a6
pop ecx
mov dword [0x47d088], eax
mov eax, dword [0x47d088]
cmp eax, ebx
je 0x44af69
cmp dword [0x47d08c], ebx
je 0x44af69
push eax
call fcn.00444621
push dword [0x47d08c]
mov esi, eax
call fcn.00444621
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44af69
test edi, edi
je 0x44af69
call esi
test eax, eax
je 0x44af60
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44af60
test byte [ebp - 0xc], 1
jne 0x44af69
or dword [ebp + 0x10], 0x200000
jmp 0x44afa2
mov eax, dword [0x47d080]
cmp eax, ebx
je 0x44afa2
push eax
call fcn.00444621
pop ecx
test eax, eax
je 0x44afa2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44afa2
mov eax, dword [0x47d084]
cmp eax, ebx
je 0x44afa2
push eax
call fcn.00444621
pop ecx
test eax, eax
je 0x44afa2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47d07c]
call fcn.00444621
pop ecx
test eax, eax
je 0x44afc2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44afc4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret