joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a4600
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a4697
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a46b0
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a469e
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b08f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b0954
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b093e
push 3
push 0x41b0960
push 0x41b0960
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b0964
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b095b
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x4010d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ecx
push esi
push edi
push ebp
sub esp, 0x370
mov ebp, eax
mov dword [esp + 0x364], ebx
lea edi, [esp + 0x244]
mov esi, edx
push edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x401105
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x4010ed
pop edi
mov esi, 0x401093
lea edi, [esp + 0x244]
push edi
sub ecx, ecx
dec ecx
mov al, 0
repne scasb al, byte es:[edi]
dec edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x401133
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x40111b
pop edi
lea edi, [esp + 0x140]
mov esi, edx
push edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x401156
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x40113e
pop edi
mov esi, 0x4010a1
lea edi, [esp + 0x140]
push edi
sub ecx, ecx
dec ecx
mov al, 0
repne scasb al, byte es:[edi]
dec edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x401184
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x40116c
pop edi
lea edi, [esp + 0x140]
sub ecx, ecx
dec ecx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x140]
add eax, ecx
mov dword [esp + 0x368], eax
mov eax, esp
push eax
lea eax, [esp + 0x248]
push eax
mov edi, dword [esp + 0x370]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [esp + 0x36c], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x358]
push eax
call dword [sym.imp.USER32.DLL_PeekMessageA]
test eax, eax
jne 0x40129d
mov edx, 0x4010a3
lea eax, [esp + 0x2c]
call fcn.00401750
test eax, eax
je 0x40126b
mov edx, 0x401010
lea eax, [esp + 0x2c]
call fcn.00401750
test eax, eax
je 0x40126b
mov eax, dword [esp + 0x364]
test eax, eax
je 0x401225
mov edx, eax
lea eax, [esp + 0x2c]
call fcn.0040188c
test eax, eax
je 0x40126b
lea esi, [esp + 0x2c]
push edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x401242
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x40122a
pop edi
test byte [esp], 0x10
je 0x4012d5
lea edx, [esp + 0x140]
mov eax, ebp
xor ebx, ebx
call fcn.004010d0
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov eax, esp
push eax
mov edx, dword [esp + 0x370]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4011c5
mov ecx, dword [esp + 0x36c]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
add esp, 0x370
pop ebp
pop edi
pop esi
pop ecx
ret
lea eax, [esp + 0x348]
push eax
push ebp
call dword [sym.imp.USER32.DLL_IsDialogMessageA]
test eax, eax
jne 0x4011c5
lea eax, [esp + 0x348]
push eax
call dword [sym.imp.USER32.DLL_TranslateMessage]
lea eax, [esp + 0x348]
push eax
call dword [sym.imp.USER32.DLL_DispatchMessageA]
jmp 0x4011c5
lea eax, [esp + 0x2c]
push eax
push 0x65
push ebp
call dword [sym.imp.USER32.DLL_SetDlgItemTextA]
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x40126b
Function at 0x4019aa
Capabilities:
Terminate process

