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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0xffffffff
jne 0x2e031191
push 0x2e0043b8
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.2e028836
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x2e0311a3
mov esi, dword [eax + 4]
jmp 0x2e0311a6
lea esi, [eax + 4]
push 0
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2e0311dc
push 0x2e0043a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.2e02fdd6
jmp 0x2e031170
pop edi
pop esi
leave
ret 4

Function at 0x2e03134e
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e031369
mov eax, dword [esi]
jmp 0x2e03136b
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x2e0313be
cmp dword [edi + 0x18], 8
jb 0x2e031381
mov esi, dword [esi]
push dword [ebp + 0xc]
push esi
push 0x2e004440
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
pop edi
pop esi
leave
ret 8

Function at 0x2e0313e9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e031404
mov eax, dword [esi]
jmp 0x2e031406
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x2e031484
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x2e031443
push 0x80
push edi
call fcn.2e03134e
cmp dword [edi + 0x18], 8
jb 0x2e031434
mov eax, dword [esi]
jmp 0x2e031436
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x2e031483
call ebx
test eax, eax
je 0x2e031483
cmp dword [edi + 0x18], 8
jb 0x2e03144f
mov esi, dword [esi]
push esi
push 0x2e0044b0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x2e031516
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x18], 8
push esi
push edi
jb 0x2e031532
add ebx, 4
mov edi, dword [ebx]
jmp 0x2e031537
add ebx, 4
mov edi, ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
jb 0x2e031547
add esi, 4
mov eax, dword [esi]
jmp 0x2e03154c
add esi, 4
mov eax, esi
xor ecx, ecx
cmp byte [ebp + 0x10], cl
sete cl
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
mov dword [ebp + 0x10], ecx
call edi
test eax, eax
jne 0x2e0315fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x2e0315ab
push 0x80
push dword [ebp + 0xc]
call fcn.2e03134e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x2e03158f
mov ecx, dword [ebx]
jmp 0x2e031591
mov ecx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e03159e
mov eax, dword [esi]
jmp 0x2e0315a0
mov eax, esi
push dword [ebp + 0x10]
push ecx
push eax
call edi
test eax, eax
jne 0x2e0315fc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x2e0315b6
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e0315c1
mov esi, dword [esi]
push ebx
push esi
push 0x2e0044cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x2e0320ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x104
mov ecx, esi
call fcn.2e02e615
mov edi, dword [esi + 0x18]
push 0
mov ecx, esi
call fcn.2e02e4a5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x2e032119
push 0x2e004604
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
push 0
push eax
mov ecx, esi
call fcn.2e02e615
pop edi
pop esi
leave
ret 4

Function at 0x2e032529
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e03253a
mov eax, dword [eax + 4]
jmp 0x2e03253d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x2e03254d
xor al, al
jmp 0x2e032552
shr al, 4
and al, 1
pop ebp
ret 4
Function at 0x2e032556
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e032571
mov eax, dword [esi]
jmp 0x2e032573
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x2e0325ca
cmp eax, 0x50
je 0x2e0325ca
cmp eax, 0xb7
je 0x2e0325ca
cmp dword [edi + 0x18], 8
jb 0x2e032596
mov esi, dword [esi]
push esi
push 0x2e004648
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
pop edi
pop esi
leave
ret 4

Function at 0x2e0325d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x218
cmp dword [eax + 0x18], 8
jb 0x2e0325e7
mov eax, dword [eax + 4]
jmp 0x2e0325ea
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x2e03262e
push 0x2e004678
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
leave
ret 4
Function at 0x2e0328b7
Capabilities:
Enumerate files on windows

