joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f8460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0]
mov ecx, 0x20
push 0xffffffffffffffff
push 0x64dbd8
push eax
mov dword fs:[0], esp
sub esp, 0x18
xor edx, edx
push esi
mov al, byte [edx + str.SIWW_JQI_b]
xor al, cl
inc ecx
mov byte [esp + edx + 8], al
and ecx, 0x800000ff
jns 0x5f849d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x13
jl 0x5f8480
mov byte [esp + 0x1b], 0
sub esp, 0x18
mov dword [esp + 0x3c], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x20], 0
jne 0x5f84d1
xor ecx, ecx
jmp 0x5f84e1
lea ecx, [esp + 0x20]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f84d8
sub ecx, esi
push ecx
lea eax, [esp + 0x24]
mov ecx, edx
push eax
call fcn.0058c730
call fcn.005f8780
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret

Function at 0x5f8780
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x64dbf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push 3
push 0x6d0578
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0
call fcn.005f7ec0
push 0x38
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0061e3e0
add esp, 0xc
mov dword [esp + 0x10], 0x3c
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0x2e646d63
mov dword [esp + 0x10], 0x657865
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x5f883a
or esi, 0xffffffff
jmp 0x5f8863
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 4]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 4]
cmp dword [esp + 0x70], 0x10
jb 0x5f8876
push dword [esp + 0x5c]
call fcn.005f1450
add esp, 4
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x5fad00
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 0x5fad30
push 0
push 0xeb
push str.Sourced3dFont.cpp
push str.glyphTexture
call fcn.005f2580
add esp, 0x10
push str.DataFonts
call fcn.006234e2
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.0058d780
mov ebx, dword [esi + 0x5c]
add esp, 0x18
mov eax, dword [ebx + 0x3c]
cmp dword [eax], 0
jne 0x5fad77
push 0
push 0x4d
push 0x6d0990
push str.m_TexArray_0_.Valid__
call fcn.005f2580
add esp, 0x10
mov ecx, dword [ebx + 0x3c]
call fcn.005fc4f0
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.0058d780
lea eax, [esp + 0x4c]
push 0x6e8dd4
push eax
call fcn.005f3160
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x5fadf7
push eax
push 0xfc
push str.Sourced3dFont.cpp
push 0x6d08dc
call fcn.005f2580
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 0x6d0a78
push ebx
call fcn.0061c4b5
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.0061c4b5
add esp, 0x28
lea esi, [esi + 0x10]
dec edi
jne 0x5fae20
push ebx
call fcn.0061c773
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fc6b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, 0x8876017c
jne 0x5fc702
mov ecx, dword [0x82a4f4]
push 1
call fcn.00610a20
mov eax, dword [0x82a47c]
mov ecx, dword [esi + 8]
mov esi, ecx
cmp dword [eax + 0x184], 0
je 0x5fc6ee
push 6
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00601630
push 0x1010
push str.Error
push str.Out_of_video_memory_
jmp 0x5fc797
cmp eax, 0x8007000e
jne 0x5fc7ac
mov eax, dword [esi + 0x102580]
push 1
mov dword [esi + 0x102580], 0
push 1
mov dword [esi + 0x102584], 0
push eax
mov dword [esi + 0x102588], 0
call fcn.005f1570
add esp, 0xc
mov ecx, esi
push 0
call fcn.005fef10
mov eax, dword [esi + 0x420]
test eax, eax
je 0x5fc765
push 1
push eax
mov ecx, esi
call fcn.00608fe0
mov eax, dword [esi + 0x420]
test eax, eax
jne 0x5fc751
mov eax, dword [0x82a47c]
mov ecx, dword [esi + 8]
mov esi, ecx
cmp dword [eax + 0x184], 0
je 0x5fc788
push 6
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00601630
push 0x1010
push str.Error
push str.Out_of_system_memory_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x7a1bbc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret 4
Function at 0x5fe600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64e0d8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jb 0x5fe6dd
push ebx
push ebp
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea edi, [ecx + 1]
mov dword [esp + 0x24], 0
mov eax, bind
test edi, edi
js 0x5fe65c
shr eax, 1
test edi, eax
je 0x5fe656
add eax, eax
lea ecx, [esp + 0x10]
push eax
call fcn.005fe8d0
mov edx, dword [esi + 4]
mov ebx, dword [esi]
mov ebp, dword [esp + 0x10]
test edx, edx
je 0x5fe68f
mov ecx, ebp
sub ebx, ebp
lea esp, [esp]
test ecx, ecx
je 0x5fe689
mov eax, dword [ebx + ecx]
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x5fe680
mov eax, dword [esi + 4]
lea ecx, [eax*4]
add ecx, ebp
je 0x5fe6a5
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
push 1
mov dword [esi], ebp
push 1
mov dword [esi + 4], edi
push ecx
mov dword [esi + 8], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.005f1570
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov eax, dword [esi]
lea edx, [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
test edx, edx
je 0x5fe6f4
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x6061b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64df4b
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 0x82a704
call fcn.005fb1c0
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.00606630
push esi
push dword [esp + 0x134]
lea eax, [esp + 0x20]
push 0x6ee9c4
push eax
call fcn.0058d780
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea eax, [esp + 0x18]
push 0x6e91e4
push eax
call fcn.0061d2a7
mov edi, eax
add esp, 8
test edi, edi
jne 0x60625e
push dword [esp + 0xc]
call fcn.005f1450
lea eax, [esp + 0x1c]
push eax
push str.r3dFS:_unable_to_open__s_for_writing_n
call fcn.005f20b0
add esp, 0xc
xor bl, bl
jmp 0x606280
mov esi, dword [esp + 0xc]
push edi
push dword [esp + 0x14]
push 1
push esi
call fcn.0061d9f4
push edi
call fcn.0061c773
push esi
call fcn.005f1450
add esp, 0x18
mov bl, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call fcn.0058e5e0
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 0x606d50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64def6
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 0x82a704
call fcn.005fb1c0
lea eax, [esp + 0x14]
mov dword [esp + 0x120], 0
push 0x82a704
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
call fcn.005fb1c0
cmp byte [ebp], 0
mov byte [esp + 0x120], 1
jne 0x606dc5
push 0
push 0x13c
push str.SourceFileSystem_r3dFileSystem.cpp
push str.baseName__0____0
call fcn.005f2580
add esp, 0x10
push 0
push ebp
lea eax, [esp + 0x18]
push str._s__02d.bin
push eax
call fcn.00592570
add esp, 0x10
mov byte [esp + 0x120], 0
lea ecx, [esp + 8]
call fcn.0058e5e0
lea eax, [esp + 0x14]
push 0x6cfc7c
push eax
call fcn.0061d2a7
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x606e19
lea eax, [esp + 0x14]
push eax
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.005f20b0
add esp, 8
xor bl, bl
jmp 0x606e76
push esi
push edi
push 2
push 0
push ebx
call fcn.00622310
push ebx
call fcn.00622739
push 0
push 0
push ebx
mov edi, eax
call fcn.00622310
lea ecx, [edi + 1]
push 1
push ecx
call fcn.005f13f0
push ebx
push 1
mov esi, eax
push edi
push esi
call fcn.006229b6
push ebx
call fcn.0061c773
add esp, 0x38
lea eax, [esp + 0x1c]
lea ecx, [ebp + 0x104]
push eax
push edi
push esi
call fcn.00605ee0
push esi
mov bl, al
call fcn.005f1450
add esp, 4
pop edi
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.0058e5e0
mov ecx, dword [esp + 0x118]
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x6071d0
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.005f13f0
movzx ecx, byte [ebx + 0x105]
add esp, 8
mov esi, eax
mov ebp, dword [ebp + ecx*4 + 0x338]
cmp ebp, 0xffffffff
jne 0x607226
push 0
push 0x32b
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005f2580
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 0x60727b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_read_failed__d_n
call fcn.005f20b0
push esi
call fcn.005f1450
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 0x6072bb
push 0
push 0x33c
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005f2580
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 0x6072fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_write_failed__d_n
jmp 0x607261
push esi
call fcn.005f1450
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x607d60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64df4b
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 0x82a704
call fcn.005fb1c0
mov esi, dword [esp + 0x130]
mov dword [esp + 0x128], 0
cmp byte [esi], 0
je 0x607dd3
cmp byte [esi + 0x104], 0
je 0x607dd3
cmp byte [esi + 0x105], 0xff
je 0x607dd3
cmp dword [esi + 0x10a], 0xffffffff
je 0x607dd3
cmp dword [esi + 0x106], 0xffffffff
je 0x607dd3
cmp dword [esi + 0x112], 0xffffffff
jne 0x607dec
push 0
push 0x1c1
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.005f2580
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [esi + 0x112], ebx
je 0x607e14
push 0
push 0x1c2
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.005f2580
add esp, 0x10
movzx eax, byte [esi + 0x105]
mov edi, dword [ebp + eax*4 + 0x338]
cmp edi, 0xffffffff
jne 0x607e87
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00606860
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 0x607e79
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.005f1cd0
add esp, 0xc
xor bl, bl
jmp 0x607f1f
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 0x607eb6
call ebp
push eax
push str.SetFilePointer_failed__d
call fcn.005f1cd0
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], 0x64667261
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x607eef
call ebp
push eax
push str.WriteFile_failed__d
call fcn.005f1cd0
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 0x607f1d
push ebx
push eax
push esi
push str.failed_to_write__s__d_vs__d_n
call fcn.005f1cd0
add esp, 0x10
mov bl, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.0058e5e0
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 0x607f50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64df68
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 0x82a704
call fcn.005fb1c0
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x4c], 0
test eax, eax
jne 0x607fa9
push eax
push 0xfd
push str.SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.005f2580
add esp, 0x10
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x607fc9
push ebp
push 0xfe
push str.SourceFileSystem_r3dFileSystem.cpp
push 0x6d08dc
call fcn.005f2580
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], 0x6c667261
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], edi
lea eax, [edi + 1]
push eax
call fcn.005f13f0
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 0x608040
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 0x608011
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x13]
call fcn.005f25c0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
lea ecx, [esp + 0x23]
call fcn.005f25d0
test eax, eax
jne 0x60806f
push str.failed_to_compres_file_list_n
call fcn.005f1cd0
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.005f28b0
push ebp
push 8
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push 1
push eax
call fcn.0061d9f4
push ebp
push 0x14
lea eax, [esp + 0x50]
push 1
push eax
call fcn.0061d9f4
push ebp
push 1
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.0061d9f4
push esi
call fcn.005f1450
push dword [esp + 0x54]
call fcn.005f1450
add esp, 0x40
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0058e5e0
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 0x611120
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 0x611141
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 0x61119b
jmp 0x611160
lea eax, [esp + 0x28]
push 0x6d044c
push eax
call fcn.0060f720
add esp, 8
test eax, eax
jne 0x611197
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x611160
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 0x611f60
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x613587
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x613587
cmp dword [ecx + 0xc], 0
je 0x613587
cmp dword [ecx], 0
jne 0x611f98
cmp dword [ecx + 4], 0
jne 0x613587
cmp dword [edi], 0xb
jne 0x611fa3
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 0x612908
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x611ff0
jmp dword [eax*4 + 0x613594]
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 0x614430
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
push dword [esp + 0x7c]
lea ecx, [esp + 8]
mov dword [esp + 4], 0
push dword [esp + 0x7c]
mov byte [esp + 0xc], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
call fcn.00614bd0
lea ecx, [esp + 4]
call fcn.006142a0
push dword [esp + 0x74]
lea ecx, [esp + 8]
call fcn.00614370
mov eax, dword [esp + 0x74]
add esp, 0x70
ret

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

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x614cb4
mov al, byte [ecx]
test al, al
je 0x614cb4
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 0x614c93
xor edx, 0x2a
imul eax, edx, 0x1000193
ret
xor eax, eax
ret
Function at 0x63251c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x79b5e0]
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.006274ad
mov dword [ebp - 0x14], eax
cmp dword [0x846a6c], esi
jne 0x63260f
push 0x800
push esi
push 0x6e44d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x63259c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x6326ef
push esi
push esi
push 0x6e44d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x6326ef
push 0x6e44f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x6326ef
push eax
call ebx
push 0x6e44fc
push edi
mov dword [0x846a6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6e450c
push edi
mov dword [0x846a70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6e4520
push edi
mov dword [0x846a74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x846a7c], eax
test eax, eax
je 0x63260c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x846a78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x632634
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x632627
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], esi
je 0x632649
push 4
pop eax
jmp 0x6326f1
cmp dword [ebp - 0x14], esi
je 0x632649
push dword [0x846a6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x63262e
mov eax, dword [0x846a78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x6326a7
cmp dword [0x846a7c], edi
je 0x6326a7
push eax
call ebx
push dword [0x846a7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x6326a7
test eax, eax
je 0x6326a7
call ecx
test eax, eax
je 0x63269c
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 0x63269c
test byte [ebp - 8], 1
jne 0x6326a7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x6326d7
mov eax, dword [0x846a70]
cmp eax, edi
je 0x6326d4
push eax
call ebx
test eax, eax
je 0x6326d4
call eax
mov esi, eax
test esi, esi
je 0x6326d4
mov eax, dword [0x846a74]
cmp eax, edi
je 0x6326d4
push eax
call ebx
test eax, eax
je 0x6326d4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x846a6c]
call ebx
test eax, eax
je 0x6326ef
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x6326f1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret