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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0041a4e0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c0a60
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f0374
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0041a990
mov ecx, dword [esi + 4]
pop esi
test ecx, ecx
je 0x41ac08
mov eax, dword [ecx]
push 5
call dword [eax]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004bebdd
mov esp, ebp
pop ebp
ret
Function at 0x41ac70
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb18b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x430], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41acc2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004c0a60
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.004c0a60
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41ad2e
mov esi, 0x80004005
jmp 0x41ae29
lea eax, [ebp - 0x428]
push eax
push 0x4f1908
push 1
push 0
push 0x4f1918
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x41ae29
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x41ad91
mov ecx, dword [eax]
lea edx, [ebp - 0x424]
push edx
push 0x4f0474
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x424]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x428]
cmovs ecx, edx
mov dword [ebp - 0x424], ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x41ae15
mov eax, dword [ebp - 0x428]
mov ecx, 0x512564
mov esi, dword [ebp - 0x430]
test esi, esi
cmovne ecx, esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x41ae15
test ebx, ebx
je 0x41ade4
mov eax, dword [ebp - 0x428]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x41ae15
push 0x104
push edi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004cb014
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 0
test eax, eax
je 0x41ae29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41ae40
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bebdd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb280
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, edi
call fcn.0041ae60
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41b3db
mov eax, dword [ecx]
push 0x5a
call dword [eax]
mov eax, dword [0x53c198]
test eax, eax
jne 0x41b42b
push 0x110
call fcn.004bec3b
mov esi, eax
add esp, 4
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41b41d
push 0x110
push 0
push esi
call fcn.004c0a60
add esp, 0xc
mov ecx, esi
call fcn.00421000
jmp 0x41b41f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x53c198], eax
mov ecx, eax
call fcn.00421910
test al, al
je 0x41b54b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0a60
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f0374
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x24c]
push eax
call fcn.0041b590
mov ecx, eax
call fcn.00421620
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 1
jb 0x41b497
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401ed0
add esp, 8
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x41b4e5
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b4db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b588
push ecx
push edx
call fcn.004bec6b
add esp, 8
push 9
push str.AiZip.exe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.0041b610
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push 0
push ecx
lea eax, [ebp - 0x230]
mov ecx, edi
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call fcn.0041ac70
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00404340
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41b558
mov eax, dword [ecx]
push 0x5f
call dword [eax]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41b565
mov eax, dword [ecx]
push 0x64
call dword [eax]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bebdd
mov esp, ebp
pop ebp
ret
call fcn.004c8fd6
int3
Function at 0x41c060
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov dword [ebp - 0x828], esi
call edi
test eax, eax
je 0x41c204
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x41c203
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004c0a60
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c0a60
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c0a60
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004c0a60
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c45df
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c169b
add esp, 0x2c
test eax, eax
jne 0x41c13d
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.004c169b
add esp, 8
test eax, eax
je 0x41c155
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004c45df
add esp, 0xc
xor esi, esi
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c0a60
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x41c19e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4f048c
push eax
call fcn.004085d0
add esp, 0x10
jmp 0x41c1bb
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.004085d0
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x41c1dd
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41c1dd
cmp esi, 0xa
jge 0x41c203
inc esi
jmp 0x41c160
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x828]
call fcn.004c4669
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bebdd
mov esp, ebp
pop ebp
ret 4
Function at 0x41c220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb447
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5383c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041ba10
mov eax, dword [0x53c198]
test eax, eax
jne 0x41c29b
push 0x110
call fcn.004bec3b
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41c28d
push 0x110
push 0
push esi
call fcn.004c0a60
add esp, 0xc
mov ecx, esi
call fcn.00421000
jmp 0x41c28f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x53c198], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00421620
cmp dword [eax + 0x14], 0x10
jb 0x41c2ae
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41c2e9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c2df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c315
push ecx
push edx
call fcn.004bec6b
add esp, 8
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041c370
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004c8fd6
int3
Function at 0x42c2a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x42c353
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x42c357
cmp dword [ebp - 0x1c], 0x10
jne 0x42c322
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x42c322
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call sym.Install.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x42c344
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x42c357
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42c2ef
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x42c375
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x42c37a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c3ac
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x42f95b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004c0a60
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004bebdd
leave
ret

Function at 0x430944
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x430967
or esi, 2
push 1
call edi
test ax, ax
jns 0x430973
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x43097f
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43098b
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4341e5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x434220
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x434220
cmp esi, dword [edi + 0xe8]
je 0x434220
cmp byte [edi + 0xe0], 0
jne 0x434220
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x434308
test eax, eax
je 0x434288
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
and dword [edi + 0xe8], 0
test esi, esi
je 0x434308
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x434308
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x434308
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x434308
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
leave
ret 8
Function at 0x44979d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x449809
cmp dword [ebp + 8], 0x100
jne 0x4497f8
cmp word [ebp + 0xc], 0xd
jne 0x4497f8
cmp byte [esi + 0x69a], 0
je 0x4497dd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4497f8
cmp byte [esi + 0x69b], 0
jne 0x4497f8
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4497f4
push 1
push edi
push edi
push edi
push str.return
push esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
xor eax, eax
jmp 0x44980c
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x449c10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x449cfb
movzx eax, word [ebx]
test ax, ax
je 0x449cfb
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x449c52
cmp dx, 0x5c
jne 0x449c54
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x449c46
cmp esi, ebx
je 0x449ca1
sub esi, ebx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push ebx
push eax
call fcn.004d18ff
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x449d09
xor eax, eax
mov word [ebp + esi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00449c10
pop ecx
pop ecx
lea ecx, [ebp - 0x414]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x449ca9
mov esi, ebx
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x449cbc
lea edi, [ebp - 0x414]
sub ebx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, dx
jne 0x449cd2
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004bebdd
leave
ret
call fcn.004beb02
int3
Function at 0x44a28b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x44a312
cmp dword [esi + 4], 0xffffffff
jne 0x44a312
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x44a2b5
cmp dword [ebp + 0x10], 1
mov eax, dword [0x4f0b3c]
mov dword [edi], eax
pop edi
jne 0x44a2e4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x44a2e4
mov eax, 0x2000000
jmp 0x44a317
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044c80f
add esp, 0x10
test eax, eax
jne 0x44a302
mov eax, dword [ebp - 4]
jmp 0x44a317
push eax
call fcn.0044cf37
mov dword [esi], eax
mov eax, dword [0x53c990]
pop ecx
jmp 0x44a317
mov eax, 0x1000000
pop esi
pop ebx
leave
ret 0xc
Function at 0x44c91c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x44c94f
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c94a
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x44c979
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004c04e0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x44cb07
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44cb15
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x44cbd4
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
sub edi, 1
jne 0x44cb2d
pop edi
test esi, esi
je 0x44cbf0
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8f68]
inc edx
sub esi, 1
jne 0x44cbd8
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x454316
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x454343
cmp eax, edi
jge 0x454333
push esi
call fcn.0045082f
pop ecx
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x454368
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x45434e
mov dword [esi + 8], edx
jmp 0x45437d
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x454373
xor dl, dl
jmp 0x454378
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x454368
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4543b6
mov dword [0x53c998], str.zlib_corrupt
xor eax, eax
jmp 0x4543fb
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4543cb
mov dword [0x53c998], str.read_past_buffer
jmp 0x4543b2
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4543e5
push edi
push ecx
push esi
call fcn.00456e61
add esp, 0xc
test eax, eax
je 0x4543b2
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004c04e0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret