joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a0550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x5c], 0
jne 0x5a0580
push 0
push 0xeb
push str.Sourced3dFont.cpp
push str.glyphTexture
call fcn.00597180
add esp, 0x10
push str.DataFonts
call fcn.005c2d97
push dword [esi + 0x58]
lea edi, [esi + 4]
push dword [esi + 0x54]
lea eax, [esp + 0x44]
push edi
push str.DataFonts_s__d__x.tga
push eax
call fcn.0057e2a0
mov ebx, dword [esi + 0x5c]
add esp, 0x18
mov eax, dword [ebx + 0x3c]
cmp dword [eax], 0
jne 0x5a05c7
push 0
push 0x4d
push str.c:warz2_srceternityinclude_r3dTex.h
push str.m_TexArray_0_.Valid__
call fcn.00597180
add esp, 0x10
mov ecx, dword [ebx + 0x3c]
call fcn.00599f70
lea edx, [esp + 0x34]
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
push 0
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x44]
push 2
push eax
call sub.d3dx9_43.dll_D3DXSaveSurfaceToFileA
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [esi + 0x58]
lea eax, [esp + 0x3c]
push dword [esi + 0x54]
push edi
push str.DataFonts_s__d__x.dat
push eax
call fcn.0057e2a0
lea eax, [esp + 0x4c]
push 0x685884
push eax
call fcn.00598520
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x5a0647
push eax
push 0xfc
push str.Sourced3dFont.cpp
push 0x6702bc
call fcn.00597180
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 0x60]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x67028c
push ebx
call fcn.005bbfc7
add esp, 0x10
mov edi, 0x5f
add esi, 0x6c
lea ecx, [ecx]
movss xmm0, dword [esi + 4]
sub esp, 0x20
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi - 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi - 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._1.8f__1.8f__1.8f__1.8f_n
push ebx
call fcn.005bbfc7
add esp, 0x28
lea esi, [esi + 0x10]
dec edi
jne 0x5a0670
push ebx
call fcn.005bc145
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a6290
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ecf5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
push 0x866bc4
call fcn.00598fa0
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x128], 0
push eax
push esi
mov ecx, edi
call fcn.005a6710
push esi
push dword [esp + 0x134]
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.0057e2a0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea eax, [esp + 0x18]
push 0x685c1c
push eax
call fcn.005bc76b
mov edi, eax
add esp, 8
test edi, edi
jne 0x5a633e
push dword [esp + 0xc]
call fcn.00598e00
lea eax, [esp + 0x1c]
push eax
push str.r3dFS:_unable_to_open__s_for_writing_n
call fcn.00596cb0
add esp, 0xc
xor bl, bl
jmp 0x5a6360
mov esi, dword [esp + 0xc]
push edi
push dword [esp + 0x14]
push 1
push esi
call fcn.005bd983
push edi
call fcn.005bc145
push esi
call fcn.00598e00
add esp, 0x18
mov bl, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call fcn.0057edb0
mov ecx, dword [esp + 0x11c]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 8
Function at 0x5a6e30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ecee6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push 0x866bc4
call fcn.00598fa0
lea eax, [esp + 0x14]
mov dword [esp + 0x120], 0
push 0x866bc4
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
call fcn.00598fa0
cmp byte [ebp], 0
mov byte [esp + 0x120], 1
jne 0x5a6ea5
push 0
push 0x133
push str.SourceFileSystem_r3dFileSystem.cpp
push str.baseName__0____0
call fcn.00597180
add esp, 0x10
push 0
push ebp
lea eax, [esp + 0x18]
push str._s__02d.info
push eax
call fcn.00582f50
add esp, 0x10
mov byte [esp + 0x120], 0
lea ecx, [esp + 8]
call fcn.0057edb0
lea eax, [esp + 0x14]
push 0x68c55c
push eax
call fcn.005bc76b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5a6ef9
lea eax, [esp + 0x14]
push eax
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.00596cb0
add esp, 8
xor bl, bl
jmp 0x5a6f56
push esi
push edi
push 2
push 0
push ebx
call fcn.005c1d40
push ebx
call fcn.005c2169
push 0
push 0
push ebx
mov edi, eax
call fcn.005c1d40
lea ecx, [edi + 1]
push 1
push ecx
call fcn.00598da0
push ebx
push 1
mov esi, eax
push edi
push esi
call fcn.005c23e6
push ebx
call fcn.005bc145
add esp, 0x38
lea eax, [esp + 0x1c]
lea ecx, [ebp + 0x104]
push eax
push edi
push esi
call fcn.005a5fc0
push esi
mov bl, al
call fcn.00598e00
add esp, 4
pop edi
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.0057edb0
mov ecx, dword [esp + 0x118]
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x5a72b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [ebx + 0x112]
mov ebp, ecx
add edi, 4
mov dword [esp + 0x14], ebp
push 1
lea eax, [edi + 1]
push eax
call fcn.00598da0
movzx ecx, byte [ebx + 0x105]
add esp, 8
mov esi, eax
mov ebp, dword [ebp + ecx*4 + 0x338]
cmp ebp, 0xffffffff
jne 0x5a7306
push 0
push 0x31c
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.00597180
add esp, 0x10
push 0
push 0
push dword [ebx + 0x10a]
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x1c], edi
je 0x5a735b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_read_failed__d_n
call fcn.00596cb0
push esi
call fcn.00598e00
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov dword [ebx + 0x10a], eax
movzx eax, cl
mov byte [ebx + 0x105], cl
mov ebp, dword [ebp + eax*4 + 0x338]
cmp ebp, 0xffffffff
jne 0x5a739b
push 0
push 0x32d
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.00597180
add esp, 0x10
push 0
push 0
push dword [ebx + 0x10a]
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], edi
je 0x5a73db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_write_failed__d_n
jmp 0x5a7341
push esi
call fcn.00598e00
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x5a7e40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ecf5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x18]
push 0x866bc4
call fcn.00598fa0
mov esi, dword [esp + 0x130]
mov dword [esp + 0x128], 0
cmp byte [esi], 0
je 0x5a7eb3
cmp byte [esi + 0x104], 0
je 0x5a7eb3
cmp byte [esi + 0x105], 0xff
je 0x5a7eb3
cmp dword [esi + 0x10a], 0xffffffff
je 0x5a7eb3
cmp dword [esi + 0x106], 0xffffffff
je 0x5a7eb3
cmp dword [esi + 0x112], 0xffffffff
jne 0x5a7ecc
push 0
push 0x1b8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.00597180
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [esi + 0x112], ebx
je 0x5a7ef4
push 0
push 0x1b9
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.00597180
add esp, 0x10
movzx eax, byte [esi + 0x105]
mov edi, dword [ebp + eax*4 + 0x338]
cmp edi, 0xffffffff
jne 0x5a7f67
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005a6940
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5a7f59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push eax
push str.cant_open__s_for_writing___d_n
call fcn.005968d0
add esp, 0xc
xor bl, bl
jmp 0x5a7fff
movzx eax, byte [esi + 0x105]
mov dword [ebp + eax*4 + 0x338], edi
push 0
push 0
push dword [esi + 0x10a]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, dword [esi + 0x10a]
je 0x5a7f96
call ebp
push eax
push str.SetFilePointer_failed__d
call fcn.005968d0
add esp, 8
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x69737573
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5a7fcf
call ebp
push eax
push str.WriteFile_failed__d
call fcn.005968d0
add esp, 8
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push dword [esp + 0x140]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5a7ffd
push ebx
push eax
push esi
push str.failed_to_write__s__d_vs__d_n
call fcn.005968d0
add esp, 0x10
mov bl, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.0057edb0
mov ecx, dword [esp + 0x120]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc
Function at 0x5a8030
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ecf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea ecx, [esp + 0x24]
push 0x866bc4
call fcn.00598fa0
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x4c], 0
test eax, eax
jne 0x5a8089
push eax
push 0xf8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.00597180
add esp, 0x10
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x5a80a9
push ebp
push 0xf9
push str.SourceFileSystem_r3dFileSystem.cpp
push 0x6702bc
call fcn.00597180
add esp, 0x10
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
imul edi, eax, 0x128
push 1
mov dword [esp + 0x2c], 0x31737573
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], edi
lea eax, [edi + 1]
push eax
call fcn.00598da0
mov ecx, dword [ebx + 8]
add esp, 8
sub ecx, dword [ebx + 4]
mov esi, eax
sar ecx, 2
xor edx, edx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5a8120
mov ebp, esi
mov esi, dword [ebx + 4]
mov edi, ebp
mov ecx, 0x4a
add ebp, 0x128
mov esi, dword [esi + edx*4]
inc edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
cmp edx, eax
jb 0x5a80f1
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x13]
call fcn.00597940
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
lea ecx, [esp + 0x23]
call fcn.00597950
test eax, eax
jne 0x5a814f
push str.failed_to_compres_file_list_n
call fcn.005968d0
add esp, 4
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push edi
push esi
mov dword [esp + 0x48], eax
call fcn.00597c50
push ebp
push 8
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push 1
push eax
call fcn.005bd983
push ebp
push 0x14
lea eax, [esp + 0x50]
push 1
push eax
call fcn.005bd983
push ebp
push 1
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.005bd983
push esi
call fcn.00598e00
push dword [esp + 0x54]
call fcn.00598e00
add esp, 0x40
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0057edb0
mov ecx, dword [esp + 0x44]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x5b09c0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push esi
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x5b09e1
xor eax, eax
pop esi
add esp, 0x224
ret
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0x224
push eax
push esi
xor edi, edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x5b0a3b
jmp 0x5b0a00
lea eax, [esp + 0x28]
push str..exe
push eax
call fcn.005aeff0
add esp, 8
test eax, eax
jne 0x5b0a37
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x5b0a00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret

Function at 0x5b32c0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x5b48e7
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x5b48e7
cmp dword [ecx + 0xc], 0
je 0x5b48e7
cmp dword [ecx], 0
jne 0x5b32f8
cmp dword [ecx + 4], 0
jne 0x5b48e7
cmp dword [edi], 0xb
jne 0x5b3303
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x5b3c68
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x5b3350
jmp dword [eax*4 + 0x5b48f4]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret

Function at 0x5b5440
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5b5474
mov al, byte [ecx]
test al, al
je 0x5b5474
mov edx, 0x811c9dc5
movsx eax, al
lea ecx, [ecx + 1]
or eax, 0x20
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x5b5453
xor edx, 0x2a
imul eax, edx, 0x1000193
ret
xor eax, eax
ret
Function at 0x5cfda1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005c8af2
mov dword [ebp - 0x14], eax
cmp dword [0x882b3c], esi
jne 0x5cfe94
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5cfe21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5cff74
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5cff74
push 0x67f320
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5cff74
push eax
call ebx
push 0x67f32c
push edi
mov dword [0x882b3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x882b40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationA
push edi
mov dword [0x882b44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x882b4c], eax
test eax, eax
je 0x5cfe91
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x882b48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5cfeb9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5cfeac
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], esi
je 0x5cfece
push 4
pop eax
jmp 0x5cff76
cmp dword [ebp - 0x14], esi
je 0x5cfece
push dword [0x882b3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5cfeb3
mov eax, dword [0x882b48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5cff2c
cmp dword [0x882b4c], edi
je 0x5cff2c
push eax
call ebx
push dword [0x882b4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5cff2c
test eax, eax
je 0x5cff2c
call ecx
test eax, eax
je 0x5cff21
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5cff21
test byte [ebp - 8], 1
jne 0x5cff2c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5cff5c
mov eax, dword [0x882b40]
cmp eax, edi
je 0x5cff59
push eax
call ebx
test eax, eax
je 0x5cff59
call eax
mov esi, eax
test esi, esi
je 0x5cff59
mov eax, dword [0x882b44]
cmp eax, edi
je 0x5cff59
push eax
call ebx
test eax, eax
je 0x5cff59
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x882b3c]
call ebx
test eax, eax
je 0x5cff74
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5cff76
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bba53
mov esp, ebp
pop ebp
ret
Function at 0x5d51d6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005c8af2
mov dword [ebp - 0x14], eax
cmp dword [0x882ba4], esi
jne 0x5d52c9
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5d5256
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5d53a9
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5d53a9
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5d53a9
push eax
call ebx
push 0x67f32c
push edi
mov dword [0x882ba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x882ba8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x882bac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x882bb4], eax
test eax, eax
je 0x5d52c6
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x882bb0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5d52ee
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d52e1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5d5303
push 4
pop eax
jmp 0x5d53ab
cmp dword [ebp - 0x14], esi
je 0x5d5303
push dword [0x882ba4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5d52e8
mov eax, dword [0x882bb0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5d5361
cmp dword [0x882bb4], edi
je 0x5d5361
push eax
call ebx
push dword [0x882bb4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5d5361
test eax, eax
je 0x5d5361
call ecx
test eax, eax
je 0x5d5356
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5d5356
test byte [ebp - 8], 1
jne 0x5d5361
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5d5391
mov eax, dword [0x882ba8]
cmp eax, edi
je 0x5d538e
push eax
call ebx
test eax, eax
je 0x5d538e
call eax
mov esi, eax
test esi, esi
je 0x5d538e
mov eax, dword [0x882bac]
cmp eax, edi
je 0x5d538e
push eax
call ebx
test eax, eax
je 0x5d538e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x882ba4]
call ebx
test eax, eax
je 0x5d53a9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5d53ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bba53
mov esp, ebp
pop ebp
ret
Function at 0x7d6153d9
Capabilities:
Encode data using xor

Disassembly:
call 0x7d615352
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7d615382
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7d61539e
xor edx, 0
jmp 0x7d6153a9
xor edx, edx
jmp 0x7d6153c0
jmp 0x7d6153cc
xor eax, eax
push 0x8427d7c0
call 0x7d6153d9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7d615415
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7d6153ee
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7d61542c
add eax, 0
jno 0x7d615431
add esi, 0
ret 0x10

Function at 0x7d61619a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7d6161bc
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7d61635e
cmp edi, dword [ebp + 0x10]
jb 0x7d61635e
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.7d615c86
inc edi
jmp 0x7d616245
jmp 0x7d616252
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7d615c86
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7d615c86
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7d6162a6
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7d61628a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7d6162d4
add dword [eax], 0x39
jle 0x7d6162b0
sub al, 0xf5
mov ch, al
call fcn.7d6162e9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10