joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10f36d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1108038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test edi, edi
je 0x10f37f3
test esi, esi
je 0x10f37f3
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10f3700
sub ecx, edx
xor eax, eax
sar ecx, 1
je 0x10f37f5
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.010f9f30
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x10f376f
cmp dword [0x1108f08], 3
jne 0x10f376f
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [0x1102020]
push 0x110699c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010f64eb
add esp, 0xc
jmp 0x10f3781
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [0x110201c]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010f64eb
push 0x11069a0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], 0
call fcn.010f66e2
mov eax, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x10f37f3
push eax
push 1
push 0x200
push edi
call fcn.010f69b4
push dword [ebp - 0x210]
call fcn.010f6acc
add esp, 0x14
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010f634a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.010f634a
mov esp, ebp
pop ebp
ret

Function at 0x10f38b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1108038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor edx, edx
jmp 0x10f38d0
not byte [esi + edx]
inc edx
cmp edx, 0x200
jb 0x10f38d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.010f9f30
add esp, 0xc
mov dword [ebp - 0x214], 0
test esi, esi
je 0x10f3985
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [0x110201c]
push 0x1106980
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.010f64eb
push 0x11069c0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.010f66e2
mov eax, dword [ebp - 0x214]
add esp, 0x18
test eax, eax
je 0x10f3971
push eax
push 1
push 0x200
push esi
call fcn.010f6c9a
push dword [ebp - 0x214]
call fcn.010f6acc
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010f634a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.010f634a
mov esp, ebp
pop ebp
ret
Function at 0x10f4bd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1108038]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x1106aac
push ecx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
call fcn.010f66e2
add esp, 0xc
test eax, eax
je 0x10f4c15
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010f634a
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push dword [ebp - 8]
call fcn.010f74b0
push dword [ebp - 8]
call fcn.010f7888
push 0
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.010f74b0
lea eax, [edi + esi]
push eax
mov dword [ebp - 0x10], eax
call fcn.010f7357
push dword [ebp - 8]
mov ebx, eax
push 1
push esi
push ebx
mov dword [ebp - 0x14], ebx
call fcn.010f69b4
push dword [ebp - 8]
call fcn.010f6acc
push edi
add ebx, esi
push 0
push ebx
call fcn.010f9f30
mov eax, edi
cdq
and edx, 3
add esp, 0x40
lea edi, [edx + eax]
sar edi, 2
call dword [0x110202c]
push eax
call fcn.010f7913
add esp, 4
xor esi, esi
test edi, edi
jle 0x10f4c9d
lea ecx, [ecx]
call fcn.010f78f0
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jl 0x10f4c90
push 0x1106ab4
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.010f66e2
add esp, 0xc
test eax, eax
je 0x10f4cc8
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010f634a
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push esi
call fcn.010f6c9a
push dword [ebp - 8]
call fcn.010f6acc
add esp, 0x14
test esi, esi
je 0x10f4cf1
push esi
call fcn.010f73e9
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov eax, 1
pop edi
call fcn.010f634a
mov esp, ebp
pop ebp
ret
Function at 0x10f4d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x1108038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.010f9f30
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.010f9f30
push 0x103
lea eax, [ebp - 0x30f]
push 0
push eax
mov byte [ebp - 0x310], 0
call fcn.010f9f30
mov ax, word [0x1106ac4]
movq xmm0, qword [0x1106abc]
mov word [ebp - 0x31c], ax
mov al, byte [0x1106ac6]
add esp, 0x24
mov byte [ebp - 0x31a], al
lea eax, [ebp - 0x20c]
movq qword [ebp - 0x324], xmm0
push eax
xorps xmm0, xmm0
push 0x104
movq qword [ebp - 0x319], xmm0
mov byte [ebp - 0x311], 0
call dword [0x1102040]
lea edx, [ebp - 0x324]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x10f4dd0
push edi
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10f4de1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x104
lea eax, [ebp - 0x108]
mov ecx, edx
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [0x1102044]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.010f7923
lea eax, [ebp - 0x310]
push 0x5c
push eax
call fcn.010f7220
add esp, 0x14
pop edi
test eax, eax
je 0x10f4e3c
mov byte [eax], 0
lea eax, [ebp - 0x20c]
push 0x1106ac8
push eax
call fcn.010f7a3c
mov esi, eax
add esp, 8
test esi, esi
je 0x10f4f9e
push esi
push 1
push 9
push 0x1106acc
call fcn.010f6c9a
push esi
push 1
push 5
push 0x1106ad8
call fcn.010f6c9a
lea ecx, [ebp - 0x108]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10f4e84
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.010f6c9a
push esi
push 1
push 2
push 0x1106ae0
call fcn.010f6c9a
push esi
push 1
push 0xa
push 0x1106ae4
call fcn.010f6c9a
lea ecx, [ebp - 0x108]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10f4ec7
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.010f6c9a
push esi
push 1
push 0xf
push 0x1106af0
call fcn.010f6c9a
push esi
push 1
push 7
push 0x1106b00
call fcn.010f6c9a
lea ecx, [ebp - 0x310]
add esp, 0x30
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10f4f10
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x310]
push eax
call fcn.010f6c9a
push esi
push 1
push 3
push 0x1106b08
call fcn.010f6c9a
push esi
push 1
push 5
push 0x1106b0c
call fcn.010f6c9a
lea ecx, [ebp - 0x20c]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10f4f53
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.010f6c9a
push esi
push 1
push 1
push 0x1106b14
call fcn.010f6c9a
push esi
call fcn.010f6acc
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push eax
push 0x1106b18
push 0
call dword [0x1102164]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010f634a
mov esp, ebp
pop ebp
ret
Function at 0x10f6220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.010fd130
mov eax, dword [0x1108038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 4
mov esi, ecx
lea eax, [ebp - 0x1008]
push eax
push dword [esi]
mov ebx, edx
mov dword [ebp - 0x100c], esi
call dword [0x11021d4]
cmp eax, 4
je 0x10f6270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010f634a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], edi
jbe 0x10f62c0
jmp 0x10f6280
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [esi]
call dword [0x11021d4]
mov esi, eax
test esi, esi
je 0x10f62c0
push dword [ebx]
lea eax, [ebp - 0x1004]
push esi
push 1
push eax
call fcn.010f6c9a
add edi, esi
mov esi, dword [ebp - 0x100c]
add esp, 0x10
cmp edi, dword [ebp - 0x1008]
jb 0x10f6280
push dword [ebx]
call fcn.010f6acc
mov ecx, dword [ebp - 4]
add esp, 4
cmp edi, dword [ebp - 0x1008]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.010f634a
mov esp, ebp
pop ebp
ret
Function at 0x401007
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00409e60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ebx, dword [edi]
xor esi, esi
cmp dword [0x2af9a94], 0x594
mov dword [ebp - 0xc], eax
jne 0x40103f
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x423ee8]
mov dword [ebp - 0x34], eax
mov eax, dword [0x423eec]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x423ef0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x423ef4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2af9a94], 0xc
mov dword [ebp - 4], eax
jne 0x4010dc
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosw word es:[edi], ax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1040]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x2af9a94]
cmp eax, 0xfa9
jne 0x4010f8
mov dword [0x2af9a90], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401113
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2af9444], esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
add eax, ebx
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x2af9a8c], 0xf4ea3dee
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
shr eax, cl
add eax, dword [ebp - 0x28]
mov ecx, eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], ecx
sub ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x40107f
mov eax, dword [ebp - 0xc]
mov dword [edi], ebx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x405d5f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423400]
jne 0x405d69
repz ret
jmp fcn.00409370

