joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x50cd90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x53c1a4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x440ddf
call fcn.00426b20
mov esi, eax
jmp 0x440ec1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x440dfb
call fcn.00426b20
jmp 0x440eb8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x440e14
call fcn.00426b20
jmp 0x440eb8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x440e48
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x440e36
lea eax, [ebp]
call fcn.0043fc10
lea esi, [ebp - 0x1c]
call fcn.0043fcb0
mov eax, 0x8007000e
jmp 0x440ed3
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0043f5c0
mov dword [ebp - 4], 1
jmp 0x440e71
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x440e7f
mov esi, 0x8007000e
jmp 0x440eba
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x440e9d
call fcn.00426b20
jmp 0x440eb8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00440c10
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x440ed1
lea eax, [ebp]
call fcn.0043fc10
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 + 0x404]
xor ecx, ebp
call fcn.004ea83a
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4411e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50cd5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
xor ebx, ebx
sub eax, 0x10
mov dword [esp + 0x14], ebx
call fcn.00404fe0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
sub eax, 0x10
lea ebp, [esi + 4]
call fcn.00404fe0
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x20], 1
mov eax, dword [edx]
sub eax, 0x10
lea edi, [esi + 8]
call fcn.00404fe0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x20], 2
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x20], 3
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x20], 4
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x20], 5
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x20], 6
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
push eax
mov byte [esp + 0x24], 7
call fcn.0042d3c0
mov byte [esp + 0x20], 8
mov edx, dword [0x546fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x546fac
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x20], 9
mov ecx, dword [edi]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
cmp dword [ecx - 0xc], ebx
je 0x441341
push edi
lea eax, [ebx + 1]
lea ecx, [esp + 0x38]
call fcn.00417f60
push eax
mov ecx, str._
mov ebx, 1
call fcn.00418120
add esp, 4
mov byte [esp + 0x2c], bl
test al, al
jne 0x441346
mov byte [esp + 0x2c], 0
test bl, 1
je 0x44136e
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44136e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2c], 0
je 0x441382
push 1
push 0x51c2b8
push edi
call fcn.00418e70
mov ecx, dword [ebp]
cmp dword [ecx - 0xc], 0
je 0x4413b4
push ebp
mov eax, 1
lea ecx, [esp + 0x38]
call fcn.00417f60
push eax
mov ecx, 0x51c2bc
or ebx, 2
call fcn.00418120
add esp, 4
mov byte [esp + 0x2c], 1
test al, al
jne 0x4413b9
mov byte [esp + 0x2c], 0
test bl, 2
je 0x4413de
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4413de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2c], 0
je 0x4413f2
push 1
push 0x51c2c0
push ebp
call fcn.00418e70
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4432d0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x68
xor eax, eax
push esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
xor esi, esi
push eax
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x58], 1
jne 0x443315
xor eax, eax
pop esi
add esp, 0x68
ret
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call sub.KERNEL32.dll_GetSystemTimes
test eax, eax
je 0x44347e
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [esp + 0x28]
push ecx
call esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push ecx
call sub.KERNEL32.dll_GetSystemTimes
lea edx, [esp + 0x20]
push edx
call esi
fild dword [esp + 0x14]
fld qword [0x523a68]
mov eax, dword [esp + 0x10]
fmul st(1), st(0)
fild dword [esp + 0x10]
test eax, eax
jge 0x4433b2
fadd qword [0x523a68]
mov ecx, dword [esp + 0x18]
faddp st(2)
fild dword [esp + 0x1c]
fmul st(1)
fild dword [esp + 0x18]
test ecx, ecx
jge 0x4433cc
fadd qword [0x523a68]
mov edx, dword [esp + 0x20]
faddp st(1)
fsubp st(2)
fild dword [esp + 0x24]
fmul st(1)
fild dword [esp + 0x20]
test edx, edx
jge 0x4433e8
fadd qword [0x523a68]
mov eax, dword [esp + 0x28]
faddp st(1)
fild dword [esp + 0x2c]
fmulp st(2)
fild dword [esp + 0x28]
test eax, eax
jge 0x443402
fadd qword [0x523a68]
faddp st(2)
mov eax, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 8], ecx
fsubrp st(1)
fdivp st(1)
fld qword [0x523ac0]
fmul st(1), st(0)
fild dword [esp + 8]
test ecx, ecx
jge 0x443428
fadd qword [0x523a68]
dec eax
fdivp st(2)
mov dword [esp + 8], eax
fild dword [esp + 8]
test eax, eax
jge 0x44343d
fadd qword [0x523a68]
fmul st(2)
fdivrp st(1)
call fcn.005075b0
fnstcw word [esp + 6]
mov esi, eax
movzx eax, word [esp + 6]
or eax, 0xc00
mov dword [esp + 8], eax
push esi
mov ecx, 0x548980
fldcw word [esp + 0xc]
fistp qword [esp + 0xc]
mov edx, dword [esp + 0xc]
push edx
push str.cpu_idle_ration:__d____suitable_thread:__d
fldcw word [esp + 0x12]
call fcn.004dfa90
add esp, 0xc
mov eax, esi
pop esi
add esp, 0x68
ret
Function at 0x443490
Capabilities:
Access peb ldr_data
Enumerate files on windows
Move file

Disassembly:
push 0xffffffffffffffff
push 0x50e49b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
push 0x24c
lea eax, [esp + 0x2c]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0
call fcn.004f08c0
lea ecx, [esp + 0x2c]
push edi
push ecx
mov ebx, 0x51cc34
call fcn.00418040
mov eax, dword [eax]
add esp, 0x14
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x44368f
jmp 0x443546
mov esi, dword [esp + 0x18]
test byte [esp + 0x24], 0x10
je 0x4435bf
push 1
lea ecx, [esp + 0x54]
push 0x51cc3c
push ecx
call fcn.004eee40
add esp, 0xc
test eax, eax
je 0x443670
push 2
lea edx, [esp + 0x54]
push 0x51cc40
push edx
call fcn.004eee40
add esp, 0xc
test eax, eax
je 0x443670
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004eee40
add esp, 0xc
test eax, eax
je 0x443670
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004eee40
add esp, 0xc
test eax, eax
je 0x443670
lea edx, [esp + 0x14]
push ebp
push edx
lea ebx, [esp + 0x58]
call fcn.00418040
mov esi, eax
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x294], 0
call fcn.00418040
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44361c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x443670
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp]
mov edx, dword [edi]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
push str.move_file__S_from__S_to__S_failed:__d
mov ecx, 0x548980
call fcn.004dfa90
add esp, 0x14
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x443542
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004ea83a
add esp, 0x278
ret 4
Function at 0x444160
Capabilities:
Create directory

