joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.00416db0
test al, al
jne 0x416ba0
mov esi, 1
mov eax, esi
mov edx, 0x57
lea ebx, [ebx]
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x416b90
mov dword [0x578ad4], ecx
mov eax, dword [ebp + 8]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416bca
pop edi
xor al, al
pop esi
pop ebp
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [0x578ad4]
imul eax, eax
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 5
jne 0x416c38
lea eax, [ecx + 0x2e]
mov esi, 0x15
lea esp, [esp]
test esi, esi
je 0x416c31
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x416c20
add eax, esi
mov dword [0x578ad4], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
pop ebp
ret

Function at 0x417130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x577680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x5f005f
mov dword [ebp - 0x44], 0x520043
mov dword [ebp - 0x40], 0x40005f
mov dword [ebp - 0x3c], 0x410046
mov dword [ebp - 0x38], 0x4c0049
mov dword [ebp - 0x34], 0x440045
mov dword [ebp - 0x30], 0x44005f
mov dword [ebp - 0x2c], 0x57004f
mov dword [ebp - 0x28], 0x4c004e
mov dword [ebp - 0x24], 0x41004f
mov dword [ebp - 0x20], 0x5f0044
mov dword [ebp - 0x1c], 0x450052
mov dword [ebp - 0x18], 0x440041
mov dword [ebp - 0x14], 0x5f0040
mov dword [ebp - 0x10], 0x520043
mov dword [ebp - 0xc], 0x5f005f
mov word [ebp - 8], ax
call fcn.00417200
test al, al
jne 0x4171d6
call fcn.004f1791
mov dword [0x578ad4], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.00401c30
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f0cd4
mov esp, ebp
pop ebp
ret
Function at 0x4176b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx], eax
je 0x4177de
push esi
mov esi, dword [0x578ad4]
push edi
mov dword [ebp + 8], eax
xor edi, edi
mov edi, edi
call fcn.00468640
test al, al
jne 0x4176fd
push 4
call fcn.004f04fa
mov esi, eax
call fcn.004f1791
mov dword [esi], eax
push esi
mov dword [0x578ad4], eax
call fcn.004f03fe
mov esi, dword [0x578ad4]
add esp, 8
mov eax, dword [ebx]
add eax, edi
cmp dword [eax + 8], 0
je 0x4177da
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 4], ecx
jne 0x417736
push dword [ebp + 0xc]
push eax
call fcn.00402900
add esp, 8
test al, al
je 0x417730
mov eax, dword [ebx]
cmp dword [eax + edi + 8], 0
jne 0x4177e1
mov esi, dword [0x578ad4]
call fcn.0041bbf0
test al, al
jne 0x4177c8
xor edx, edx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x417745
mov dword [0x578ad4], esi
inc dword [ebp + 8]
add edi, 0xc
cmp edi, 0x3000
jl 0x4176d0
pop edi
xor eax, eax
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
pop esi
mov eax, dword [eax + ecx*4 + 8]
pop ebx
pop ebp
ret
Function at 0x41ee50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513608
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x577680]
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 ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x41ef81
cmp byte [ebx + 0x46], 0
je 0x41ef81
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x41eeaf
xor al, al
jmp 0x41ef83
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41ef1a
dec eax
je 0x41ef1e
sub eax, 2
je 0x41ef6a
xor bl, bl
jmp 0x41ef6c
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
sub esi, eax
je 0x41ef50
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [ebp - 0x28]
cmovae eax, edx
push 1
push eax
call fcn.004f3b8e
add esp, 0x10
cmp esi, eax
jne 0x41ef16
cmp byte [ebx + 0x46], 0
je 0x41ef6a
test esi, esi
jne 0x41eee0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041fb40
jmp 0x41eee0
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x41ef7d
push dword [ebp - 0x28]
call fcn.004f03fe
add esp, 4
mov al, bl
jmp 0x41ef83
mov al, 1
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.004f0cd4
mov esp, ebp
pop ebp
ret
Function at 0x424a70
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x577680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x578ad4]
mov eax, esi
imul eax, esi
imul eax, esi
mov ebx, ecx
cdq
mov ecx, 0xe
idiv ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x19c], edi
cmp edx, 0xb
jne 0x424ad6
xor edi, edi
test esi, esi
je 0x424aca
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x424ab8
mov dword [0x578ad4], edi
mov edi, dword [ebp - 0x19c]
mov dword [ebp - 0x190], 0
call fcn.00425060
test al, al
jne 0x424b0b
mov eax, 0x1a
mov esi, 0xc5
test esi, esi
je 0x424b04
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x424af3
add eax, esi
mov dword [0x578ad4], eax
lea eax, [ebp - 0x190]
push eax
push edi
mov ecx, ebx
call fcn.004248b0
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
jne 0x424ba5
call fcn.00425030
test al, al
jne 0x424b90
movd xmm4, dword [0x578ad4]
movsd xmm3, qword [0x52a190]
movsd xmm6, qword [0x52a198]
movsd xmm5, qword [0x52a188]
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
jmp 0x424b60
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x424b7a
subsd xmm2, xmm3
divsd xmm3, xmm6
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm5
ja 0x424b60
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f0cd4
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x424bb0
push dword [ebp - 0x190]
inc eax
push 0x424f70
mov edi, 5
mov dword [ebp - 0x198], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x424ca9
mov edx, dword [0x578ad4]
lea eax, [edx + 2]
lea ecx, [edx + 1]
imul eax, ecx
imul eax, edx
cdq
idiv edi
cmp edx, 2
jne 0x424c01
dec dword [0x579634]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [0x578ad4]
mov edi, eax
lea eax, [ebx + 1]
imul eax, ebx
cdq
mov ecx, 0xd
idiv ecx
mov dword [ebp - 0x1a4], edi
cmp edx, 0xa
jne 0x424c43
xor esi, esi
mov edi, ebx
nop
inc esi
dec edi
cmp esi, 0x62
jb 0x424c30
mov esi, dword [ebp - 0x194]
mov edi, dword [ebp - 0x1a4]
mov ebx, dword [ebp - 0x1a0]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x198], 5
jge 0x424c8e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x19c]
mov ecx, ebx
call fcn.004248b0
mov esi, eax
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x198]
test esi, esi
jne 0x424bb0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp edi, 1
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.004f0cd4
mov esp, ebp
pop ebp
ret 4
mov edi, 1
jmp 0x424c49
Function at 0x427720
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513f38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x577680]
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 + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], eax
call fcn.00427aa0
test al, al
jne 0x427798
xor ecx, ecx
lea edi, [ebp - 0x5c]
mov edi, edi
mov eax, dword [0x578ad4]
cdq
lea esi, [ecx + 1]
idiv esi
sub eax, ecx
push eax
push 0x52a4e0
call fcn.004f20c4
mov ecx, esi
add esp, 8
lea edi, [edi + 4]
cmp ecx, 0x13
jl 0x427770
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x70]
push 0x2011f
push dword [eax]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.0040faa0
mov esi, dword [ebp - 0x68]
test eax, eax
jne 0x427808
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4277f3
call fcn.00427ad0
test al, al
jne 0x4277e2
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x427808
mov bl, 1
jmp 0x42780a
push dword [edi]
lea ecx, [ebp - 0x68]
call fcn.0040fbd0
mov esi, dword [ebp - 0x68]
test eax, eax
jne 0x427808
mov bl, 1
jmp 0x42780a
xor bl, bl
test esi, esi
je 0x427815
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.004f0cd4
mov esp, ebp
pop ebp
ret