Function at 0x4075ee
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404451
and dword [ebp - 4], 0
cmp dword [0x425efc], 0
mov ebx, eax
jne 0x40769f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407750
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407750
push eax
call fcn.004043df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425efc], eax
call esi
push eax
call fcn.004043df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425f00], eax
call esi
push eax
call fcn.004043df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425f04], eax
call esi
push eax
call fcn.004043df
pop ecx
mov dword [0x425f0c], eax
test eax, eax
je 0x40769f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004043df
pop ecx
mov dword [0x425f08], eax
mov eax, dword [0x425f08]
cmp eax, ebx
je 0x4076f7
cmp dword [0x425f0c], ebx
je 0x4076f7
push eax
call fcn.0040445a
push dword [0x425f0c]
mov esi, eax
call fcn.0040445a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4076f7
test edi, edi
je 0x4076f7
call esi
test eax, eax
je 0x4076ee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4076ee
test byte [ebp - 0xc], 1
jne 0x4076f7
or dword [ebp + 0x10], 0x200000
jmp 0x407730
mov eax, dword [0x425f00]
cmp eax, ebx
je 0x407730
push eax
call fcn.0040445a
pop ecx
test eax, eax
je 0x407730
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407730
mov eax, dword [0x425f04]
cmp eax, ebx
je 0x407730
push eax
call fcn.0040445a
pop ecx
test eax, eax
je 0x407730
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425efc]
call fcn.0040445a
pop ecx
test eax, eax
je 0x407750
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407752
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x72cb776e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3d8a37a1
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403c70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccc04
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00403f60
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00403f60
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00403f60
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00403f60
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00403f60
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00403f60
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
add edx, 0x38
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00403f60
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00403f60
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00403f60
mov byte [ebp - 4], 8
mov edx, dword [ebp + 8]
add edx, 0x44
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00403f60
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00403f60
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
add ecx, 0x4c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00403f60
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x50], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x54], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x58], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x5c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x407af0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x811c9dc5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x407b22
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x1000193
mov edx, dword [ebp + 8]
movzx eax, word [edx]
xor ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
jmp 0x407afb
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40ee20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40ee29
xor ecx, ecx
jne 0x40ee29
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ee70
mov eax, dword [ebp - 0xc]
jmp 0x40eecd
cmp dword [ebp - 4], 1
je 0x40ee83
cmp dword [ebp - 4], 2
je 0x40ee83
mov eax, 0xd
jmp 0x40eecd
cmp dword [ebp + 0xc], 0
je 0x40eec1
cmp dword [ebp - 8], 0
je 0x40eeb9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40eeb0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40eeb7
mov eax, 0xd
jmp 0x40eecd
jmp 0x40eec1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419220
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc11b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0048e356
push 4
mov dword [ebp - 4], 0
call fcn.00491846
mov edi, eax
add esp, 4
test edi, edi
je 0x419284
call fcn.0048deb1
mov dword [edi], eax
call fcn.0048dc70
mov ecx, eax
call fcn.0040e580
jmp 0x419286
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419fb0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc4fe
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.00407880
xor ebx, ebx
push 1
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], ebx
call fcn.00408a20
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.00407ef0
push eax
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xd]
push ecx
call fcn.00408c60
mov edx, dword [esi]
mov dword [edx], esi
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.00407880
push 1
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00408a20
lea ecx, [ebp - 0x1c]
mov dword [edi], eax
call fcn.00407ef0
push eax
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0xd]
push ecx
call fcn.00408c60
mov edx, dword [edi]
mov dword [edx], edi
add esp, 0xc
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0040f1d0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x60]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
call fcn.0040f1d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esi + 0x7c], ecx
mov byte [esi + 0x80], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459490
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5142b0]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], eax
push 0x51308c
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042bfe0
add esp, 8
movzx edx, al
cmp edx, 1
je 0x4594d3
xor al, al
jmp 0x4595d9
push 0x51309c
lea eax, [ebp - 0xc]
push eax
call fcn.0042bfe0
add esp, 8
movzx ecx, al
cmp ecx, 1
je 0x4594f3
xor al, al
jmp 0x4595d9
mov edx, dword [ebp + 8]
push edx
push 0x5130a8
mov eax, dword [ebp - 4]
push eax
call fcn.00492848
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004373c0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00437ce0
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004391f0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00438210
add esp, 4
cmp dword [ebp - 8], 0
je 0x4595d7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004373c0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00437ce0
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.004595f0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00438210
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00457160
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret