joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ffa0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x68], esi
cmp dword [edi + 0x10], esi
je 0x40fff3
cmp dword [edi + 0x14], 8
jb 0x40ffdd
mov eax, dword [edi]
jmp 0x40ffdf
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x41017e
cmp byte [edi + 0x134], 0
je 0x410070
cmp dword [edi + 0x128], esi
je 0x410070
call fcn.00412e60
mov ecx, edi
cmp eax, 1
je 0x410040
push 9
push str.C:Users_
call fcn.0040a780
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0x118]
push ecx
mov ecx, eax
call fcn.0040a950
push 0xe
push str.AppDataLocal
mov ecx, eax
call fcn.0040a780
jmp 0x41017e
push 0x1a
push str.C:Documents_and_Settings_
call fcn.0040a780
push 0xffffffffffffffff
push esi
lea edx, [edi + 0x118]
push edx
mov ecx, eax
call fcn.0040a950
push 0x20
push str.Local_SettingsApplication_Data
mov ecx, eax
call fcn.0040a780
jmp 0x41017e
push 0xd
xor eax, eax
push str.Local_AppData
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
call fcn.00403600
mov dword [ebp - 4], esi
xor ecx, ecx
push 0x40
mov word [ebp - 0x2c], cx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.00403600
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x68], reloc.WS2_32.dll_accept
call fcn.004103e0
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4100f0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x410115
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x410141
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [edi + 0x10], 0
ja 0x41017c
push 0x654310
lea esi, [ebp - 0x48]
call fcn.00410b00
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00402260
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x41017c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor esi, esi
push 0xffffffffffffffff
push esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.00403240
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x4101c0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643c70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x1c]
mov dword [ebp - 0x68], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x6c], esi
je 0x410233
cmp dword [edi + 0x14], 8
jb 0x410209
mov eax, dword [edi]
jmp 0x41020b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x410233
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
jmp 0x4103ab
cmp byte [esi + 0x134], 0
je 0x410286
cmp dword [esi + 0x128], 0
je 0x410286
call fcn.00412e60
cmp eax, 1
je 0x410398
push 9
push str.C:Users_
mov ecx, edi
call fcn.0040a780
push 0xffffffffffffffff
push 0
add esi, 0x118
push esi
mov ecx, eax
call fcn.0040a950
push 0x11
push str.AppDataLocalLow
mov ecx, eax
call fcn.0040a780
jmp 0x410398
xor ecx, ecx
push 0x26
mov word [ebp - 0x64], cx
mov esi, 7
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
call fcn.00403600
xor eax, eax
mov dword [ebp - 4], eax
push 0x40
xor edx, edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
call fcn.00403600
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x68], reloc.WS2_32.dll_accept
call fcn.004103e0
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x410309
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x41032e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], esi
jb 0x41035a
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x2c], 0
ja 0x410398
push 0x654320
lea esi, [ebp - 0x48]
call fcn.00410b00
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00402260
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x410398
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], dx
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.00403240
mov eax, ebx
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x410540
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646256
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6c3afc]
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, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0xb8], 0
lea edi, [esi + 0xa8]
mov dword [ebp - 0x254], 0
je 0x4105ac
cmp dword [edi + 0x14], 8
jb 0x410596
mov eax, dword [edi]
jmp 0x410598
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x41071c
cmp byte [esi + 0x134], 0
je 0x41062c
cmp dword [esi + 0x128], 0
je 0x41062c
call fcn.00412e60
mov ecx, edi
cmp eax, 1
je 0x4105fb
push 9
push str.C:Users_
call fcn.0040a780
push 0xffffffffffffffff
push 0
add esi, 0x118
push esi
mov ecx, eax
call fcn.0040a950
push 0x13
push str.AppDataLocalTemp
mov ecx, eax
call fcn.0040a780
jmp 0x41071c
push 0x1a
push str.C:Documents_and_Settings_
call fcn.0040a780
push 0xffffffffffffffff
push 0
add esi, 0x118
push esi
mov ecx, eax
call fcn.0040a950
push 0x14
push str.Local_SettingsTemp
mov ecx, eax
call fcn.0040a780
jmp 0x41071c
lea ecx, [ebp - 0x250]
call fcn.00410760
push eax
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 4], 0
call fcn.00401450
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00402260
cmp dword [ebp - 0x220], 8
jb 0x410672
mov edx, dword [ebp - 0x234]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], 0x10
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
jb 0x4106ae
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [esi + 0xb8], 0
jne 0x41071c
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.005de050
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41071c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4106f4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, edi
call fcn.00403600
mov eax, 0x5c
call fcn.00401880
push 0xffffffffffffffff
push 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.00403240
mov eax, ebx
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.005dd8e2
mov esp, ebp
pop ebp
ret 4
Function at 0x410d10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6456f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edi
mov esi, 0x32
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x30
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x31
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x38
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.0040ebf0
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410e20
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.00403600
cmp ebx, edi
je 0x410e45
push ebx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6c3afc]
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 edi, dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x68], esp
push 5
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x68f468
mov dword [ebp - 0x6c], edi
mov word [ecx], ax
call fcn.00403600
lea esi, [ebp - 0x2c]
call fcn.00411220
add esp, 0x1c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x410fff
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x410f60
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x410fff
push esi
push ebx
push 0x68f474
lea ecx, [ebp - 0x2c]
call fcn.00402580
cmp eax, 0xffffffff
je 0x410fc5
push eax
push ebx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402260
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x410fb7
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
push esi
push 0x68f474
lea ecx, [ebp - 0x2c]
call fcn.0040a780
lea eax, [ebp - 0x2c]
push 0x5c
push eax
call fcn.004017c0
xor ecx, ecx
add esp, 8
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
lea edx, [ebp - 0x2c]
mov word [edi], cx
push edx
mov ecx, edi
call fcn.00402260
cmp dword [ebp - 0x18], esi
jb 0x4110af
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x4110a7
mov edi, dword [0x6cdf14]
cmp edi, ebx
jne 0x411037
push 0x154
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41102a
mov esi, eax
call fcn.0040fcc0
jmp 0x41102c
xor eax, eax
mov edi, eax
mov byte [ebp - 4], bl
mov dword [0x6cdf14], edi
lea ebx, [ebp - 0x48]
call fcn.0040ffa0
push 1
push 0x688728
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0040a780
push 8
push 0x68f474
mov ecx, ebx
call fcn.0040a780
mov edi, dword [ebp - 0x6c]
xor ecx, ecx
mov ebx, 7
xor esi, esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], esi
lea edx, [ebp - 0x48]
mov word [edi], cx
push edx
mov ecx, edi
call fcn.00402260
cmp dword [ebp - 0x34], 8
jb 0x411091
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
jb 0x4110af
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
mov eax, edi
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x411d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6470e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6c3afc]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 8], 0x6888f4
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], cx
lea ecx, [esp + 8]
mov dword [esp + 0x38], eax
call fcn.0040c390
lea ecx, [esp + 8]
call fcn.0040c510
cmp dword [esp + 0x20], 8
mov esi, eax
mov dword [esp + 8], 0x6888f4
jb 0x411dc8
mov edx, dword [esp + 0xc]
push edx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret

Function at 0x412e60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00412f50
test al, al
je 0x412e8f
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005de050
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x412ed8
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x412ee8
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x412eda
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x412ed8
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x412f0a
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x412f22
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x412ed8
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 4
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x413040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64912c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], 0x68f868
mov byte [esi + 4], bl
mov eax, 0xf
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
mov dword [ebp - 0x4c], esi
mov byte [esi + 8], bl
mov dword [ebp - 4], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x5c], 0x68f894
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], ebx
mov byte [esi + 0x64], bl
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], ebx
mov byte [esi + 0x80], bl
mov dword [esi + 0x60], ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004110d0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
je 0x4130f1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4130e1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x4130fd
lea eax, [ebp - 0x2c]
push eax
call fcn.00407640
add esp, 4
push 0xb
push 0x68f748
lea ecx, [ebp - 0x2c]
call fcn.0040a780
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004cb1f0
add esp, 8
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 5
call fcn.00403740
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], 0x10
jb 0x41313f
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
push 5
push str.kantu
lea ecx, [esi + 0x40]
call fcn.00403c90
push 5
push str.kantu
lea ecx, [esi + 8]
call fcn.00403c90
cmp dword [ebp - 0x18], 8
jb 0x41316f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x413880
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6495f6
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.005e0550
mov eax, dword [0x6c3afc]
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 esi, ecx
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x1030], eax
cmp byte [esi + 4], bl
jne 0x4138d4
push esi
call fcn.00413260
cmp al, bl
je 0x4139f5
push 0xfff
lea ecx, [ebp - 0x100f]
push ebx
push ecx
mov byte [ebp - 0x1010], bl
call fcn.005de050
mov ecx, 0x10
add esp, 0xc
cmp dword [edi + 0x14], ecx
jb 0x4138fb
mov edi, dword [edi]
cmp dword [esi + 0x54], ecx
lea eax, [esi + 0x40]
jb 0x413905
mov eax, dword [eax]
push edi
push eax
push str.SELECT__FROM__s_WHERE_key_s
lea edx, [ebp - 0x1010]
push 0x1000
push edx
call fcn.005de363
lea eax, [ebp - 0x1010]
add esp, 0x14
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413940
sub eax, edx
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00403c90
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1044], ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x103c], ebx
mov dword [ebp - 0x1034], ebx
add esi, 0x5c
push esi
lea eax, [ebp - 0x1044]
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.00415450
mov ecx, dword [ebp - 0x1040]
mov eax, dword [ebp - 0x1044]
mov edx, ecx
sub edx, eax
and edx, 0xfffffff0
mov esi, 0x10
cmp edx, esi
je 0x4139f9
cmp eax, ebx
je 0x4139cc
mov edx, dword [ebp - 0x1030]
push edx
push ecx
call fcn.00413be0
mov eax, dword [ebp - 0x1044]
push eax
call fcn.004effaf
add esp, 0xc
mov dword [ebp - 0x1044], ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x103c], ebx
cmp dword [ebp - 0x1018], esi
jb 0x4139f5
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.004effaf
add esp, 4
xor al, al
jmp 0x413a64
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1030]
push 0xffffffffffffffff
push ebx
add edx, 0x1c
push edx
call fcn.004038b0
mov eax, dword [ebp - 0x1044]
cmp eax, ebx
je 0x413a39
mov ecx, dword [ebp - 0x1030]
mov edx, dword [ebp - 0x1040]
push ecx
push edx
call fcn.00413be0
mov eax, dword [ebp - 0x1044]
push eax
call fcn.004effaf
add esp, 0xc
mov dword [ebp - 0x1044], ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x103c], ebx
cmp dword [ebp - 0x1018], esi
jb 0x413a62
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.004effaf
add esp, 4
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.005dd8e2
mov esp, ebp
pop ebp
ret 4
Function at 0x4144a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6470b1
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x6c3afc]
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 esi, ecx
lea ecx, [esi + 0x54]
push ecx
lea edx, [ebp - 0x9c]
xor ebx, ebx
push edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], ebx
call fcn.004cb1f0
mov dword [ebp - 0x144], eax
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp - 4], ebx
call fcn.004cb1f0
mov dword [ebp - 0x14c], eax
lea edx, [esi + 0x1c]
push edx
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 1
call fcn.004cb1f0
mov edi, eax
lea ecx, [ebp - 0x64]
push esi
push ecx
mov byte [ebp - 4], 2
call fcn.004cb1f0
add esp, 0x20
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004146e0
mov ecx, eax
mov eax, dword [ebp - 0x14c]
lea edi, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004146e0
mov ecx, eax
mov eax, dword [ebp - 0x144]
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004146e0
mov edi, 0x10
cmp dword [ebp - 0x6c], edi
jb 0x414585
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], edi
jb 0x4145a4
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0x4145be
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0xc0], edi
jb 0x4145de
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0xa4], edi
jb 0x414607
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x88], edi
jb 0x414634
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 0xd8], bl
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x140], 0x67452301
mov dword [ebp - 0x13c], 0xefcdab89
mov dword [ebp - 0x138], 0x98badcfe
mov dword [ebp - 0x134], 0x10325476
cmp dword [ebp - 0x18], edi
jae 0x41468b
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x140]
call fcn.0040eee0
mov esi, dword [ebp - 0x148]
push esi
lea ecx, [ebp - 0x140]
call fcn.0040f870
cmp dword [ebp - 0x18], edi
jb 0x4146bd
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
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.005dd8e2
mov esp, ebp
pop ebp
ret 4