Disassembly:
jmp 0x402160
push ebx
push ecx
push edx
push ebp
mov ebp, esp
sub esp, 8
mov eax, 1
call fcn.00403810
mov eax, dword [0x4070d4]
add eax, 3
and al, 0xfc
xor edx, edx
sub esp, eax
mov ecx, esp
mov ebx, dword [0x4070d4]
mov eax, ecx
call fcn.00401b30
mov eax, dword [0x4070d4]
mov dword [ecx + 0x104], eax
mov eax, ecx
mov edx, ecx
call fcn.004038c0
lea eax, [ebp - 8]
call fcn.00401e70
mov ecx, dword [0x407098]
add ecx, 3
and cl, 0xfc
call fcn.004038f0
cmp ecx, eax
jb 0x4021f2
xor eax, eax
mov ecx, dword [0x407098]
add eax, ecx
mov dword [0x40709c], eax
call fcn.00403910
push 0xa
mov eax, dword [0x407078]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call fcn.00401310
jmp 0x403912
push ecx
call fcn.004039b5
mov eax, dword [0x407098]
add eax, 3
and al, 0xfc
sub esp, eax
mov eax, esp
jmp 0x4021c3
mov ecx, eax
call dword [0x4070d8]
cmp dword [0x4083f8], 0
je 0x40394f
cmp dword [0x407050], 0
je 0x40393c
mov edx, 0xff
mov eax, 0x10
call dword [0x407050]
call dword [0x4070d8]
call dword [0x4070dc]
mov eax, ecx
jmp fcn.00401ed0
mov edx, 0xff
mov eax, 0x10
call fcn.00403860
jmp 0x40393c
Function at 0x401bd0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, ebx
mov dword [0x4083f8], eax
mov dword [0x407054], edx
call fcn.004026b0
xor eax, eax
mov dword [0x408a1c], eax
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov edx, eax
mov byte [0x4070b1], al
shr eax, 0x10
mov word [0x4070b3], ax
xor eax, eax
mov ax, word [0x4070b3]
and edx, 0xffff
mov dword [0x4070b5], eax
xor eax, eax
sar edx, 8
mov al, byte [0x4070b1]
and edx, 0xff
mov dword [0x4070b9], eax
xor eax, eax
mov al, dl
mov byte [0x4070b2], dl
mov dword [0x4070bd], eax
mov eax, dword [0x4070b9]
mov edx, dword [0x4070bd]
shl eax, 8
or eax, edx
mov dword [0x4070c1], eax
cmp byte [0x4070b1], 4
jae 0x401cf7
mov eax, 0x401b68
push eax
xor edx, edx
push 0x401b95
mov dword [0x4070ad], edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edx, eax
test eax, eax
je 0x401c8a
call edx
mov dword [0x4070ad], eax
push 0x104
push 0x4083fc
push 0
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x408500
xor eax, eax
mov dword [0x40707c], 0x4083fc
call fcn.004027f0
mov dword [0x407088], 0x408500
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.00402890
mov edx, eax
mov bl, byte [eax]
mov dword [0x4083f0], eax
cmp bl, 0x22
je 0x401d01
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x4028d1], 2
je 0x401d19
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x4028d1], 2
je 0x401d20
inc eax
jmp 0x401ce7
mov eax, 0x401b7e
jmp 0x401c62
inc eax
cmp bl, byte [eax]
je 0x401d11
cmp byte [eax], 0
je 0x401d11
inc eax
cmp byte [eax], 0x22
jne 0x401d06
cmp byte [eax], 0
je 0x401ce7
inc eax
jmp 0x401ce7
test dl, dl
je 0x401ce7
inc eax
jmp 0x401cda
mov dword [0x407078], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
test eax, eax
je 0x401d96
call fcn.004029d1
mov edx, eax
mov bx, word [eax]
mov dword [0x4083f4], eax
cmp bx, 0x22
je 0x401d69
xor eax, eax
mov ax, word [edx]
call fcn.004029f8
test eax, eax
je 0x401d8b
xor eax, eax
mov ax, word [edx]
call fcn.004029f8
test eax, eax
je 0x401d9b
add edx, 2
jmp 0x401d56
lea edx, [eax + 2]
cmp bx, word [edx]
je 0x401d80
cmp word [edx], 0
je 0x401d80
add edx, 2
cmp word [edx], 0x22
jne 0x401d71
cmp word [edx], 0
je 0x401d56
add edx, 2
jmp 0x401d56
cmp word [edx], 0
je 0x401d56
add edx, 2
jmp 0x401d48
mov edx, 0x401ba2
mov dword [0x407084], edx
test edi, edi
jne 0x401dae
mov eax, 1
pop edi
pop esi
pop ecx
ret
push 0x104
push 0x408708
push esi
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x40880c
mov eax, esi
mov dword [0x407080], 0x408708
call fcn.004027f0
mov dword [0x40708c], 0x40880c
mov eax, 1
pop edi
pop esi
pop ecx
ret

