joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032d8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0x80000000
push dword [0x406064]
call fcn.004037ec
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x4032ff
xor eax, eax
jmp 0x4033e0
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00403812
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
call dword [0x40603c]
push ebx
call dword [0x40604c]
push edi
push esi
call fcn.004032a2
test eax, eax
pop ecx
pop ecx
je 0x4033bf
mov edx, dword [eax + esi + 4]
lea edi, [eax + esi]
mov ecx, dword [edi]
push ecx
push edx
lea eax, [eax + esi + 8]
push eax
call fcn.00403275
add esp, 0xc
mov dword [edi], eax
push dword [0x406064]
call dword [0x406040]
mov edi, 0x40000000
push edi
push dword [0x406064]
call fcn.004037ec
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x4033c3
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
push dword [0x406064]
call fcn.004037ec
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x4033c3
push 0x1388
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
push dword [0x406064]
call fcn.004037ec
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x4033c3
xor eax, eax
jmp 0x4033de
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [0x406050]
push ebx
call dword [0x40604c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4033e3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0xff
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push str.qmopt.dll
lea eax, [ebp - 0x100]
push eax
push str._s_system32_s
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
leave
ret

Function at 0x403e01
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push edi
lea ecx, [ebp - 8]
call fcn.00401ec3
lea eax, [ebp - 0xc]
push eax
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403e8d
push 0x7f
pop ecx
mov byte [ebp - 0x214], al
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x405448
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x200
mov dword [ebp - 0x10], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
push ecx
lea eax, [ebp - 0x214]
mov ecx, esp
push eax
call fcn.00401f14
lea ecx, [ebp - 8]
call fcn.00402064
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00401ee4
lea ecx, [ebp - 8]
call fcn.00401f45
mov eax, dword [ebp + 8]
pop edi
leave
ret
Function at 0x404030
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ebp, str.System32_
push ebp
call edi
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 0x14], eax
call fcn.00403812
pop ecx
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push ebx
call edi
sub esi, dword [esp + 0x10]
cmp eax, esi
jg 0x40407d
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push ebx
call fcn.00403826
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4019c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4350c0], 0x24e1
mov eax, dword [0x4350c0]
sub eax, 0x24e1
mov dword [0x4350c0], eax
mov ecx, 1
test ecx, ecx
je 0x401a6b
mov edx, dword [0x4350c0]
cmp edx, dword [ebp + 0xc]
jb 0x4019f7
jmp 0x401a6b
cmp dword [0x4350c0], 0
jne 0x401a15
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401a15
xor eax, eax
jmp 0x401a6b
mov eax, dword [ebp + 8]
add eax, dword [0x4350c0]
mov ecx, dword [eax]
add ecx, dword [0x4350c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4350c0]
mov dword [edx], ecx
mov dword [ebp - 4], 9
mov eax, dword [0x4350c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4350c0]
push eax
call fcn.004011d0
add esp, 8
mov ecx, dword [0x4350c0]
add ecx, 4
mov dword [0x4350c0], ecx
jmp 0x4019dd
mov esp, ebp
pop ebp
ret

Function at 0x401a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401aea
cmp dword [ebp - 0x118], 0
je 0x401aea
jmp 0x401b4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401b4c
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4350b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4350d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4350cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401980
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401aea
mov esp, ebp
pop ebp
ret

Function at 0x408946
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov edi, dword [esp]
add esp, 4
call fcn.00408977
add ebx, 0xe085a940
xor dword [eax], edi
add esi, 0x70d4dfcd
add eax, 1
inc ebx
cmp eax, edx
jne fcn.00408946
mov ebx, 0x4a7d152e
ret
Function at 0x4b4def
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.004ab2e1
and dword [ebp - 4], 0
cmp dword [0x4e0844], 0
mov ebx, eax
jne 0x4b4ea0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b4f51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4cbf78
push edi
call esi
test eax, eax
je 0x4b4f51
push eax
call fcn.004ab26f
mov dword [esp], 0x4cbf68
push edi
mov dword [0x4e0844], eax
call esi
push eax
call fcn.004ab26f
mov dword [esp], 0x4cbf54
push edi
mov dword [0x4e0848], eax
call esi
push eax
call fcn.004ab26f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e084c], eax
call esi
push eax
call fcn.004ab26f
pop ecx
mov dword [0x4e0854], eax
test eax, eax
je 0x4b4ea0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004ab26f
pop ecx
mov dword [0x4e0850], eax
mov eax, dword [0x4e0850]
cmp eax, ebx
je 0x4b4ef8
cmp dword [0x4e0854], ebx
je 0x4b4ef8
push eax
call fcn.004ab2ea
push dword [0x4e0854]
mov esi, eax
call fcn.004ab2ea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b4ef8
test edi, edi
je 0x4b4ef8
call esi
test eax, eax
je 0x4b4eef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b4eef
test byte [ebp - 0xc], 1
jne 0x4b4ef8
or dword [ebp + 0x10], 0x200000
jmp 0x4b4f31
mov eax, dword [0x4e0848]
cmp eax, ebx
je 0x4b4f31
push eax
call fcn.004ab2ea
pop ecx
test eax, eax
je 0x4b4f31
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b4f31
mov eax, dword [0x4e084c]
cmp eax, ebx
je 0x4b4f31
push eax
call fcn.004ab2ea
pop ecx
test eax, eax
je 0x4b4f31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e0844]
call fcn.004ab2ea
pop ecx
test eax, eax
je 0x4b4f51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b4f53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219
Function at 0x694208
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x71ff37
mov eax, dword [edx + ecx + 0x20]
add eax, ecx
clc
xor ebx, ebx
jmp 0x986b13
ret
jne 0x92a86c
mov edx, dword [eax + ecx + 0x78]
cmc
test al, al
mov dword [ebp - 4], edx
test edx, edx
jmp 0x68ec04
ret
pop edi
pop ebx
cmp cl, 0xe4
add eax, ecx
pop esi
jmp 0x99d5c2
jle 0x71ff0e
lea ebx, [esi + 1]
shl ch, 0x95
mov ecx, dword [ebp + 8]
cmp ebx, edi
jmp 0x6d4ddb
je 0x92a86c
mov eax, dword [eax + ecx + 0x7c]
cmp esi, ebx
test dx, cx
push ebx
stc
push edi
mov dword [ebp - 0x10], eax
test ecx, esi
stc
mov dword [ebp - 8], 0xffffffff
test bx, si
cmp esi, 0xffff
jmp 0x6c8fd1
push ebp
mov ebp, esp
sub cx, di
not cx
mov ecx, dword [ebp + 8]
sub esp, 0x114
push esi
test dl, dl
cmp esp, 0x3f522347
test ecx, ecx
jmp 0x6c0a10
je 0x92a86c
mov eax, 0x5a4d
jmp 0x738a22
je 0x92a86c
mov esi, dword [ebp + 0xc]
cmp edi, 0x2a5611a4
test di, sp
test esi, esi
jmp 0x6ac010
jmp 0x71ff37
ja 0x9a2b96
mov eax, esi
stc
clc
sub eax, dword [edx + ecx + 0x10]
jmp 0x951f5a
pop ebp
jmp 0x6461df
jle 0x9b8d67
jmp 0x71ff34
jmp 0x67a977
mov eax, dword [ecx + 0x3c]
cmc
cmp dword [eax + ecx], 0x4550
jmp 0x646123
mov eax, dword [ebp + 8]
bts edx, edx
cwd
mov ecx, dword [ebp - 4]
shld dx, si, 0x6e
mov edx, dword [ecx + eax + 0x24]
btc ecx, ebp
xadd ch, ch
lea ecx, [edx + esi*2]
movzx edx, word [ecx + eax]
mov dword [ebp - 8], edx
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp si, 0x4127
test ecx, ebx
cmp eax, dword [edx + ecx + 0x14]
jmp 0x735f1e
je 0x97c329
cmp eax, edx
jmp 0x977f25
jae 0x97c329
mov esi, dword [edx + ecx + 0x1c]
cmp esp, esi
stc
lea eax, [esi + eax*4]
jmp 0x991487
cmp word [ecx], ax
jmp 0x92a866
mov dword [ebp - 0xc], eax
jmp 0x780990
js 0x71ff37
jmp 0x9b8d74
call fcn.00634369
add esp, 4
stc
cmc
clc
test eax, eax
jmp 0x92b332
je 0x6eb1e2
sub eax, eax
xchg esi, esi
bswap si
pop esi
jmp 0x952333
jns 0x67a96b
lea edi, [esi - 1]
jmp 0x6ea00c
mov dword [ebp - 8], eax
jmp 0x6c1d90
mov esp, ebp
movsx ebp, dx
pop ebp
jmp 0x644cbd
jb 0x65975b
mov esi, dword [ebp - 0x10]
add esi, edx
test bx, sp
cmp eax, esi
jae 0x65975b
lea eax, [eax + ecx]
mov cl, byte [eax]
movzx esi, sp
shrd esi, ebp, 0xa0
mov esi, eax
test cx, 0x54ec
stc
cmp esp, 0x55831ecb
test cl, cl
jmp 0x790ad1
dec edi
jmp 0x76ca9b
mov eax, dword [eax + ecx]
jmp 0x9a0bd3
mov esp, ebp
movzx ebp, ax
jmp 0x6d0f2a
test eax, eax
jmp 0x7355e9
mov edi, dword [edx + ecx + 0x18]
test sp, 0x3d74
test esp, esp
test edi, edi
jmp 0x6416d2
mov eax, dword [ebp - 0xc]
sub si, bx
shr edx, 0x6d
btc esi, 0x5b
mov edx, dword [ebp + 0x10]
add esi, esp
lea esi, [edi + ebx]
sar esi, 1
mov eax, dword [eax + esi*4]
cmc
push edx
mov edx, dword [ebp + 0xc]
add eax, ecx
jmp 0x9193e3

