joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416fb2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4536b8]
sub esp, 0x310
test eax, eax
push ebx
push esi
je 0x416fe0
push eax
push 0x44c760
lea ecx, [ebp - 0x108]
mov edx, 0xe6
call fcn.004154d0
pop ecx
pop ecx
jmp 0x41704e
call fcn.004161b6
test eax, eax
mov esi, 0xe6
je 0x417016
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x310]
push eax
call fcn.0041624f
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x417032
push 7
pop eax
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.00416310
jmp 0x417008
push ebx
push 0x44c760
lea ecx, [ebp - 0x108]
mov edx, esi
call fcn.004154d0
push ebx
call sub.msvcrt.dll_free
add esp, 0xc
mov ecx, str.etilqs_
call fcn.00415736
lea ecx, [ebp - 0x108]
mov edx, eax
call fcn.00415736
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x417075
xor eax, eax
inc eax
jmp 0x417012
lea ecx, [ebp - 0x108]
call fcn.00415736
test eax, eax
jbe 0x41708e
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x41708e
dec eax
jne 0x417085
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
push str._setilqs_
mov ecx, edi
mov edx, 0xf4
call fcn.004154d0
mov ecx, edi
call fcn.00415736
mov esi, eax
lea eax, [esi + edi]
push 0xf
call fcn.00415674
add esp, 0xc
push 0xf
pop ecx
movzx eax, byte [esi + edi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi], al
inc esi
dec ecx
jne 0x4170c7
mov byte [esi + edi], cl
xor eax, eax
jmp 0x417012

Function at 0x417339
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
call fcn.00416f7b
mov edi, eax
test edi, edi
pop ecx
jne 0x417358
push 7
pop eax
jmp 0x4173e1
push esi
call fcn.004161b6
test eax, eax
je 0x417394
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417384
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x4173c6
inc ebp
cmp ebp, 5
jge 0x4173c6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417362
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4173b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x4173c6
inc ebp
cmp ebp, 5
jge 0x4173c6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417394
push edi
call sub.msvcrt.dll_free
pop ecx
cmp esi, 0xffffffff
pop esi
jne 0x4173dc
cmp ebx, 2
jne 0x4173dc
xor eax, eax
jmp 0x4173e1
mov eax, 0xa0a
pop edi
pop ebp
pop ebx
ret
Function at 0x417573
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 0x104
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x200
push dword [ebp + 8]
call fcn.0041749b
add esp, 0x10
test eax, eax
jne 0x41762f
lea eax, [ebp - 0x110]
push eax
call fcn.00416f7b
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x417628
call fcn.004161b6
test eax, eax
mov eax, esi
je 0x4175f5
cmp word [esi], bx
je 0x4175df
cmp word [eax], 0x5c
je 0x4175dc
inc eax
inc eax
cmp word [eax], bx
jne 0x4175cd
jmp 0x4175df
mov word [eax], bx
lea eax, [ebp - 4]
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x41761b
cmp byte [esi], bl
je 0x417607
cmp byte [eax], 0x5c
je 0x417605
inc eax
cmp byte [eax], bl
jne 0x4175f9
jmp 0x417607
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call sub.msvcrt.dll_free
cmp edi, ebx
pop ecx
jne 0x41762f
mov dword [ebp - 8], 0x200
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41779c
Capabilities:
Get system information on windows

Disassembly:
push esi
push 0x24
push 0
mov esi, 0x453d60
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.004420ff
test eax, eax
jne 0x4177f1
push 2
call fcn.00414218
mov esi, eax
push esi
call fcn.0041422a
mov edx, 0x451198
call fcn.004140dd
mov eax, dword [0x45357c]
push esi
mov dword [0x4511a4], eax
mov dword [0x45357c], edx
call fcn.00414238
add esp, 0xc
xor eax, eax
pop esi
ret
Function at 0x41a374
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
cmp dword [edx], edi
mov esi, eax
mov dword [ebp - 4], edi
jne 0x41a3ad
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x41a47b
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x41a3e7
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.00443ec0
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x41a3e7
xor edi, edi
cmp esi, edi
je 0x41a47b
mov edi, dword [esi + 0xc]
cmp edi, dword [ebx + 0x18]
ja 0x41a46e
test byte [esi + 0x14], 0x20
jne 0x41a46e
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00443ec0
cmp edi, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jne 0x41a421
call fcn.00419ba8
push dword [ebp - 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.00413fde
add esp, 0x10
cmp edi, 1
mov dword [ebp - 4], eax
jne 0x41a45b
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [ebx + 0x64]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp edi, dword [ebx + 0x20]
jbe 0x41a463
mov dword [ebx + 0x20], edi
push dword [esi]
mov eax, dword [ebx + 0x58]
call fcn.00421322
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x41a3e5
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x42abf8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42ac0a
xor eax, eax
jmp 0x42acf5
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.004148fc
mov esi, eax
test esi, esi
pop ecx
je 0x42acf4
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.0042a981
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0042aa44
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.0042a769
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.0042a981
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.0042a769
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.0042a981
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0042abf8
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.0042a769
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.0042a769
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
and ax, 0xfff7
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x442f61
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push ebx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
push edi
jne 0x44314b
mov edi, 0x22e
push edi
lea eax, [ebp - 0x232]
push ebx
push eax
mov word [ebp - 0x234], bx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x442fac
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
jmp 0x442fb7
lea ebx, [ebp - 0x234]
call fcn.004064dd
xor ebx, ebx
cmp word [ebp - 0x234], bx
je 0x44309a
push edi
lea eax, [ebp - 0x462]
push ebx
push eax
mov word [ebp - 0x464], bx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x464]
push eax
call sub.msvcrt.dll_wcscpy
lea eax, [ebp - 0x234]
push str._sqlite3.dll
push eax
call sub.msvcrt.dll_wcscat
lea eax, [ebp - 0x234]
push eax
call fcn.00407b0b
add esp, 0x14
test eax, eax
jne 0x44303c
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_wcscpy
lea eax, [ebp - 0x234]
push str.mozsqlite3.dll
push eax
call sub.msvcrt.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x234]
push eax
call fcn.00407b0b
test eax, eax
pop ecx
jne 0x443074
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_wcscpy
lea eax, [ebp - 0x234]
push str._nss3.dll
push eax
call sub.msvcrt.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [esi + 0x24], eax
jne 0x4430c8
push 8
push ebx
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4430c5
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.sqlite3.dll
call ebx
test eax, eax
mov dword [esi + 0x24], eax
jne 0x4430b8
push 0x44b61c
call ebx
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], 0
jne 0x4430c8
push 0x449fa4
call ebx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x443154
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_open
push eax
call edi
push str.sqlite3_prepare
push dword [esi + 0x24]
mov dword [esi], eax
call edi
push str.sqlite3_step
push dword [esi + 0x24]
mov dword [esi + 4], eax
call edi
push str.sqlite3_column_text
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.sqlite3_column_int
push dword [esi + 0x24]
mov dword [esi + 0xc], eax
call edi
push str.sqlite3_column_int64
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.sqlite3_finalize
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.sqlite3_close
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
push str.sqlite3_exec
push dword [esi + 0x24]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x44314e
Function at 0x443220
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x4433b2
push ebx
mov eax, edi
call fcn.0040aa20
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x44a3dc
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4432a3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4432f2
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x44551c
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.00443191
test eax, eax
jne 0x443302
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x44ef40
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.00443191
push 0x44ef58
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.00443191
push 0x44ef78
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.00443191
push 0x44ef90
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.00443191
push 0x44efb0
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.00443191
push 0x44efc8
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.00443191
push 0x44efe4
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.00443191
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.00443191
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x4437f6
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
push dword [esp + 0x14]
call fcn.00407707
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
je 0x443860
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xf1b30
jae 0x443859
lea eax, [esi + 0xa]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
lea eax, [esi + 5]
push eax
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push edi
push ebx
call fcn.00408225
add esp, 0xc
test eax, eax
je 0x443852
push esi
push edi
push dword [esp + 0x18]
call fcn.004435e7
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4438ad
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 4], 0
jne 0x443921
push ebx
push edi
push str.vaultcli.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VaultOpenVault
push eax
mov dword [esi + 4], eax
call edi
push str.VaultCloseVault
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.VaultEnumerateItems
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push str.VaultFree
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.VaultGetInformation
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
mov ebx, str.VaultGetItem
push ebx
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
pop edi
mov dword [esi + 0x20], eax
pop ebx
ret
Function at 0x443c2a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x4454b0
call fcn.00443e38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x443c65
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x443c65
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x443c7d
cmp eax, 0x20b
je 0x443c6a
mov dword [ebp - 0x1c], edi
jmp 0x443c91
cmp dword [ecx + 0x84], 0xe
jbe 0x443c65
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x443c8b
cmp dword [ecx + 0x74], 0xe
jbe 0x443c65
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x453d4c], 0xffffffff
or dword [0x453d50], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x4524ec]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x4524e8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x453d48], eax
call fcn.0041424a
cmp dword [section..data], edi
jne 0x443cee
push fcn.0041424a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00443e26
push 0x445488
push 0x445484
call sub.msvcrt.dll__initterm
mov eax, dword [0x4524e4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4524e0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x445480
push 0x445464
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x443d54
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x443e0e
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x443da2
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x443d70
cmp ax, 0x22
jne 0x443d5d
cmp word [esi], 0x22
jne 0x443d7b
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x443d89
cmp ax, 0x20
jbe 0x443d76
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x443daf
movzx eax, word [ebp - 0x48]
jmp 0x443db2
cmp word [esi], 0x20
jbe 0x443d7b
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x443da2
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x443dd3
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x443e08
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00443e71
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
push edi
or ebp, 0xffffffff
jmp 0x453f62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x453f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f58
mov eax, 1
add ebx, ebx
jne 0x453f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x453f8c
jne 0x453fab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453fab
dec eax
add ebx, ebx
jne 0x453f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x453f70
add ebx, ebx
jne 0x453fa7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x453ffd
xor ecx, ecx
sub eax, 3
jb 0x453fc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x454032
sar eax, 1
mov ebp, eax
jmp 0x453fce
add ebx, ebx
jne 0x453fce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f9c
inc ecx
add ebx, ebx
jne 0x453fdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f9c
add ebx, ebx
jne 0x453fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x453fde
jne 0x453ffa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x453fde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45401c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45400e
jmp 0x453f5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45401c
add edi, ecx
jmp 0x453f5e
pop esi
mov edi, esi
mov ecx, 0x1ac0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45403a
cmp byte [edi], 1
jne 0x45403a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x45403f
lea edi, [esi + 0x51000]
mov eax, dword [edi]
or eax, eax
je 0x4540ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5a030]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5a0d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45406c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5a0d4]
or eax, eax
je 0x4540a8
mov dword [ebx], eax
add ebx, 4
jmp 0x454089
call dword [esi + 0x5a0dc]
mov ebp, dword [esi + 0x5a0d8]
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 0x4540e2
sub esp, 0xffffff80
jmp 0x425604

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405f30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c5b4], 0
push esi
jne 0x405f67
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f41
mov dword [ecx*4 + 0x42c5b0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f98
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c5b0]
xor eax, esi
inc ecx
dec edx
jne 0x405f7a
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

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