Disassembly:
push 0x4cc
mov eax, 0x2e072d68
call fcn.2e05658b
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x29c], eax
call fcn.2e032529
test al, al
jne 0x2e03292e
cmp dword [ebx + 0x18], 8
jb 0x2e0328f6
mov ebx, dword [ebx + 4]
jmp 0x2e0328f9
add ebx, 4
push ebx
push 0x2e00471c
lea eax, [ebp - 0x4d8]
push 0x22
push eax
call fcn.2e028836
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x3cc]
lea edi, [ebp - 0x3cc]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
mov ecx, esi
call fcn.2e02a23a
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.2e0284cb
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.2e029651
mov esi, 0x2e00407c
push esi
lea ecx, [ebp - 0x2c]
call fcn.2e029c35
push 1
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.2e02ef47
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [ebp - 0x2c]
inc bl
mov byte [ebp - 4], 0
call fcn.2e028a93
test bl, bl
je 0x2e0329b4
push esi
lea ecx, [ebp - 0x2c]
call fcn.2e029c35
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.2e029750
push edi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.2e028a93
push 0xffffffffffffffff
push edi
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x48]
call fcn.2e029750
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x2e0329d1
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
jne 0x2e032a1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x2e032af7
cmp eax, 2
je 0x2e032af7
push 0x2e0046e4
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.2e02fdd6
add esp, 0xc
jmp 0x2e032910
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2c]
call fcn.2e029a57
push esi
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
call fcn.2e029c35
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.2e02ef47
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [ebp - 0x2c0]
inc bl
mov byte [ebp - 4], 3
call fcn.2e028a93
test bl, bl
je 0x2e032a96
push esi
lea ecx, [ebp - 0x2c0]
call fcn.2e029c35
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.2e029750
push edi
push 1
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
call fcn.2e028a93
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e029c5a
lea eax, [ebp - 0x2c]
push eax
call fcn.2e031263
test al, al
je 0x2e032ac1
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x2c]
push eax
call fcn.2e02a79d
push edi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.2e028a93
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2e032a1c
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.2e028a93
call fcn.2e05660e
ret 0xc
Function at 0x2e032d50
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x2e032d6b
mov eax, dword [edi]
jmp 0x2e032d6d
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x2e032dbf
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp dword [esi + 0x18], 8
jb 0x2e032d88
mov edi, dword [edi]
push eax
push edi
push 0x2e004744
call ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e02fdd6
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
pop edi
pop esi
leave
ret 4

Function at 0x2e032ddb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10220
call fcn.2e0575cb
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x10008], 0
cmp dword [eax + 0x18], 8
push esi
push edi
mov edi, dword [ebp + 8]
jb 0x2e032e0c
mov eax, dword [eax + 4]
jmp 0x2e032e0f
add eax, 4
mov esi, 0x7fff
push esi
lea ecx, [ebp - 0x10004]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x2e032e4b
cmp eax, esi
ja 0x2e032e4b
lea eax, [ebp - 0x10004]
push eax
mov ecx, edi
call fcn.2e029c35
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.2e056514
leave
ret 8
push 0x2e004778
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10220]
push eax
call fcn.2e02fdd6
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10114]
lea edi, [ebp - 0x10114]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
int3

Function at 0x2e032e85
Capabilities:
Accept command line arguments

Disassembly:
push 0x240
mov eax, 0x2e072dec
call fcn.2e05658b
mov eax, dword [ebp + 8]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x2e032eee
push 0x2e0047a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.2e02fdd6
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x140]
lea edi, [ebp - 0x140]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
xor esi, esi
cmp dword [ebp - 0x30], esi
jle 0x2e032f26
push dword [edi + esi*4]
lea ecx, [ebp - 0x2c]
call fcn.2e029c35
mov ecx, dword [ebp - 0x34]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.2e02a79d
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2e028a93
inc esi
cmp esi, dword [ebp - 0x30]
jl 0x2e032ef5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.2e05660e
ret 4
Function at 0x2e033313
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x2e033357
push 0x2e00484c
lea eax, [ebp - 0x218]
push 0x3d
push eax
call fcn.2e028836
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
leave
ret 4

Function at 0x2e033365
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x2e0333a9
push 0x2e00484c
lea eax, [ebp - 0x218]
push 0x3d
push eax
call fcn.2e028836
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
leave
ret