Function at 0x4ca25a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4c9fca
sub esp, 4
mov dword [esp], 0x6fe7d07c
pop edx
and eax, eax
call fcn.004ca28c
mov eax, edx
mov edx, eax
inc eax
xor dword [ebx], ecx
sub eax, 0x88249b24
inc ebx
and edx, eax
cmp ebx, esi
jne fcn.004ca25a
or eax, edx
or eax, eax
ret
Function at 0x5eb34a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
mov esi, 0x30a3c2bb
mov ebx, ecx
add ecx, 0xa4bb31f4
sub ecx, ebx
mov ecx, 0
mov esi, edi
add ebx, 0x8de24eed
or edx, edx
mov ebx, 0xf1eae886
mov eax, esi
sub edx, 1
mov ebx, 0x322a1f25
mov edi, eax
and edx, ebx
and ebx, edx
inc ecx
not ebx
add edx, ebx
add ebx, 0x84d3393e
cmp ecx, 0x1004d45
jne 0x5eb35f
add ebx, 0x5c7b9997
mov ebx, 0xc0cf3098
cmp ecx, 0x1004d45
je 0x5eb3b2
mov ebx, 0
mov edx, dword [ebx]
not ebx
not ebx
mov edx, 0x244ebaa4
add ecx, ebx
or ebx, ebx
not ebx
mov esi, section.UPX1
mov ebx, ecx
inc ebx
mov edi, 0x5eb133
not ebx
add ebx, ecx
dec ecx
mov edx, 0
not ecx
not ebx
add ebx, 0x3ff1045b
mov eax, 0x5eb134
not ecx
mov ecx, ebx
lea eax, [eax + edx]
mov ecx, ebx
mov ecx, 0xc0af3915
mov eax, dword [eax]
mov ecx, 0x4dc0f34e
inc ebx
and eax, 0xff
or ecx, ecx
add ecx, 1
inc edx
and ecx, ebx
or ebx, ecx
cmp edx, 0x1f4
jne 0x5eb41d
mov edx, 0
mov ebx, ecx
add ecx, ebx
mov ebx, 0xeeaacbd2
mov ebx, 0x93776e32
xor dword [esi], eax
mov ebx, ecx
sub ebx, ecx
or ecx, ecx
add esi, 2
add ebx, 0x9c47d2a2
add ebx, ecx
cmp esi, edi
jl 0x5eb3e2
add ecx, ebx
add ebx, ebx
and ebx, ecx
inc ebx
mov ecx, section.UPX1
not esi
sub esi, ebx
add ebx, 0x11d5330f
mov edi, section.UPX1
dec ebx
sub esi, 0xd732e891
mov eax, 0x5eb133
add esi, ebx
sub esi, ebx
sub esi, 0x7f33b15d
mov edx, 0
add ebx, 0x85ab386f
mov esi, ebx
dec ebx
mov dl, byte [edi]
add esi, ebx
add ebx, ebx
mov esi, ebx
mov byte [ecx], dl
add ebx, 0x79e3c72d
or esi, esi
inc ecx
and esi, ebx
or ebx, ebx
add edi, 2
or esi, ebx
add ebx, 0xc2889d76
sub ebx, 1
cmp edi, eax
jle 0x5eb488
mov esi, 0xfd0d76af
add ebx, 0xd4132621
sub ebx, 1
add ecx, ecx
mov ebx, 0xac68c4e9
dec ecx
popal
and ecx, ebx
add ecx, ecx
mov esi, 0x5726a0
call esi
ret
Function at 0x401016
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x400
push edi
push esi
call fcn.004028cb
push dword [ebp + 8]
mov edi, eax
call fcn.00402ce0
push eax
call fcn.004028cb
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push str.USERPROFILE
call fcn.00402c5b
pop ecx
push eax
push str._s_s
push edi
call fcn.00402c09
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00401d94
push 0x409078
push edi
call fcn.00402bf6
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x4010a7
push esi
call fcn.004028cb
push edi
mov esi, eax
push dword [ebp + 0xc]
push str.Unable_to_write_to_the_log_file_named__s_in_location__s.
push esi
call fcn.00402c09
push 0xfffffffffffffffd
push 0x10
push str.Error
push esi
call fcn.00401dc0
add esp, 0x24
push 0xfffffffffffffffe
call fcn.00402b01
push dword [ebp - 4]
push 0x409030
push ebx
call fcn.00402aa2
push ebx
call fcn.00402995
push ebx
call fcn.0040293f
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401328
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x32
call fcn.004028cb
mov dword [esp], 0x1f4
call fcn.004028cb
call fcn.0040120c
mov esi, 0x40a82c
mov dword [esp], str.Comparing_the_compname_and_Sid_to_license_Sid._n
push esi
mov edi, eax
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push edi
push str.CompName_and_sid:__s.__n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push dword [esp + 0x30]
push str.LicenseCompname_and_Sid:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push dword [esp + 0x44]
push edi
call fcn.00402d60
add esp, 0x40
test eax, eax
pop edi
pop esi
je 0x4013c8
push 0x6a5bd
push 0x30
push str.Not_Licensed
push str.This_does_not_appear_to_be_the_machine_for_which_this_document_was_licensed._nPlease_rerun_this_program_on_the_correct_computer.
call fcn.00401dc0
add esp, 0x10
push 0xfffffffffffffffd
call fcn.00402b01
ret
Function at 0x401541
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x400
call fcn.004028cb
pop ecx
mov ebx, eax
push dword [ebp + 0xc]
push str.USERPROFILE
call fcn.00402c5b
pop ecx
push eax
push str._s_s
push ebx
call fcn.00402c09
push dword [0x40a828]
mov esi, 0x40a82c
push esi
call fcn.00401016
push ebx
push str.Attempting_to_write_the_resource_file_at_path:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
mov edi, dword [ebp + 8]
lea eax, [edi + 0x266]
push eax
push str.Writing_the_following_values_to_the_rc_file:_InputKey:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
add esp, 0x40
lea eax, [edi + 0x258]
push eax
push str.Writing_the_following_values_to_the_rc_file:_LicenseKey:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
lea eax, [edi + 0x25f]
push eax
push str.Writing_the_following_values_to_the_rc_file:_Prepared:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push edi
push str.Writing_the_following_values_to_the_rc_file:_TheSid:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push edi
call fcn.004011d4
add esp, 0x40
push 0x40931c
push ebx
call fcn.00402bf6
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
jne 0x401661
push ebx
push str.Unable_to_write_the_resource_file_to_path:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push 3
push 0x10
push str.Error
push str.Unable_to_write_the_RC_file.
call fcn.00401dc0
add esp, 0x24
push 0xfffffffffffffffe
call fcn.00402b01
push eax
push 1
push 0x26d
push edi
call fcn.00402ecc
push dword [ebp + 0xc]
call fcn.00402995
push dword [ebp + 0xc]
call fcn.0040293f
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401856
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esp + 0x10], 1
xor ebx, ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Password
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push str.Mot_de_passe
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push str.Kennwort
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push str.Contrase
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push str.Contrasena
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push 0x4094c0
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push 0x4094b4
push ebx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x401931
push 0x4094ac
push ebx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x401931
push str.Senha
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x401931
push 0x409490
push ebx
call ebp
mov esi, eax
cmp esi, ebx
jne 0x401931
mov eax, 0xe10
cmp dword [esp + 0x10], eax
jge 0x401931
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jle 0x401871
push 0xffffffffffffffff
call fcn.00402b01
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
call edi
test eax, eax
jne 0x40194b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push esi
jmp 0x401939
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401973
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 5
pop ecx
mov esi, str._shellopencommand
lea edi, [ebp - 0x1c]
push 0x100
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xec
call fcn.004028cb
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 8], eax
pop ecx
lea eax, [ebp - 4]
mov edi, 0x80000000
push eax
push ebx
push str..pdf
push edi
call esi
test eax, eax
mov dword [ebp + 8], eax
jne 0x4019f5
push ebx
push 0x409030
push dword [ebp - 8]
call fcn.00402c09
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + ebx - 1]
push eax
call fcn.00402fe0
add esp, 0x14
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push ebx
push ebx
push edi
call esi
mov dword [ebp + 8], eax
push ebx
push str.Appname:__s._n
push 0x40a82c
call fcn.00402c09
push dword [0x40a828]
push 0x40a82c
call fcn.00401016
add esp, 0x14
cmp dword [ebp + 8], 0
je 0x401a71
and dword [ebp + 8], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
push str._s._d_s
push ebx
call fcn.00402c09
add esp, 0x14
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push edi
call esi
test eax, eax
je 0x401a71
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x64
jle 0x401a22
test eax, eax
je 0x401a71
push 1
push 0x10
push str.Problem
push str.Adobes_Acrobat_Reader_is_required__but_is_not_installed.
call fcn.00401dc0
add esp, 0x10
push 1
call fcn.00402b01
push dword [ebp + 0xc]
push ebx
call fcn.00401b59
push dword [ebp + 0xc]
mov esi, 0x40a82c
push str.Path_extracted_in_findAcrobat:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401aa1
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x4095f0
push dword [ebp + 8]
call fcn.00402ff0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402ff0
add esp, 0x10
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x10]
xor edi, edi
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0x28], 1
push dword [ebp + 8]
mov word [ebp - 0x24], 5
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401b16
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret
push dword [ebp + 0x10]
mov esi, 0x40a82c
push str.Unable_to_start_Acrobat_Reader_at_location__s.
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push 1
push edi
push str.Unable_to_start_Acrobat
push esi
call fcn.00401dc0
add esp, 0x24
push 1
call fcn.00402b01