Function at 0x427b00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0x2011f
push 0
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427b27
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2011f
push 0
push 0
push 0
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427b21
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x427b21
push str.SHCopyKeyW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427b21
push 0
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call eax
push 0x52e4a0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x427b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513f98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x577680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push 0
push 0
push 0x2001f
push 0x100
push 0
push dword [esi]
lea ecx, [ebp - 0x18]
push edi
mov dword [ebp - 4], 0
call fcn.0040d2c0
test eax, eax
je 0x427c25
push 0
push 0
push 0x2001f
push 0
push 0
push dword [esi]
lea ecx, [ebp - 0x18]
push edi
call fcn.0040d2c0
test eax, eax
je 0x427c25
mov esi, dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x427cd3
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edx, edx
jne 0x427c3d
mov ebx, 0xd
jmp 0x427c68
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427c42
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov edi, dword [0x578ad4]
lea ecx, [edi + 2]
lea eax, [edi + 1]
imul eax, ecx
imul eax, edi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 7
jne 0x427cbf
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub edi, eax
xor ecx, ecx
lea eax, [edi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ef820
push eax
call fcn.004f0683
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x427cce
push esi
call edi
xor esi, esi
test ebx, ebx
sete bl
test esi, esi
je 0x427cda
push esi
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443340
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor edi, edi
call fcn.004430f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x44335f
lea eax, [edi + 7]
pop edi
pop esi
pop ebp
ret
push ebx
call fcn.004431a0
push esi
test eax, eax
je 0x4433a1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x4433d9
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4433d9
mov eax, edi
inc edi
cmp eax, 3
jge 0x4433d9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
je 0x443376
jmp 0x4433d9
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
jne 0x4433d9
lea ecx, [ecx]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4433d9
mov eax, edi
inc edi
cmp eax, 3
jge 0x4433d9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
je 0x4433b0
push esi
call fcn.00442730
add esp, 4
xor ecx, ecx
test ebx, ebx
pop ebx
mov eax, 0xa
pop edi
cmovne eax, ecx
pop esi
pop ebp
ret
Function at 0x4434a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.004430f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4434bb
lea eax, [esi + 7]
pop esi
pop ebp
ret
push ebx
call fcn.004431a0
push esi
test eax, eax
je 0x4434ce
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4434d4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.00442730
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x4435c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4435d0
xor eax, eax
pop esi
pop ebp
ret
call fcn.004431a0
test eax, eax
jne 0x4435f1
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4435e0
sub ecx, edx
cmp ecx, 0x104
ja 0x4435cb
push esi
call fcn.004430f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x443606
lea eax, [esi + 7]
pop esi
pop ebp
ret
push ebx
call fcn.004431a0
push esi
test eax, eax
je 0x443619
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x44361f
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call fcn.00442730
add esp, 4
cmp ebx, 0xffffffff
jne 0x443635
pop ebx
xor eax, eax
pop esi
pop ebp
ret
movsx eax, bl
and eax, 0x10
pop ebx
shr eax, 4
pop esi
pop ebp
ret
Function at 0x443900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x577680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x579850]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x44393f
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004f3f20
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x4439ca
call fcn.004431a0
test eax, eax
je 0x443984
lea eax, [ebp - 0x3a8]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3a8]
push eax
call fcn.00443c40
mov esi, eax
add esp, 4
test esi, esi
jne 0x4439ab
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f0cd4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x274]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x274]
push eax
call fcn.00443270
mov esi, eax
add esp, 4
test esi, esi
je 0x44396f
push 0x118
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.004f3f20
push esi
mov byte [ebp - 0x24], 0
call fcn.00442730
add esp, 0x10
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4439d3
sub ecx, edx
test ecx, ecx
jle 0x4439f2
lea eax, [ebp - 0x13c]
cmp byte [eax + ecx - 1], 0x5c
jne 0x4439f2
dec ecx
test ecx, ecx
jg 0x4439e6
cmp ecx, 0x136
jae 0x443ade
push ebx
mov byte [ebp + ecx - 0x13c], 0
mov ebx, 0x3e
lea esp, [esp]
lea eax, [ebp - 0x13c]
push eax
push str._setilqs_
push edi
call fcn.004f5e5f
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x443a30
sub esi, ecx
lea eax, [edi + esi]
push eax
push 0xf
call fcn.0044c0a0
add esp, 8
mov ecx, 3
lea esp, [esp]
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
lea esi, [esi + 5]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], al
movzx eax, byte [edi + esi - 4]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], al
movzx eax, byte [edi + esi - 2]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
dec ecx
jne 0x443a50
push edi
mov byte [edi + esi], cl
call fcn.004434a0
add esp, 4
test eax, eax
jne 0x443a10
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004f0cd4
mov esp, ebp
pop ebp
ret
call fcn.004f6448
int3
Function at 0x443af0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x57984c], 0
push esi
jne 0x443b30
call fcn.00443490
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
mov dword [0x579854], esi
cmp esi, 0xffffffff
jne 0x443b1f
call fcn.00443650
xor eax, eax
pop esi
pop ebp
ret
mov dword [0x57984c], 1
call fcn.00443650
jmp 0x443b36
mov esi, dword [0x579854]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x443b80
test esi, esi
jne 0x443bc1
push 0xc
call fcn.004432b0
mov esi, eax
add esp, 4
test esi, esi
je 0x443bc1
movq xmm0, qword [0x52e464]
movq qword [esi], xmm0
mov eax, dword [0x52e46c]
push esi
push dword [0x579854]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
pop ebp
ret
test esi, esi
je 0x443bc1
test eax, eax
jns 0x443bc1
mov eax, dword [esi]
cmp eax, dword [0x52e464]
jne 0x443bc1
mov eax, dword [esi + 4]
cmp eax, dword [0x52e468]
jne 0x443bc1
mov eax, dword [esi + 8]
cmp eax, dword [0x52e46c]
jne 0x443bc1
push esi
call fcn.004432a0
add esp, 4
push 0
push dword [0x579854]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x450770
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 2
jge 0x450784
mov eax, 0x17
pop edi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
push esi
movzx eax, byte [ebx + edi - 1]
movzx ecx, byte [ebx]
movzx eax, byte [eax + 0x531b48]
movzx ecx, byte [ecx + 0x531b48]
lea eax, [eax + eax*2]
shl ecx, 2
xor eax, ecx
xor eax, edi
cdq
mov ecx, 0x7f
idiv ecx
movzx esi, byte [edx + str.Pk_]
dec esi
js 0x4507f1
jmp 0x4507c0
movzx eax, byte [esi + 0x5315b8]
cmp eax, edi
jne 0x4507e7
movzx eax, word [esi*2 + 0x531630]
push edi
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHEREVIRTUAL
push ebx
push eax
call fcn.00453f10
add esp, 0xc
test eax, eax
je 0x4507fb
movzx esi, byte [esi + 0x531540]
dec esi
jns 0x4507c0
pop esi
pop ebx
mov eax, 0x17
pop edi
pop ebp
ret
movzx eax, byte [esi + 0x531720]
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x450820
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00450770