Function at 0x2e033dd3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x268
mov eax, 0x2e072fbe
call fcn.2e05658b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x2e033e28
push 0x2e004bb0
lea eax, [ebp - 0x274]
push 0x3a
push eax
call fcn.2e028836
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e078454
lea eax, [ebp - 0x168]
lea edi, [ebp - 0x168]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e0560ec
cmp dword [esi + 0x18], 8
lea ecx, [esi + 4]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ecx
jb 0x2e033e44
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x34]
push edx
push 0
lea edx, [ebp - 0x38]
push edx
push 0
push ecx
push eax
call ebx
cmp eax, 2
je 0x2e033f2b
cmp dword [ebp - 0x38], 7
jne 0x2e033f2b
test eax, eax
je 0x2e033ea6
cmp dword [esi + 0x18], 8
mov ecx, dword [ebp - 0x30]
jb 0x2e033e7c
mov ecx, dword [ecx]
cmp dword [edi + 0x20], 8
jb 0x2e033e87
mov edi, dword [edi + 0xc]
jmp 0x2e033e8a
add edi, 0xc
push ecx
push edi
push 0x2e0049f8
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.2e02fdd6
add esp, 0x14
jmp 0x2e033e0a
add dword [ebp - 0x34], 2
push dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
call fcn.2e0337a6
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
mov eax, dword [ebp - 0x30]
jb 0x2e033ec4
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x38]
push ecx
push 0
push eax
push dword [edi + 0x24]
call ebx
test eax, eax
jne 0x2e033e71
mov eax, dword [ebp - 0x5c]
xor esi, esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e029c35
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.2e02a79d
mov eax, dword [ebp - 0x18]
push 0
push 1
lea ecx, [ebp - 0x2c]
lea esi, [esi + eax + 1]
mov byte [ebp - 4], 0
call fcn.2e028a93
mov eax, dword [ebp - 0x5c]
lea eax, [eax + esi*2]
cmp byte [eax], 0
jne 0x2e033ee0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.2e03373e
mov al, 1
jmp 0x2e033f2d
xor al, al
call fcn.2e05660e
ret 8
Function at 0x2e03529f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e079b48
call fcn.2e057572
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e0352dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e0352dd
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e0352dd
mov eax, dword [ecx + 0x50]
jmp 0x2e0352fe
mov ecx, 0x4550
cmp dx, cx
jne 0x2e03530a
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e03530a
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e03530a
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e03530e
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e0575b7
ret 4
Function at 0x2e035739
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x214], 1
call fcn.2e056626
mov eax, 0x2e0b3dac
add esp, 0xc
mov dword [ebp - 0x210], 0x208
mov ecx, eax
cmp dword [ecx], 0
je 0x2e0357a6
add ecx, 0x14
inc esi
cmp ecx, 0x2e0b3dd4
jl 0x2e035790
jmp 0x2e0358f9
imul esi, esi, 0x14
add esi, eax
je 0x2e0358f9
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e0358db
cmp dword [ebp - 0x214], 1
jne 0x2e0358db
xor ebx, ebx
cmp word [ebp - 0x20c], bx
je 0x2e0358dd
cmp dword [ebp - 0x210], ebx
je 0x2e0358dd
shr dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0x104
jae 0x2e035822
mov ecx, dword [ebp - 0x210]
mov word [ebp + ecx*2 - 0x20c], ax
jmp 0x2e035826
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
cmp eax, ebx
je 0x2e0358dd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e0056b4
push eax
call edi
cmp eax, ebx
jne 0x2e035854
mov eax, dword [ebp + 0x10]
jmp 0x2e035856
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x2e03587a
push 0x2e0056a8
push dword [esi]
call edi
push 0x2e005694
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e005684
jmp 0x2e0358ae
cmp eax, 2
jne 0x2e03588f
push 0x2e0056a8
push dword [esi]
call edi
push 0x2e005670
jmp 0x2e03586c
cmp eax, 3
jne 0x2e0358b8
push 0x2e005660
push dword [esi]
call edi
push 0x2e005648
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x2e005634
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], ebx
je 0x2e0358dd
cmp dword [esi + 0x10], ebx
je 0x2e0358dd
cmp dword [esi + 0xc], ebx
je 0x2e0358dd
push dword [0x2e0b3dd4]
push esi
call fcn.2e035516
test eax, eax
jl 0x2e0358dd
xor esi, esi
jmp 0x2e0358dd
xor ebx, ebx
cmp esi, ebx
je 0x2e0358f9
mov eax, dword [esi]
cmp eax, ebx
je 0x2e0358ee
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e056514
leave
ret 0xc