Disassembly:
sub esp, 0x450
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x45c]
xor eax, eax
push 0x20a
push eax
lea ecx, [esp + 0x3a]
push ecx
mov word [esp + 0x3c], ax
call fcn.004f08c0
add esp, 0xc
xor edx, edx
push 0x20a
push edx
lea eax, [esp + 0x24a]
push eax
mov word [esp + 0x24c], dx
call fcn.004f08c0
add esp, 0xc
lea ecx, [esp + 0xc]
push edi
push ecx
mov ebx, 0x51ce8c
call fcn.00418040
mov edx, dword [eax]
push edx
lea eax, [esp + 0x3c]
push 0x104
push eax
call fcn.004eeee6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4441fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444203
sub eax, edx
mov edx, dword [esi]
sar eax, 1
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x36], cx
lea eax, [esp + 0x244]
push 0x104
push eax
call fcn.004eeee6
lea eax, [esp + 0x24c]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x444240
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444240
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x242], cx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x240]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], ecx
push 0
lea edx, [esp + 0x34]
mov ecx, 0x614
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], edx
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4442c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_directory_failed:__d
mov ecx, 0x548980
call fcn.004dfa90
add esp, 8
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4442f1
cmp dword [esp + 0x22], eax
jne 0x4442f1
mov eax, dword [edi]
push 1
push eax
mov ecx, ebp
call fcn.004436c0
mov eax, 1
jmp 0x444306
push eax
push str.move_patched_files_failed:__d
mov ecx, 0x548980
call fcn.004dfa90
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x454]
pop ebp
pop ebx
xor ecx, esp
call fcn.004ea83a
add esp, 0x450
ret 4
Function at 0x4444d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50e468
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x78], 0
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push edx
push ecx
push str.__s___apply___s____s____s_
lea edi, [esp + 0x20]
call fcn.004190d0
push 0x40
lea edx, [esp + 0x40]
push 0
push edx
mov dword [esp + 0x44], 0x44
call fcn.004f08c0
mov esi, dword [esp + 0x2c]
xor eax, eax
mov word [esp + 0x74], ax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], 1
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
add esp, 0x20
or ecx, eax
jge 0x4445a1
xor ecx, ecx
mov eax, edi
call fcn.00407670
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ec7bd
add esp, 8
test eax, eax
jl 0x4446d7
cmp eax, dword [esi - 8]
jg 0x4446d7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x444640
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.cannot_run_patch.exe:__d
mov ecx, 0x548980
call fcn.004dfa90
lea eax, [esi - 0x10]
add esp, 8
mov dword [esp + 0x78], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44462a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x70
ret 0x10
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
push ecx
push str.patch.exe_exit_with_code:__d
mov ecx, 0x548980
call fcn.004dfa90
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
xor ecx, ecx
cmp dword [esp + 0x10], ecx
lea eax, [esi - 0x10]
sete cl
mov dword [esp + 0x78], 0xffffffff
lea edx, [eax + 0xc]
mov edi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4446c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x70
ret 0x10
push 0x80070057
call fcn.00402a90
int3
Function at 0x445930
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5120f1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x53c1a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], edx
mov dword [ebp - 0x34], eax
mov word [eax + 4], dx
mov eax, 1
push ecx
push str.SELECT_setting_value_FROM_settings_WHERE_setting_key__
lea edi, [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
call fcn.00408920
add esp, 8
push eax
mov ebx, 0x51bf6c
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00427b50
add esp, 4
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x58], esi
jb 0x4459c8
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004ea82f
add esp, 4
mov ebx, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], cx
cmp dword [ebp - 0x18], esi
jae 0x4459e7
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x54]
push edx
add eax, 4
call fcn.004475c0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4c], 0
jne 0x445a1f
push 0x3e8
mov eax, str.Null_Virtual_Machine_pointer
lea esi, [ebp - 0x7c]
call fcn.00447130
push 0x52e900
mov eax, esi
push eax
call fcn.004f0bbb
cmp byte [ebp - 0x48], 0
jne 0x445ace
lea eax, [ebp - 0x54]
call fcn.00447930
cmp eax, 5
jne 0x445a3d
mov eax, 0x51c07c
jmp 0x445aac
mov eax, dword [ebp - 0x4c]
mov esi, eax
mov ebx, eax
test eax, eax
je 0x445a95
cmp dword [eax + 0x14], 0
lea edi, [eax + 0x14]
je 0x445a70
xor ecx, ecx
cmp cx, word [eax + 0x30]
jae 0x445a70
mov edx, dword [eax]
mov eax, dword [edx + 0x44]
test eax, eax
je 0x445a6c
push eax
call dword [0x53e6cc]
add esp, 4
mov edi, dword [edi]
jmp 0x445a9a
mov eax, dword [eax]
test eax, eax
je 0x445a95
mov eax, dword [eax + 0x44]
test eax, eax
je 0x445a87
push eax
call dword [0x53e6cc]
add esp, 4
mov eax, dword [ebx]
push 0
push 0x19
call fcn.0044c910
add esp, 8
mov edi, 0x518538
mov bl, 2
call fcn.004644b0
mov edi, esi
mov ebx, eax
call fcn.004688a0
mov eax, ebx
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x445ab1
sub ecx, esi
mov esi, dword [ebp - 0x34]
sar ecx, 1
push ecx
call fcn.00408a10
mov esi, 8
lea eax, [ebp - 0x54]
call fcn.004479b0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00447850
cmp dword [ebp - 0x18], esi
jb 0x445af3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ea82f
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ea83a
mov esp, ebp
pop ebp
ret 8
Function at 0x445b30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x445b53
mov eax, dword [ebp - 4]
jmp 0x445c2f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x445c0a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51ba98]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51ba98]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51ba98]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51ba98]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51ba98]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51ba98]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51ba98]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x51ba98]
dec ebp
jne 0x445b74
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x445c26
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x51ba98]
dec ecx
jne 0x445c14
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446f20
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [edx]
push ebx
push ebp
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor edx, esi
rol edx, 1
mov esi, edx
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x548428
mov edi, edx
mov dword [esp + 0x10], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x5440f8]
or edx, dword [ebx*4 + 0x5442f8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x5444f8]
and eax, 0x3f
or edx, dword [eax*4 + 0x5446f8]
mov eax, dword [ecx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5441f8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5443f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5445f8]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5447f8]
add ecx, 4
or ebx, edx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x5440f8]
or edx, dword [ebx*4 + 0x5442f8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x5444f8]
and eax, 0x3f
or edx, dword [eax*4 + 0x5446f8]
mov eax, dword [ecx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5441f8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5443f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5445f8]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5447f8]
add ecx, 4
or ebx, edx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x446fa0
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [esp + 0x18]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret

Function at 0x44d980
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x44d9ad
push esi
push edi
jmp 0x44d990
movzx esi, byte [edx]
movzx esi, byte [esi + 0x517de8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x44d990
pop edi
pop esi
ret