Function at 0x4022f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
push 0x40
push 0x1000
mov edx, dword [eax]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop edx
pop ecx
ret
Function at 0x78b68ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x78b68ece
pop dword [ebp - 0x38]
mov eax, 0xc91e543b
add eax, 0xaf983a93
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3302637f
sub dword [ebp - 0x48], 0xe4b01e34
mov dword [ebp - 0x44], 0xf3ace1b7
sub dword [ebp - 0x44], 0xc1799572
mov dword [ebp - 0x40], 0x433d8cb
add dword [ebp - 0x40], 0x48186b63
mov dword [ebp - 0x3c], 0x9d4e16e5
sub dword [ebp - 0x3c], 0x9d4e16e5
lea eax, [ebp - 0x48]
push eax
mov eax, 0xa2d4cc3f
sub eax, 0x2a1fbb27
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xacd2d033
sub dword [ebp - 0x48], 0x386066dd
mov dword [ebp - 0x44], 0x4cb75e58
sub dword [ebp - 0x44], 0xb4afce3
mov dword [ebp - 0x40], 0xf47257c7
sub dword [ebp - 0x40], 0x9102eb5b
mov dword [ebp - 0x3c], 0x28ca4a9d
add dword [ebp - 0x3c], 0xd735b563
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3e04e
push 0
call eax
mov ecx, 0x457c
xor edi, edi
add edi, eax
mov ebx, 0x1b276f4a
sub ebx, 0xa26f4f4a
add ebx, dword [ebp - 0x38]
mov edx, 0x89767e6d
sub edx, 0xe4d84c54
xor dword [ebp - 0x1c], eax
mov esi, dword [ebx]
xor dword [ebp - 0x2c], ebx
xor esi, edx
mov dword [edi], esi
xor dword [ebp - 0x28], esi
add edi, 0x438ed1ee
add edi, 0xbc712e16
add ebx, 0xfc3680f2
sub ebx, 0xfc3680ee
loop 0x78b68fe7
add eax, 0xe8c8954a
sub eax, 0xe8c78c87
xor ebx, ebx
add ebx, eax
add eax, 0xf3cf324c
add eax, 0xc30cdb9
mov ecx, 0x78b50000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x78b6d35d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78b7b310]
jne 0x78b6d367
repz ret
jmp fcn.78b6ed18
Function at 0x401f2e
Capabilities:
Get common file path

Disassembly:
sub esp, 0x550
and dword [esp + 0xc], 0
push ebx
mov ebx, ecx
lea ecx, [esp + 0x10]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi]
mov edi, dword [ebx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
call fcn.00401dd4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
add ebp, 0x23f
mov ebx, dword [esi + 8]
push 0x20
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
pop esi
mov dword [esp + 0x28], 2
add dword [esp + 0x28], 3
mov edx, dword [esp + 0x24]
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [esp + 0x18], 0xedeb2e40
cmp dword [0x2d05ee4], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x2d05f28]
cmove eax, dword [esp + 0x18]
and dword [esp + 0x18], 0
cmp dword [0x2d05ee4], 0x3eb
mov dword [0x2d05f28], eax
mov eax, dword [0x2d05f30]
cmove eax, dword [esp + 0x18]
mov dword [0x2d05f30], eax
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
xor eax, ecx
mov dword [0x2d05f2c], 0xf4ea3dee
cmp dword [0x2d05ee4], 0x213
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x402061
push ebp
push ebp
push ebp
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebp
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x160]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.gixecig_powobiwuvagexagecuwodinupuyugu
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
mov eax, dword [esp + 0x14]
sub edi, eax
mov eax, edi
mov dword [esp + 0x3c], edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
nop
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
shr eax, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x24], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x1c]
call fcn.00401f25
dec esi
je 0x4020d7
mov ebp, dword [esp + 0x1c]
jmp 0x401f7f
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0x550
ret
Function at 0x40c154
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa4f0]
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.00409076
mov dword [ebp - 0x14], eax
cmp dword [0x2d06e18], esi
jne 0x40c247
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c1d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c327
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c327
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c327
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x2d06e18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x2d06e1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x2d06e20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d06e28], eax
test eax, eax
je 0x40c244
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d06e24], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c26c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c25f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c281
push 4
pop eax
jmp 0x40c329
cmp dword [ebp - 0x14], esi
je 0x40c281
push dword [0x2d06e18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c266
mov eax, dword [0x2d06e24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c2df
cmp dword [0x2d06e28], edi
je 0x40c2df
push eax
call ebx
push dword [0x2d06e28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c2df
test eax, eax
je 0x40c2df
call ecx
test eax, eax
je 0x40c2d4
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 0x40c2d4
test byte [ebp - 8], 1
jne 0x40c2df
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c30f
mov eax, dword [0x2d06e1c]
cmp eax, edi
je 0x40c30c
push eax
call ebx
test eax, eax
je 0x40c30c
call eax
mov esi, eax
test esi, esi
je 0x40c30c
mov eax, dword [0x2d06e20]
cmp eax, edi
je 0x40c30c
push eax
call ebx
test eax, eax
je 0x40c30c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2d06e18]
call ebx
test eax, eax
je 0x40c327
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c329
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040451e
mov esp, ebp
pop ebp
ret
Function at 0x402fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4034e0
test edx, edx
je 0x4034e0
call fcn.00402fd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x406cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406cc9

Function at 0x413098
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x4130cc
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.004130e0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4130c5
mov dword [esi], ebx
call fcn.00443660
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4132ae
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x4132e6
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4132c0
cmp edx, 1
je 0x413307
cmp edx, 2
je 0x4132fe
cmp edx, 3
jne 0x413312
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
Function at 0x426fc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043228a
mov edx, eax
test ebx, ebx
je 0x426feb
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x426ff6
movzx eax, word [eax]
jmp 0x42700d
xor ecx, ecx
test dl, dl
je 0x427020
jmp 0x4270b4
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
mov byte [ebp - 0x10], dl
call dword [section..00cfg]
mov ecx, ebx
call edi
mov dl, byte [ebp - 0x10]
xor edi, edi
cmp ax, 0xffff
sete al
je 0x42701a
mov edi, ebx
mov ecx, edi
cmp dl, al
je 0x42709a
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
je 0x427032
movzx edi, word [eax]
jmp 0x427045
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov edi, eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
movzx eax, di
mov ecx, ebx
push eax
push 8
call esi
test al, al
je 0x427094
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov ebx, dword [ebp - 0x10]
je 0x42707e
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x426fd1
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
jmp 0x426fce
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043228a
mov ebx, eax
test edi, edi
je 0x4270bd
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4270c3
movzx eax, word [eax]
jmp 0x4270d4
mov ecx, esi
call fcn.0043228a
mov ebx, eax
test bl, bl
jne 0x4270df
jmp 0x4270e5
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp ax, 0xffff
sete al
xor bl, al
jne 0x4270e5
mov eax, dword [ebp + 0x10]
or byte [eax], 2
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x435ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ecx], 0x497acc
add ecx, 4
call fcn.0043cd50
lea ecx, [esi + 8]
call fcn.0043cd50
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.0043cd50
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0x3f800000
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x98], 0x3f800000
movups xmmword [esi + 0x9c], xmm0
mov dword [esi + 0xac], 0x3f800000
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], 0x3f800000
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
movups xmmword [esi + 0xc8], xmm0
mov dword [esi + 0xd8], 0
mov eax, dword [0x49d68c]
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0xec]
call fcn.0044bc60
lea ecx, [esi + 0x188]
push 0
call fcn.0043e850
lea ecx, [esi + 0x190]
push 0
call fcn.0043e850
lea ecx, [esi + 0x198]
push 0
call fcn.0043e850
xorps xmm0, xmm0
movups xmmword [esi + 0x1a0], xmm0
mov dword [esi + 0x1b0], 0x3f800000
movups xmmword [esi + 0x1b4], xmm0
movups xmmword [esi + 0x1bd], xmm0
mov dword [esi + 0x1d0], edi
mov byte [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
call fcn.004108d0
call fcn.0043d230
mov ecx, eax
mov dword [esi + 0xd8], eax
xor ecx, 0x84222325
mov edx, 0x1b3
mov eax, ecx
mul edx
shl ecx, 8
add ecx, edx
add ecx, 0x8d40976c
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xf0]
mov eax, ecx
shr eax, 6
test dword [0x49d690], edx
je 0x43607d
cmp ecx, 0x40
mov ecx, 0x3e8
jmp 0x43608d
test dword [0x49d694], edx
je 0x4360d8
cmp ecx, 0x40
mov ecx, 0x100
cmovb eax, ecx
push eax
call fcn.0044ae30
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
je 0x4360b5
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
call fcn.0043a990
mov ecx, eax
push 0
push str.TraceLog
push esi
call fcn.0043ab00
mov dword [0x4ab8c4], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
test dword [0x49d698], edx
je 0x4360ea
cmp ecx, 0x40
mov ecx, 0x7a1200
jmp 0x4360f2
cmp ecx, 0x40
mov ecx, 0xfa0
cmovb eax, ecx
push eax
call fcn.0044aed0
jmp 0x436096