joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424c5f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
mov esi, ecx
lea eax, [ebp - 0x25c]
push eax
lea eax, [esi + 0x9c]
push eax
push str.Install.Dat
call fcn.00407697
add esp, 0xc
lea eax, [ebp - 0x25c]
add esi, 0x106a
push eax
push 0x100
push esi
push 0x451740
push str.Release
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
push 0
push esi
call fcn.00424a41
add esp, 0xc
pop esi
leave
ret

Function at 0x424faf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirectX
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x424fd7
push str.Cant_open_DirectX_registry_data
jmp 0x42502d
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x10c]
push eax
or dword [ebp - 0x10c], 0xffffffff
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x100
push eax
push 0
push str.InstalledVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x42501c
push str.Cant_read_DirectX_version
jmp 0x42502d
test dword [ebp - 0x10c], 0xffffff
je 0x42503b
push str.Using_unknown_version_of_DirectX
push dword [ebp + 8]
call fcn.0041e63d
pop ecx
or al, 0xff
pop ecx
jmp 0x425059
movzx eax, byte [ebp - 0x109]
push eax
push str.Using_DirectX_version__u
push dword [ebp + 8]
call fcn.0041e63d
mov al, byte [ebp - 0x109]
add esp, 0xc
leave
ret 4

Function at 0x42505d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x4250c1
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push 0xc
push ecx
push 1
push eax
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x4250c1
test byte [ebp - 8], 1
je 0x4250c1
cmp byte [esi + 0x1248], 9
jb 0x42509c
mov ax, 1
jmp 0x4250c4
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.TrayNotifyWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
neg eax
sbb eax, eax
neg eax
jmp 0x4250c4
xor ax, ax
pop esi
leave
ret
Function at 0x426170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0042b680
test word [0x453276], 0x3fff
push ebx
mov ebx, dword [0x4532da]
push esi
push edi
mov esi, ecx
je 0x426325
test bl, 1
je 0x4261af
cmp word [0x452e84], 0
jne 0x4261af
and ebx, 0xfffe
or ebx, 2
mov edi, dword [ebp + 8]
test edi, edi
je 0x4262eb
cmp byte [edi], 0
je 0x4262eb
test bl, 8
je 0x4261d3
cmp word [ebp + 0x10], 0
je 0x426325
push dword [esi + 0xf34]
push edi
call fcn.0042b8e0
pop ecx
test eax, eax
pop ecx
jne 0x426204
mov esi, dword [esi + 0xf50]
cmp esi, 1
jbe 0x426325
push esi
mov ecx, 0x451cd8
call fcn.004226b0
jmp 0x426325
push 0x8000
push edi
push dword [esi + 0xf34]
call fcn.00424eff
add esp, 0xc
lea eax, [esi + 0xf8e]
push eax
lea eax, [ebp - 0x1000]
push 0x1000
push eax
push 0x30000
push 0x454168
call fcn.00420804
add esp, 0x14
test bl, 1
je 0x426276
lea eax, [ebp + 0x12]
mov ecx, esi
push eax
push 0x40000001
push dword [ebp + 0xc]
lea eax, [ebp - 0x1000]
push edi
push eax
lea eax, [esi + 0xf50]
push eax
call fcn.00409b20
cmp word [ebp + 0x12], 0
je 0x426276
mov al, bl
and al, 5
cmp al, 1
jne 0x426276
or ebx, 2
test bl, 2
je 0x426325
mov eax, dword [esi + 0xf28]
test eax, eax
je 0x426325
lea ecx, [ebp - 0x1000]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
push 0
push 0x8011
push dword [esi + 0xf28]
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push dword [esi + 0xf28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, esi
push dword [esi + 0xf28]
call fcn.00409f8c
test bl, 1
je 0x426325
mov eax, dword [esi + 0xf50]
mov dword [esi + 0xf58], eax
mov eax, dword [esi + 0xf28]
mov dword [esi + 0xf5c], eax
jmp 0x426325
mov eax, dword [esi + 0xf28]
lea edi, [esi + 0xf28]
test eax, eax
je 0x42630f
push 0
push eax
mov ecx, esi
call fcn.00409f8c
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xf50]
mov ecx, esi
call fcn.00409c80
mov eax, dword [esi + 0xf34]
and byte [eax], 0
pop edi
pop esi
xor ax, ax
pop ebx
leave
ret 0xc
Function at 0x4265f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0042b680
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, 0x44c6d0
cmp dword [esi + 0x50], 0
mov dword [esi + 8], 0x451748
mov dword [esi + 0xc], eax
jne 0x4266ab
cmp dword [str.WilSCli.Dll], 0
push ebx
mov ebx, 0x44c6c0
je 0x42665a
mov eax, dword [ebx]
push eax
mov dword [esi + 0x158], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x50], eax
jne 0x42665a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x426652
cmp eax, 0x7e
jne 0x42665a
add ebx, 4
cmp dword [ebx], 0
jne 0x42662c
cmp dword [esi + 0x50], 0
pop ebx
jne 0x426695
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a92
add esp, 0xc
push eax
push dword [esi + 0x158]
push str.Cant_load__s____s
push dword [ebp + 0x10]
call fcn.0042b964
add esp, 0x10
jmp 0x426711
push dword [esi + 0x158]
push str.Loading__s_for_TWAIN
push dword [ebp + 8]
call fcn.0041e63d
add esp, 0xc
cmp dword [str.RegisterService], 0
je 0x4266d4
push dword [edi]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], 0
je 0x4266dd
add edi, 8
cmp dword [edi], 0
jne 0x4266b4
xor ax, ax
pop edi
pop esi
leave
ret 0xc
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a92
add esp, 0xc
push eax
push dword [esi + 0x158]
push dword [edi]
push str.Cant_find__s_function_in__s____s
push dword [ebp + 0x10]
call fcn.0042b964
add esp, 0x14
mov ax, 1
jmp 0x4266d7
Function at 0x427173
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10284
call fcn.0042b680
lea eax, [ebp - 0x284]
push 0x25c
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4271a3
push str.Failed_to_read_module_path
jmp 0x42726a
push 0
push 0
push 3
push 0
push 1
lea eax, [ebp - 0x284]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea eax, [ebp - 0x10284]
push eax
push 0x10000
lea eax, [ebp - 0x284]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4271e7
push str.Failed_to_read_file_version_information
jmp 0x42726a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10284]
push 0x442170
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x427265
cmp dword [ebp - 8], 0x34
jne 0x427265
mov eax, dword [ebp - 4]
push esi
mov esi, str._____
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 8]
mov eax, dword [eax + 8]
push ecx
shr eax, 0x10
push eax
push str._u._u_u
push esi
call fcn.0042b964
mov eax, dword [ebp - 4]
add esp, 0x14
mov ax, word [eax + 0xc]
test ax, ax
je 0x42725f
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
push str.___u_
push eax
call fcn.0042b964
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0042b200
add esp, 0x14
xor ax, ax
pop esi
jmp 0x427278
push str.Failed_to_read_version_information
push dword [ebp + 8]
call fcn.0042b1f0
pop ecx
mov ax, 1
pop ecx
leave
ret 4
Function at 0x428fde
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
xor edi, edi
cmp byte [0x4553c0], 9
mov esi, ecx
mov dword [ebp - 8], edi
jae 0x429104
mov ecx, 0x454178
call fcn.0042505d
test ax, ax
je 0x429104
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x429033
push str.Cant_read_registry_auto_run_details
jmp 0x4290fa
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x106
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str.P3OGL
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x429071
push str.P3OGL_is_not_installed__continuing_anyway
jmp 0x4290fa
mov eax, dword [0x455334]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x87c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x86c]
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x18]
push edi
push eax
push 2
call ebx
cmp eax, edi
je 0x4290dc
mov edi, 0x3a98
cmp eax, 0x102
jne 0x429104
cmp dword [ebp - 8], 0
jne 0x4290ec
cmp word [0x455338], 0
jne 0x4290ec
push str.Waiting_for_P3OGL_to_prepare_OpenGL_system
mov dword [ebp - 8], edi
push dword [esi + 0x58]
call fcn.0041e63d
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push edi
push 0
push eax
push 2
call ebx
test eax, eax
jne 0x4290a4
mov word [0x455338], 1
push str.P3OGL_indicates_OpenGL_system_is_ready
jmp 0x4290fa
mov word [0x455338], 1
push str.P3OGL_has_not_prepared_OpenGL_system__continuing_anyway
push dword [esi + 0x58]
call fcn.0041e63d
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429f0e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
push edi
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + ecx*2]
lea ebx, [edx + ecx*4]
mov ecx, dword [eax]
mov edx, dword [esi + 0x24]
lea ecx, [ecx + ecx*2]
lea edi, [edx + ecx*4]
mov ecx, dword [eax + 4]
mov ax, word [eax + 0x18]
cmp edi, dword [esi + 0xbc]
mov dword [ebp + 8], ecx
mov word [ebp - 8], ax
je 0x42a03a
mov al, byte [esi + 0xb0]
test al, al
jne 0x429f60
push edi
call dword [esi + 0x140]
jmp 0x429f72
mov ecx, dword [edi]
mov dword [ebp - 4], ecx
mov byte [ebp - 1], al
lea eax, [ebp - 4]
push eax
call dword [esi + 0x13c]
fld dword [edi + 4]
fcomp dword [esi + 0xc0]
fnstsw ax
sahf
je 0x42a005
fld dword [edi + 4]
fcomp dword [0x435b88]
fnstsw ax
sahf
jae 0x429fd1
movzx eax, byte [edi]
fld dword [0x435bd8]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [edi + 4]
fmul st(1)
fstp dword [ebp - 0x1c]
movzx eax, byte [edi + 1]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [edi + 4]
fmul st(1)
fstp dword [ebp - 0x18]
movzx eax, byte [edi + 2]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [edi + 4]
fmul st(1)
fstp dword [ebp - 0x14]
fstp st(0)
jmp 0x429fe3
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
fld1
push eax
push 0x1202
fstp dword [ebp - 0x10]
push 0x408
call dword [esi + 0x138]
mov eax, dword [edi + 4]
mov dword [esi + 0xc0], eax
fld dword [edi + 8]
fcom dword [esi + 0xc4]
fnstsw ax
sahf
je 0x42a032
push ecx
fstp dword [esp]
push 0x1601
push 0x408
call dword [esi + 0x134]
mov eax, dword [edi + 8]
mov dword [esi + 0xc4], eax
jmp 0x42a034
fstp st(0)
mov dword [esi + 0xbc], edi
mov eax, dword [ebp + 8]
mov edi, 0xde1
and eax, 0x200
mov dword [ebp - 0xc], eax
je 0x42a078
mov ax, word [esi + 0x10]
cmp ax, word [esi + 0xc8]
je 0x42a078
mov ecx, dword [esi + 0x78]
movzx eax, ax
lea eax, [eax + eax*4]
push dword [ecx + eax*2 + 4]
push edi
call dword [esi + 0x194]
mov ax, word [esi + 0x10]
mov word [esi + 0xc8], ax
mov eax, dword [esi + 0xb8]
xor eax, dword [ebp + 8]
test ah, 2
je 0x42a0a4
cmp dword [ebp - 0xc], 0
push edi
je 0x42a095
call dword [esi + 0xfc]
jmp 0x42a09b
call dword [esi + 0x100]
mov eax, dword [ebp + 8]
mov dword [esi + 0xb8], eax
xor edi, edi
cmp word [ebp - 8], di
jbe 0x42a0da
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6c]
lea eax, [ecx + eax*4]
push eax
push 0x1405
push dword [ebx + 4]
push 4
call dword [esi + 0x130]
mov ax, word [ebx + 8]
add edi, eax
cmp di, word [ebp - 8]
movzx eax, ax
lea eax, [eax + eax*2]
lea ebx, [ebx + eax*4]
jb 0x42a0ac
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42a937
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1094
call fcn.0042b680
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], 1
push str.Load_texture___s_
push dword [esi + 0xf0]
call fcn.0041e63d
movzx edi, word [ebp + 8]
lea eax, [esi + 0x7c]
add esp, 0xc
cmp edi, dword [eax]
jbe 0x42a99f
lea ecx, [edi + 2]
push 0xa
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00424f40
add esp, 0x10
test ax, ax
je 0x42a99f
push str.Failed_to_allocate_memory_for_texture_list
push dword [esi + 0xf0]
call fcn.0041e63d
pop ecx
pop ecx
jmp 0x42a9f4
mov ecx, dword [esi + 0x78]
lea eax, [edi + edi*4]
push 0x20
lea eax, [ecx + eax*2]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x42a9fd
lea eax, [ebp - 0x1094]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a92
add esp, 0xc
push eax
push str.Failed_to_open_texture_file____s
push dword [esi + 0xf0]
call fcn.0041e63d
add esp, 0xc
mov ax, 1
jmp 0x42ab2a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42aa24
push str.Failed_to_read_texture_file
push dword [esi + 0xf0]
call fcn.0041e63d
pop ecx
pop ecx
jmp 0x42aafd
cmp edi, 0x20
jbe 0x42aa5f
push edi
call fcn.0042b798
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42aa3d
push str.Failed_to_allocate_memory_for_texture_file
jmp 0x42aa12
lea eax, [ebp - 0xc]
push 0
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42aace
cmp edi, dword [ebp - 0xc]
jne 0x42aace
cmp dword [ebx], 0x58544644
je 0x42aa66
push str.Texture_file_is_corrupt
jmp 0x42aa12
mov cl, byte [ebx + 5]
test cl, cl
jne 0x42aaab
mov ax, word [ebx + 6]
test ax, ax
je 0x42aaab
cmp ax, 8
ja 0x42aaab
movzx ecx, word [ebx + 0xa]
movzx eax, ax
movzx eax, byte [eax + 0x44e43b]
imul eax, ecx
movzx ecx, word [ebx + 8]
imul eax, ecx
add eax, 0x20
cmp edi, eax
je 0x42aaa5
push str.Texture_file_is_corrupt__invalid_length_
jmp 0x42aa12
and dword [ebp - 4], 0
jmp 0x42aafd
movzx eax, word [ebx + 6]
push eax
movzx eax, byte [ebx + 4]
push eax
movzx eax, cl
push eax
push str.Texture_file_type_or_version_is_incorrect__version__u._u__type_0x_02X_
push dword [esi + 0xf0]
call fcn.0041e63d
add esp, 0x14
jmp 0x42aafd
lea eax, [ebp - 0x1094]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a92
add esp, 0xc
push eax
push str.Failed_to_read_texture_file____s
push dword [esi + 0xf0]
call fcn.0041e63d
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 4], 0
je 0x42ab1a
push ebx
call fcn.0042b6af
mov ax, word [ebp - 4]
pop ecx
jmp 0x42ab2a
mov eax, dword [ebp - 8]
mov cx, word [ebx + 6]
mov word [eax + 8], cx
mov dword [eax], ebx
xor ax, ax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41304a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x414c30
push 1
xor ebx, ebx
push ebx
push 0x414ce0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41311b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x414cd0
push eax
call dword [ecx]
test eax, eax
jl 0x413112
cmp byte [ebp + 8], bl
je 0x41309d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4130ba
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4130cc
push 0x41437c
jmp 0x4130cf
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4130e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4130f5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x413109
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x413135
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

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
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x56f110
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x119000]
push edi
jmp 0x56f12a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56f131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f120
mov eax, 1
add ebx, ebx
jne 0x56f143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56f154
jne 0x56f173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f173
dec eax
add ebx, ebx
jne 0x56f160
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56f138
add ebx, ebx
jne 0x56f16f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56f1c5
xor ecx, ecx
sub eax, 3
jb 0x56f18b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56f1fa
sar eax, 1
mov ebp, eax
jmp 0x56f196
add ebx, ebx
jne 0x56f196
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f164
inc ecx
add ebx, ebx
jne 0x56f1a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f164
add ebx, ebx
jne 0x56f1b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56f1a6
jne 0x56f1c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56f1a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56f1e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56f1d6
jmp 0x56f126
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56f1e4
add edi, ecx
jmp 0x56f126
pop esi
mov edi, esi
mov ecx, 0x404d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56f202
cmp byte [edi], 0x11
jne 0x56f202
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 0x56f207
lea edi, [esi + 0x168000]
mov eax, dword [edi]
or eax, eax
je 0x56f27f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2043d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20454c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56f234
mov ecx, edi
jns 0x56f263
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x204550]
or eax, eax
je 0x56f279
mov dword [ebx], eax
add ebx, 4
jmp 0x56f251
call dword [esi + 0x204560]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56f2b0
cmp al, 0xef
ja 0x56f2a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56f285
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56f292
mov ebp, dword [esi + 0x204554]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x56f2e4
sub esp, 0xffffff80
jmp 0x429ab7
Function at 0x1004604b
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
lea esp, [esp + 0x10]
jae 0x1004f1b3
jo 0x1004eadb
pushal
cmp ah, 5
push 0x6c7da9f0
push dword [esp]
mov byte [esp], 0x1f
lea esp, [esp + 0x28]
jae 0x1004e554
cmp dl, 0xee
push 0x2afda487
sub esp, 0xfffffffc
je 0x1004f0b3
pushfd
cmp eax, 0x7f
call fcn.1004f1a7
pushfd
not bl
pushal
inc ecx
not bl
pushfd
inc bl
inc ecx
sub bl, 0xb0
push dword [esp]
xchg ebp, eax
cwde
setnp bl
mov eax, ebp
call fcn.1006015c
stc
test ebp, esp
cmp ah, 5
call fcn.1004b5e5
shld ebx, edx, cl
sub bl, cl
stc
mov ebx, eax
clc
cmp byte [edi], 0x23
push edi
lea esp, [esp + 4]
jne 0x1005db25
push 0xf7f19702
lea esp, [esp + 4]
jmp 0x10046906
bt cx, sp
test dl, 0x2a
cmp eax, 0x7f
pushfd
pushfd
mov byte [esp], ch
lea esp, [esp + 8]
ja 0x1004e560
pushfd
pushfd
inc bl
lea esp, [esp + 8]
jb 0x1004781d
inc ecx
pushfd
setno bl
inc ecx
cmc
rcl bl, 1
sub bl, dl
neg bl
xchg ebp, eax
bt dx, dx
not eax
aas
test dl, 0xe6
mov eax, ebp
rol bl, 1
rcr bl, 1
mov bl, 1
push dword [esp]
pushfd
mov byte [esp], al
mov dword [esp + 8], esi
pushal
call fcn.1004f114

Function at 0x10047143
Capabilities:
Check for software breakpoints

Disassembly:
imul edx, edx, 0xa
cmc
cmp ebx, 0xa496f4a
add edx, eax
push esp
mov byte [esp + 4], dl
mov word [esp], 0xe260
push dword [esp + 4]
lea esp, [esp + 0xc]
jmp 0x1006089d