joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f370
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x45f38f
test byte [esp], 7
je 0x45f38f
mov eax, 1
pop ecx
ret
call fcn.0045eb90
pop ecx
ret

Function at 0x45f6d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x1e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x24], ax
call fcn.00440110
add esp, 0xc
push str.i18n.dll
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, eax
cmp esi, ebx
jne 0x45f7a9
push 0x104
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x45f745
xor eax, eax
jmp 0x45f824
push str...i18n.dll
lea eax, [esp + 0x1c]
push eax
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x45f790
push str.....i18n.dll
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x45f790
push str.......i18n.dll
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
je 0x45f73e
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0045f6b0
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
test esi, esi
je 0x45f73e
push str.CreateI18N
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f802
lea ecx, [esp + 0x10]
push ecx
call eax
add esp, 4
test eax, eax
je 0x45f802
push 0x488e48
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x45f802
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov dword [edi + 0xb6c], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45f811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call edx
test esi, esi
je 0x45f820
test ebx, ebx
je 0x45f820
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004409d4
add esp, 0x214
ret
Function at 0x45f910
Capabilities:
Delete file

Disassembly:
mov eax, 0x1014
call fcn.00442140
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1024]
push edi
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push 4
push ebx
push 3
push 0x12019f
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45f95e
xor eax, eax
jmp 0x45f9f9
lea eax, [esp + 0xc]
push eax
push 0
call fcn.0044250a
add esp, 4
push eax
mov ecx, esi
call fcn.0045e5e0
mov ecx, dword [esp + 0x1028]
mov edx, dword [esi + 0xb6c]
push ecx
push str.log_file_is_too_big_to_merge_
push edx
lea eax, [esi + 0xa48]
push eax
movzx eax, word [esp + 0x28]
lea ecx, [esi + 0x230]
push ecx
movzx ecx, word [esp + 0x2a]
lea edx, [esi + 0x30]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
push ecx
push edx
push str._t_4d__02d__02d__02d:_02d:_02d__p_s__c_s__m_s__lan_d__warning_s__logfile_len_d_bytes__n
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.004077cc
add esp, 0x3c
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.0045f2d0
test eax, eax
je 0x45f9ec
mov ebx, 1
test edi, edi
je 0x45f9f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004409d4
add esp, 0x1014
ret 8

Function at 0x45fa20
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
push edi
mov edi, dword [esp + 0x428]
mov esi, ecx
mov dword [esp + 8], 0
test edi, edi
je 0x45fb3b
xor eax, eax
cmp ax, word [edi]
je 0x45fb3b
push 1
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x220]
push edx
mov ecx, esi
call fcn.0045eeb0
xor eax, eax
cmp ax, word [esp + 0x218]
jne 0x45faaf
lea ecx, [esp + 0x218]
push ecx
mov ecx, esi
call fcn.0045f030
test eax, eax
je 0x45fb3b
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x21c]
push eax
mov ecx, esi
call fcn.0045e810
test eax, eax
je 0x45fb3b
push 0x490b30
push edi
push 0x484564
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.004077cc
add esp, 0x14
push 1
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45fb2f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0045e670
test eax, eax
je 0x45fb2f
mov eax, dword [esp + 0xc]
cmp eax, 0x300000
jbe 0x45fb0f
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0045f910
test eax, eax
je 0x45fb24
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0045e6f0
test eax, eax
je 0x45fb2f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0045e890
mov ecx, dword [esp + 0x420]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004409d4
add esp, 0x41c
ret 4
Function at 0x460150
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0xa34
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0xa30], eax
push esi
push edi
mov edi, ecx
push str.ctrl.lck
lea eax, [edi + 0x430]
push eax
push str._s_s
lea ecx, [esp + 0x83c]
push 0x104
push ecx
xor esi, esi
call fcn.004077cc
add esp, 0x14
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x834]
push eax
mov ecx, edi
call fcn.0045e810
test eax, eax
jne 0x4601c2
pop edi
lea eax, [esi + 2]
pop esi
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.004409d4
add esp, 0xa34
ret
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x220]
push edx
mov ecx, edi
call fcn.0045eeb0
test eax, eax
jne 0x460253
lea eax, [esp + 0x420]
push eax
mov ecx, edi
call fcn.0045f140
test eax, eax
je 0x460249
xor ecx, ecx
cmp cx, word [esp + 0x420]
je 0x460249
lea eax, [esp + 0x628]
lea esi, [esp + 0x420]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x46022d
movzx ecx, word [esi + eax]
test cx, cx
je 0x46022d
add eax, 2
sub edx, 1
jne 0x460212
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0045fb60
test eax, eax
jne 0x4602db
mov esi, 2
jmp 0x4602f7
xor edx, edx
cmp dx, word [esp + 0x218]
je 0x460249
push 0x490d0c
lea eax, [esp + 0x21c]
push eax
push 0x484564
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.004077cc
add esp, 0x14
lea edx, [esp + 8]
push edx
mov ecx, edi
call fcn.0045e890
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4602f7
lea eax, [esp + 0x628]
lea esi, [esp + 0x218]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
nop
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4602db
movzx ecx, word [esi + eax]
test cx, cx
je 0x4602db
add eax, 2
sub edx, 1
jne 0x4602c0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0045f0a0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.0045e890
mov ecx, dword [esp + 0xa38]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004409d4
add esp, 0xa34
ret