Function at 0x2e0360db
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
jmp 0x2e0360f5
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
inc ecx
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x2e0360e8
pop ebp
ret 8
Function at 0x2e03684e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x14]
xor edx, edx
push 0xa
mov eax, edi
pop ecx
div ecx
xor ebx, ebx
mov dword [ebp - 4], 0x811c9dc5
mov esi, eax
inc esi
cmp esi, edi
jae 0x2e036876
sub edi, esi
test edi, edi
jbe 0x2e03689a
mov ecx, dword [ebp + 8]
push ebx
call fcn.2e02e4a5
mov ecx, dword [ebp - 4]
movzx eax, word [eax]
imul ecx, ecx, 0x1000193
xor ecx, eax
add ebx, esi
mov dword [ebp - 4], ecx
cmp ebx, edi
jb 0x2e03687a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x2e040a58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x2e040a70
xor eax, eax
jmp 0x2e040b66
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x2e040a80
cmp dword [0x2e0b77f0], ebx
je 0x2e040a92
mov dword [ebp - 4], ebx
call fcn.2e03ff17
test eax, eax
je 0x2e040a99
test byte [edi + 0xc], 0x10
jne 0x2e040a99
xor eax, eax
jmp 0x2e040b65
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call fcn.2e040153
movzx eax, word [edi + 0xc]
neg esi
sbb esi, esi
shr eax, 1
and esi, 2
and eax, 0x10
mov dword [ebp - 0xc], esi
or eax, esi
jmp 0x2e040b28
mov eax, dword [edi]
cmp eax, ebx
je 0x2e040acd
push eax
call fcn.2e04c244
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x2e040ad9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x2e040af6
push dword [ebp - 4]
call fcn.2e0422f4
push esi
call fcn.2e03ffb0
pop ecx
test eax, eax
je 0x2e040b49
push 0x796d7468
push ebx
call fcn.2e04641a
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e040368
movzx eax, word [edi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
mov dword [ebp + 8], ebx
push ebx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [edi + 8]
call fcn.2e0403c6
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x2e040abe
jmp 0x2e040b56
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e0402b8
lea ecx, [ebp - 0x10]
call fcn.2e040177
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e040f33
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x2e040f49
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop ebx
mov esi, eax
cmp dword [ebp - 4], ebx
jae 0x2e040f7b
cmp dword [ebp + 0xc], 1
je 0x2e040f79
cmp dword [ebp + 0xc], ebx
jne 0x2e040f7b
mov esi, ebx
push esi
call fcn.2e03ffb0
pop ecx
test eax, eax
je 0x2e040fa1
push 0x796d746b
push 0
call fcn.2e04641a
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e040368
jmp 0x2e041001
test esi, esi
jne 0x2e040ff4
cmp dword [ebp + 0xc], ebx
je 0x2e040fb0
cmp dword [ebp + 0xc], 1
jne 0x2e040fbc
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
cmp dword [ebp + 0xc], ebx
je 0x2e040fc6
cmp byte [ebp + 0x1c], bl
jne 0x2e040fdf
mov eax, dword [ebp + 0x18]
shr eax, 1
push eax
push edi
call fcn.2e03f91f
pop ecx
pop ecx
test eax, eax
jne 0x2e040fdf
mov esi, 0xea
jmp 0x2e040ff4
movzx eax, byte [ebp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.2e03feef
pop ecx
pop ecx
test eax, eax
jne 0x2e040ff4
mov esi, ebx
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e0402b8
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret