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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareInstallShield
push SysFreeString
xor edi, edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x43f7e9
mov edi, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x808]
push dword [ebp + 8]
push eax
call fcn.00457250
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x808]
push eax
push 1
push esi
push str.IDriverInit
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, esi
je 0x43f82f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x440084
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x4400b8
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x4400db
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x4400e6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x4400ef
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x440174
xor eax, eax
cmp dword [ebp - 4], esi
je 0x440130
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x440174
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.00440084
cmp dword [ebp - 4], esi
je 0x440170
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x44018e
and eax, 0xffff
push ebx
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x44018b
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x45250a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x453532
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.004536ce
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4535e6
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4535d8
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x45359c
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x4535c5
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x4535d2
cmp byte [ebp - 0x838], bl
je 0x4535d8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x4535e6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00453219
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x45360b
cmp dword [ebp + 0xc], 4
jne 0x453637
cmp dword [ebp - 0x14], ebx
jne 0x453637
mov ax, word [edi + 0x14]
cmp ax, 3
jne 0x453623
mov ecx, edi
call fcn.00453a8e
jmp 0x453637
cmp ax, 4
mov ecx, edi
jne 0x453632
call fcn.00453c6f
jmp 0x453637
call fcn.00453ffa
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x453a8e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.004581e0
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x453c5c
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x453c5c
cmp dword [ebp - 0x14], 1
jne 0x453c5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x453c1f
cmp byte [ebp - 0x148], al
je 0x453c1f
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x453c11
lea eax, [ebp - 0x96c]
push 0x4827b0
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x4819c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x4822c0
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x453b75
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.004533b7
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x453c6a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d5bb202
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d5c3fd0]
jne 0x6d5bb20c
repz ret
jmp fcn.6d5bb8f0

Function at 0x6d5bbf21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6d5bbf30
pop dword [ebp - 0x18]
mov eax, 0xa050559a
add eax, 0xcd0b6996
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xf3b5cf0c
sub dword [ebp - 0x28], 0xa56389c1
mov dword [ebp - 0x24], 0xebaa3418
sub dword [ebp - 0x24], 0xb976e7d3
mov dword [ebp - 0x20], 0x64222ab6
add dword [ebp - 0x20], 0xe82a1978
mov dword [ebp - 0x1c], 0x1389d72a
add dword [ebp - 0x1c], 0xec7628d6
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x826a1beb
add dword [ebp - 0x28], 0xf2084d6b
mov dword [ebp - 0x24], 0xbd9e422
add dword [ebp - 0x24], 0x35927d53
mov dword [ebp - 0x20], 0x6e1eddab
sub dword [ebp - 0x20], 0xaaf713f
mov dword [ebp - 0x1c], 0xcfac67d4
sub dword [ebp - 0x1c], 0xcfac67d4
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x1491b20c
add eax, 0x58ca1e28
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39cb0
push 0
call eax
mov ecx, 0x3275aaf8
sub ecx, 0x327559de
xor edx, edx
add edx, eax
mov ebx, 0x6d5c7e00
add ebx, dword [ebp - 0x18]
mov edi, 0xeaedaaa8
xor dword [ebp - 4], edx
mov esi, dword [ebx]
add dword [ebp - 8], ecx
sub esi, edi
sub dword [ebp - 0xc], esi
mov dword [edx], esi
sub dword [ebp - 0x10], esi
add edx, 0x86e8595f
add edx, 0x7917a6a5
add ebx, 4
loop 0x6d5bc043
add eax, 0xdefb406f
add eax, 0x2105f6cc
xor ebx, ebx
add ebx, eax
add eax, 0xbc49d71c
add eax, 0x43b628e9
mov ecx, 0xa65c632b
add ecx, 0xc6fe9cd5
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x18f5a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1158000]
push edi
or ebp, 0xffffffff
jmp 0x18f5a52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x18f5a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18f5a48
mov eax, 1
add ebx, ebx
jne 0x18f5a6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x18f5a7c
jne 0x18f5a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18f5a9b
dec eax
add ebx, ebx
jne 0x18f5a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x18f5a60
add ebx, ebx
jne 0x18f5a97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x18f5aed
xor ecx, ecx
sub eax, 3
jb 0x18f5ab3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x18f5b22
sar eax, 1
mov ebp, eax
jmp 0x18f5abe
add ebx, ebx
jne 0x18f5abe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18f5a8c
inc ecx
add ebx, ebx
jne 0x18f5acc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18f5a8c
add ebx, ebx
jne 0x18f5ad9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x18f5ace
jne 0x18f5aea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x18f5ace
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x18f5b0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x18f5afe
jmp 0x18f5a4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x18f5b0c
add edi, ecx
jmp 0x18f5a4e
pop esi
mov edi, esi
mov ecx, 0x35fe8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x18f5b2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x18f5b2f
lea edi, [esi + 0x14f1000]
mov eax, dword [edi]
or eax, eax
je 0x18f5b97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155b0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x155b1f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x18f5b55
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x155b1f4]
or eax, eax
je 0x18f5b91
mov dword [ebx], eax
add ebx, 4
jmp 0x18f5b72
call dword [esi + 0x155b204]
mov ebp, dword [esi + 0x155b1f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x18f5bcb
sub esp, 0xffffff80
jmp 0xc4913c
Function at 0xa80058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa801a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa8007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8006a
add dl, dl
jne 0xa80089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa800dc
xor eax, eax
add dl, dl
jne 0xa80096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8017d
add dl, dl
jne 0xa800a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa800b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa800bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa800c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa800d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa80075
mov eax, 1
add dl, dl
jne 0xa800ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa800f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa800e1
sub eax, ebx
mov ebx, 1
jne 0xa80128
mov ecx, 1
add dl, dl
jne 0xa8010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa80119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa80105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa80075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa8013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa8014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa80136
cmp eax, 0x7d00
jae 0xa8016d
cmp eax, 0x500
jb 0xa80168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa80075
cmp eax, 0x7f
ja 0xa80170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa80075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa8019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa80075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x1051e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1051e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1051e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1051e06a
add dl, dl
jne 0x1051e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1051e0dc
xor eax, eax
add dl, dl
jne 0x1051e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1051e17d
add dl, dl
jne 0x1051e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1051e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1051e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1051e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1051e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1051e075
mov eax, 1
add dl, dl
jne 0x1051e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1051e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1051e0e1
sub eax, ebx
mov ebx, 1
jne 0x1051e128
mov ecx, 1
add dl, dl
jne 0x1051e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1051e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1051e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1051e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1051e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1051e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1051e136
cmp eax, 0x7d00
jae 0x1051e16d
cmp eax, 0x500
jb 0x1051e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1051e075
cmp eax, 0x7f
ja 0x1051e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1051e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1051e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1051e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40673a
pop dword [ebp - 0xc]
mov eax, 0x589dbefc
sub eax, 0x585d57c2
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x5d52a827
add dword [ebp - 0x1c], 0xf0ff9d24
mov dword [ebp - 0x18], 0x7769d0ea
add dword [ebp - 0x18], 0xbac97b5b
mov dword [ebp - 0x14], 0x992e3897
add dword [ebp - 0x14], 0xb31e0b97
mov dword [ebp - 0x10], 0xe22a2900
add dword [ebp - 0x10], 0x1dd5d700
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x51c8f219
add eax, 0xae778eeb
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xeab4c0ca
add dword [ebp - 0x1c], 0x89bda88c
mov dword [ebp - 0x18], 0xc660239e
sub dword [ebp - 0x18], 0x84f3c229
mov dword [ebp - 0x14], 0xf5ae3f3
add dword [ebp - 0x14], 0x54148879
mov dword [ebp - 0x10], 0xa6460fcc
sub dword [ebp - 0x10], 0xa6460fcc
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x8a19fa61
add eax, 0x7626869f
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39691
push 0
call eax
mov ecx, 0x4f94
mov esi, eax
mov edx, 0x97ccd22c
sub edx, 0x9785ee2c
add edx, dword [ebp - 0xc]
mov edi, 0xbbb99f0a
add edi, 0x298cc339
sub dword [ebp - 4], ebx
mov ebx, dword [edx]
add dword [ebp - 4], esi
add ebx, edi
sub dword [ebp - 4], ecx
mov dword [esi], ebx
xor dword [ebp - 4], ebx
add esi, 0xe0790779
sub esi, 0xe0790775
add edx, 4
loop 0x406856
add eax, 0x13123
mov ebx, eax
add eax, 0xce162869
add eax, 0x31e9d79c
mov ecx, 0x2db17a17
add ecx, 0xd28e85e9
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401d50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41ea9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x66
mov dword [esp + 0x1c], ebx
lea ecx, [edi + 0x74]
call fcn.0041a07b
mov ecx, edi
call fcn.004024d0
push 1
mov ecx, edi
call fcn.00418126
mov eax, dword [edi + 0x60]
lea ebp, [edi + 0x60]
cmp dword [eax - 8], ebx
je 0x401f96
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.00414a08
mov ecx, esi
call fcn.00414a54
mov ecx, ebp
call fcn.00414a08
mov ecx, ebp
call fcn.00414a54
mov ecx, dword [0x428fc0]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x12c], ebx
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00419177
mov ecx, edi
call fcn.004025e0
cmp eax, ebx
je 0x401e38
push esi
call fcn.00403740
add esp, 4
test eax, eax
jne 0x401eca
push 0x5c
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00414422
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call fcn.004194ef
mov byte [esp + 0x12c], bl
lea ecx, [esp + 0x14]
jmp 0x401ec5
push 0x5c
mov ecx, esi
call fcn.0041465c
cmp eax, ebx
jne 0x401e66
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.00419470
mov ebx, 1
mov dword [esp + 0x18], ebx
mov byte [esp + 0x12c], 2
jmp 0x401e87
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, esi
call fcn.004145b9
mov ebx, 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x12c], 3
push eax
lea ecx, [esp + 0x14]
call fcn.004194ef
test bl, 2
mov dword [esp + 0x12c], 2
je 0x401eb1
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00419402
test bl, 1
mov dword [esp + 0x12c], 0
je 0x401eca
lea ecx, [esp + 0x1c]
call fcn.00419402
lea eax, [esp + 0x10]
push eax
call fcn.00403740
add esp, 4
test eax, eax
jne 0x401ee6
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00419792
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
test eax, eax
je 0x401f82
push ebp
call fcn.00403740
add esp, 4
test eax, eax
jne 0x401f0a
push 0x5c
mov ecx, ebp
call fcn.00419792
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push edx
push eax
call fcn.00407679
add esp, 8
test eax, eax
jne 0x401f82
mov eax, dword [0x428fc0]
mov dword [esp + 0x14], eax
push 0x78
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 4
call fcn.0041a07b
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.0041c86b
mov ecx, ebp
call fcn.0041938d
push 0
mov ecx, edi
call fcn.00418126
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.00419402
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00419402
xor eax, eax
jmp 0x401f9b
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00419402
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret
Function at 0x4025e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41eb30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.0041a20b
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0041a31d
test eax, eax
jne 0x402676
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.00419177
mov ecx, esi
call fcn.004030b0
cmp eax, ebx
mov byte [esp + 0x24], bl
lea ecx, [esp + 0xc]
je 0x402687
call fcn.0041a260
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00419402
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x20
ret 4
lea ecx, [esp + 0xc]
call fcn.0041a538
mov byte [esp + 0x24], bl
lea ecx, [esp + 0xc]
call fcn.0041a260
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00419402
mov ecx, dword [esp + 0x1c]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4030b0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41ecb8
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
mov dword [esp + 8], 0
push eax
call fcn.00403740
add esp, 4
test eax, eax
jne 0x4030e9
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00419792
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 0x10]
jne 0x40311b
call fcn.00419402
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
call fcn.00419402
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 4

Function at 0x403140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ece0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.0041a20b
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0041a31d
test eax, eax
jne 0x4031d3
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.00419177
mov ecx, esi
call fcn.004030b0
cmp eax, ebx
mov byte [esp + 0x24], bl
lea ecx, [esp + 0xc]
jne 0x4031e4
call fcn.0041a260
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00419402
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x20
ret 4
lea ecx, [esp + 0xc]
call fcn.0041a538
mov byte [esp + 0x24], bl
lea ecx, [esp + 0xc]
call fcn.0041a260
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00419402
mov ecx, dword [esp + 0x1c]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4