Function at 0x462220
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
push esi
push edi
test ebx, ebx
je 0x462264
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x462264
mov edi, dword [ebx + 0x3c]
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xf8
mov eax, ebp
cdq
adc ecx, 0
cmp edx, ecx
jb 0x462264
ja 0x462258
cmp eax, esi
jbe 0x462264
cmp dword [edi + ebx], 0x4550
lea ecx, [edi + ebx]
je 0x46226b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
movzx edx, word [ecx + 4]
mov esi, 0x14c
xor eax, eax
cmp dx, si
jne 0x46228b
push ebp
mov eax, ecx
call fcn.004620e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, 0x8664
cmp dx, si
je 0x46229f
mov esi, 0x200
cmp dx, si
jne 0x4622aa
push ebx
mov eax, ebp
call fcn.00462160
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x464ed0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 4], 0
jne 0x464eea
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
pop esi
ret
Function at 0x46a040
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x46a07d
mov edx, dword [esp + 4]
test edx, edx
je 0x46a07d
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x46a07d
push esi
push 0
lea esi, [esp + 0xc]
push esi
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x46a07d
mov eax, dword [esp + 4]
ret 8
or eax, 0xffffffff
ret 8

Function at 0x46a090
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x46a0a0
or eax, eax
or edx, 0xffffffff
pop ecx
ret
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.004453e0
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret
Function at 0x46b0d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.00440110
add esp, 0xc
push 0
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046a9e0
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004409d4
add esp, 0x210
ret 4

Function at 0x46b150
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.00440110
add esp, 0xc
push 0
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046a9e0
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004409d4
add esp, 0x210
ret 4
Function at 0x46b2a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480741
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aa3ec]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [0x4abd20]
mov edi, ecx
mov dword [esp + 0x14], eax
lea ebx, [edi + 0x1da0]
push ebx
lea ecx, [esp + 0x18]
push str._s.zip
push ecx
mov dword [esp + 0x240], 0
call fcn.0046b280
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x4abd20]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push 0x484564
push eax
mov byte [esp + 0x244], 1
call fcn.0046b280
mov ebp, dword [esp + 0x28]
push 2
push 0
push ebp
mov byte [esp + 0x250], 2
call fcn.0046fd10
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46b3f6
lea eax, [edi + 0x1de4]
test eax, eax
je 0x46b388
test ebx, ebx
je 0x46b388
push 2
push 0
push eax
push ebx
push esi
call fcn.00470e50
add esp, 0x14
push esi
call fcn.00470f70
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x2e04]
mov dword [esp + 0x20], 0
call fcn.0046aa40
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebp - 0xc]
cmp edx, dword [0x4abd1c]
je 0x46b3cd
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x46b3cd
push esi
call fcn.00423226
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4abd1c]
je 0x46b3ef
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46b3ef
push esi
call fcn.00423226
add esp, 4
mov eax, 1
jmp 0x46b43e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebp - 0xc]
cmp edx, dword [0x4abd1c]
je 0x46b41a
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x46b41a
push esi
call fcn.00423226
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4abd1c]
je 0x46b43c
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46b43c
push esi
call fcn.00423226
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004409d4
add esp, 0x224
ret
Function at 0x46bc90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4808eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aa3ec]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2e08]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push eax
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0042321b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x46be80
push ebx
push esi
push ebp
call fcn.00440110
mov eax, dword [edi + 0x2e08]
add esp, 0xc
push esi
push esi
push ebx
push ebp
push 0xffffffffffffffff
push eax
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi + 0x2e10]
cmp eax, 1
je 0x46bd23
cmp eax, 3
jne 0x46bd41
push 1
push 0
push ebp
push str.attribute
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0046bc60
add esp, 0x18
mov esi, 1
mov eax, dword [edi + 0x2e20]
push 0
push 0
test eax, eax
je 0x46bd61
push eax
push str.type
lea ecx, [esi + esi*4]
push 0
lea edx, [esp + ecx*4 + 0x34]
push edx
jmp 0x46bd72
push 0
push str.specimen
lea eax, [esi + esi*4]
push 0
lea ecx, [esp + eax*4 + 0x34]
push ecx
call fcn.0046bc60
add esp, 0x18
lea edx, [esp + 0x14]
push edx
mov ecx, edi
inc esi
call fcn.0046b470
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
push 0x493a24
lea ecx, [esi + esi*4]
lea edx, [esp + ecx*4 + 0x30]
push 0
push edx
mov dword [esp + 0x108], 0
call fcn.0046bc60
mov eax, dword [edi + 0x2e10]
add esp, 0x18
inc esi
cmp eax, 1
je 0x46bdc3
cmp eax, 2
jne 0x46bde6
mov eax, dword [edi + 0x2e04]
push 0
push 0
push eax
push str.specimen_cont
lea ecx, [esi + esi*4]
lea edx, [esp + ecx*4 + 0x30]
push 2
push edx
call fcn.0046bc60
add esp, 0x18
inc esi
push 0
push 0
call fcn.0046cca0
push eax
push 0x4836b4
lea eax, [esi + esi*4]
lea ecx, [esp + eax*4 + 0x30]
push 0
push ecx
call fcn.0046bc60
mov eax, dword [edi + 0x2e0c]
add esp, 0x18
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [edi + 0x10]
call fcn.004734b0
mov edi, dword [edi + 0x2e04]
cmp word [edi], 0
mov esi, eax
je 0x46be46
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
call fcn.00423226
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [eax - 0xc]
test esi, esi
jne 0x46be84
cmp ecx, dword [0x4abd1c]
je 0x46be80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46be80
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00423226
add esp, 4
xor eax, eax
jmp 0x46beac
cmp ecx, dword [0x4abd1c]
je 0x46beaa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46beaa
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00423226
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
Function at 0x46ca70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4b21a0]
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x428]
cmp dword [eax - 8], ebx
jne 0x46cbb0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00440110
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22e]
push eax
mov word [esp + 0x230], dx
call fcn.00440110
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x483124
push 0x4835b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x10], bx
jne 0x46cb79
push 0x208
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46cb72
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
lea edx, [esp + 0x224]
push edx
call esi
test eax, eax
je 0x46cb71
xor ecx, ecx
push 0x5c
push ecx
lea edx, [esp + 0x224]
push edx
mov word [eax], cx
call esi
test eax, eax
je 0x46cb71
lea edx, [esp + 0x21c]
xor ecx, ecx
push edx
mov word [eax], cx
push 0x208
lea eax, [esp + 0x1c]
push eax
call fcn.00402dc9
pop esi
cmp word [esp + 0x10], bx
je 0x46cbdb
mov edx, dword [esp + 0x42c]
lea ecx, [esp + 0x10]
push ecx
push str._s360verify.dll
push edx
push edi
call fcn.00402fd0
add esp, 0x10
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004409d4
add esp, 0x41c
ret
push eax
mov eax, dword [esp + 0x430]
push eax
push edi
call fcn.00402dc9
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004409d4
add esp, 0x41c
ret
mov ecx, dword [esp + 0x420]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004409d4
add esp, 0x41c
ret
Function at 0x46e760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46e76b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x46e849
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x493c38]
inc ecx
sub edx, 8
sub esi, 1
jne 0x46e785
pop edi
test edx, edx
je 0x46e86b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x493c38]
inc ecx
sub edx, 1
jne 0x46e850
not eax
pop esi
ret
Function at 0x46eda0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x46ee61
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
add eax, edi
cmp eax, ecx
jb 0x46ee3f
add ecx, ecx
mov ebp, ecx
cmp ecx, eax
ja 0x46edcb
mov ebp, eax
push 0
push ebp
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x46ee00
push ebp
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x46ee0d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
mov eax, 0x300
pop esi
pop ecx
ret 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
push ecx
push edx
push edi
call fcn.00440f00
mov eax, dword [esi + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x20], ebp
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
add eax, dword [esi + 0x18]
push edi
push edx
push eax
call fcn.00440f00
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x46ee90
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x46f160
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x58]
push edi
test ecx, ecx
je 0x46f1b3
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jae 0x46f1fd
mov edx, dword [esp + 0x14]
sub edi, eax
cmp edi, edx
jbe 0x46f186
mov edi, edx
mov ebx, dword [esp + 0x10]
push edi
add eax, ecx
push eax
push ebx
call fcn.00440f00
mov eax, dword [esi + 0x4c]
add dword [esi + 0x60], edi
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.0046e760
add esp, 0x18
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46f1f6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46f1fd
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.0046e760
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
ret 8