joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e088a38
Capabilities:
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x620], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x610], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x614], eax
xor ebx, ebx
xor eax, eax
push 0x402
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push ebx
push eax
mov dword [ebp - 0x62c], ecx
mov dword [ebp - 0x618], ebx
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x624], ebx
call fcn.2e046a1a
xor eax, eax
push 0x200
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.2e046a1a
xor eax, eax
lea edi, [ebp - 0x640]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x62c]
mov eax, dword [eax + 0xc4]
add esp, 0x18
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x620]
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x61c], ebx
mov dword [ebp - 0x644], 0x14
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x2e088b56
push 0x2e027348
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8c
lea eax, [ebp - 0x85c]
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e0c8a64
lea eax, [ebp - 0x750]
lea edi, [ebp - 0x750]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e045e33
test byte [ebp - 0x618], 4
jne 0x2e088b72
push 0x2e027320
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8d
jmp 0x2e088b29
mov eax, 0x4008a
cmp byte [ebp + 0x18], bl
je 0x2e088b87
inc eax
mov dword [ebp - 0x61c], 0x52e
cmp dword [esi + 0x18], 8
jb 0x2e088b92
mov esi, dword [esi + 4]
jmp 0x2e088b95
add esi, 4
push eax
lea eax, [ebp - 0x630]
push eax
push 0x101
lea eax, [ebp - 0x208]
push eax
push 0x202
lea eax, [ebp - 0x60c]
push eax
push dword [ebp - 0x61c]
lea eax, [ebp - 0x644]
push ebx
push esi
push eax
call dword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
test eax, eax
je 0x2e088be4
push 0x2e0272f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8e
jmp 0x2e088b29
push ebx
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60c]
push eax
push 4
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x2e088c1c
push 0x2e0272d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x85
jmp 0x2e088b29
mov ecx, dword [ebp - 0x610]
call fcn.2e0385b1
mov ecx, dword [ebp - 0x610]
lea eax, [ebp - 0x60c]
push eax
call fcn.2e036ab7
mov ecx, dword [ebp - 0x614]
call fcn.2e0385b1
mov ecx, dword [ebp - 0x614]
lea eax, [ebp - 0x208]
push eax
call fcn.2e036ab7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e046266
leave
ret 0x14
Function at 0x2e088c9d
Capabilities:
Initialize winhttp library

Disassembly:
push 0x238
mov eax, 0x2e0c567f
call fcn.2e046275
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
push ebx
push ebx
lea ecx, [esi + 4]
mov byte [esi], bl
mov byte [esi + 1], bl
call fcn.2e08bc4b
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], ebx
call fcn.2e03647a
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.2e03647a
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.2e08f073
mov eax, dword [ebp + 0x18]
mov dword [esi + 0xc8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xcc], eax
push dword [0x2e10a2e8]
lea ecx, [esi + 0xd0]
push 0x26
push 0x2e027398
push 0x57
mov byte [ebp - 4], 3
call fcn.2e037a11
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
jb 0x2e088d37
mov eax, dword [eax + 4]
jmp 0x2e088d3a
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xbc], eax
cmp eax, ebx
jne 0x2e088d8a
push 0x2e027378
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x244]
push 0x79
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e0c8a64
lea eax, [ebp - 0x138]
lea edi, [ebp - 0x138]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e045e33
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.2e0888fb
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.2e035d86
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.2e035b71
mov eax, esi
call fcn.2e04634d
ret 0x14
Function at 0x2e088e63
Capabilities:
Read http header

Disassembly:
push 0x478
mov eax, 0x2e0c56ad
call fcn.2e0462de
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x38]
push ecx
push ebx
mov dword [ebp - 0x30], ebx
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x2e088f16
call edi
cmp eax, 0x7a
je 0x2e088f16
cmp byte [ebp + 0x14], bl
je 0x2e088edc
call edi
push ebx
push ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x10]
push eax
push 0x2e027428
push 2
call fcn.2e08879e
mov ecx, dword [ebp - 0x34]
push 0x2e0d4f44
call fcn.2e03692c
jmp 0x2e088fbe
push 0x2e0273ec
call edi
push eax
lea eax, [ebp - 0x378]
push 0x83
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x26c]
rep movsd dword es:[edi], dword [esi]
push 0x2e0c8a64
lea eax, [ebp - 0x26c]
push eax
call fcn.2e045e33
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x38]
shr eax, 1
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], ebx
call fcn.2e088e2b
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.2e088404
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call esi
test eax, eax
jne 0x2e088f80
push 0x2e0273b8
call edi
push eax
lea eax, [ebp - 0x484]
push 0x83
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x160]
rep movsd dword es:[edi], dword [esi]
push 0x2e0c8a64
lea eax, [ebp - 0x160]
jmp 0x2e088f10
push ebx
lea ecx, [ebp - 0x54]
call fcn.2e088404
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e035ead
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.2e03692c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.2e035b71
lea ecx, [ebp - 0x54]
call fcn.2e09a982
push dword [ebp - 0x54]
call fcn.2e045b5b
pop ecx
mov eax, dword [ebp - 0x34]
call fcn.2e046361
ret 0x10
Function at 0x2e089300
Capabilities:
Receive http response

Disassembly:
push 0x45c
mov eax, 0x2e0c5733
call fcn.2e046275
mov esi, ecx
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0xc8], ebx
je 0x2e08932e
mov edi, dword [ebp + 0x10]
cmp edi, ebx
jne 0x2e08932e
push dword [ebp + 0xc]
call fcn.2e088fc9
mov edi, eax
mov dword [ebp - 0x10], ebx
cmp byte [esi], bl
je 0x2e08933f
push 0xffffffffffffffff
lea ecx, [esi + 4]
call fcn.2e08bb15
cmp byte [esi + 1], bl
jne 0x2e089481
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x2e0893e2
cmp dword [ebp - 0x14], ebx
jbe 0x2e08941d
lea ecx, [ebp - 0x38]
call fcn.2e04291a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.2e042957
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x2e089489
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x2e0894ab
push dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.2e041d64
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0xc8]
mov dword [ebp - 0x10], eax
cmp ecx, ebx
je 0x2e0893d1
push eax
push edi
push dword [esi + 0xcc]
call ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.2e04293f
jmp 0x2e089331
push 0x2e0276e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x468]
push 0x7f
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x35c]
rep movsd dword es:[edi], dword [esi]
push 0x2e0c8a64
lea eax, [ebp - 0x35c]
push eax
call fcn.2e045e33
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jbe 0x2e089481
cmp dword [ebp - 0x10], eax
jae 0x2e08945c
push 0x2e0276b8
lea eax, [ebp - 0x250]
push 0x82
push eax
call fcn.2e037fce
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
push 0x2e0c8a64
lea eax, [ebp - 0x144]
jmp 0x2e089417
inc eax
cmp dword [ebp - 0x10], eax
jbe 0x2e089481
call fcn.2e03aa6f
test al, al
je 0x2e089481
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
push 0x2e027620
push 2
call fcn.2e088740
call fcn.2e04634d
ret 0xc
push 0x2e0275f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x80
lea eax, [ebp - 0x250]
push eax
call fcn.2e039f88
add esp, 0x10
jmp 0x2e089442
push 0x2e0275d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x81
jmp 0x2e08949a
Function at 0x2e08fceb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x2e08fdbb
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x2e08fdbb
push edi
mov edi, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x2e08fdba
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x2e08fdba
push esi
mov esi, dword [eax + 0x80]
add esi, edi
cmp esi, eax
je 0x2e08fdb9
jmp 0x2e08fd69
mov eax, dword [esi + 0xc]
lea ecx, [eax + edi]
cmp eax, 0xffff
je 0x2e08fd66
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x2e08fd6f
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x2e08fd4b
cmp dword [esi + 0xc], 0
je 0x2e08fdb9
mov esi, dword [esi + 0x10]
add esi, edi
jmp 0x2e08fd88
cmp eax, dword [ebp + 0x10]
jne 0x2e08fd85
test eax, eax
jne 0x2e08fd90
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x2e08fd7c
jmp 0x2e08fdb9
lea eax, [ebp + 0xc]
push eax
push 4
lea eax, [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 8]
push eax
call fcn.2e08f9b2
test eax, eax
je 0x2e08fdb9
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
pop esi
pop edi
mov eax, dword [ebp - 4]
leave
ret 0x14

Function at 0x2e08ff14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [0x2e110984], ebx
je 0x2e08ff39
mov dword [eax], 1
jmp 0x2e08fffb
push edi
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
push 0x20119
push ebx
push 0x2e0296b0
push SysReAllocString
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e08fff8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2e029688
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e08ff86
mov edi, dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x2e08fffa
mov eax, dword [0x2e110994]
push dword [eax + 8]
lea ecx, [ebp - 0xc]
push ecx
push 0x38
call dword [eax]
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
je 0x2e08ffb1
call fcn.2e08f99a
jmp 0x2e08ffb3
xor eax, eax
mov dword [0x2e110984], eax
cmp eax, ebx
jne 0x2e08ffc1
push 8
pop esi
jmp 0x2e08ffea
add eax, 0x34
push eax
push 0x2e02965c
call fcn.2e090a77
mov esi, eax
cmp esi, ebx
jne 0x2e08ffea
mov ecx, dword [0x2e110984]
xor edi, edi
inc edi
push edi
call fcn.2e08fdc2
mov esi, eax
cmp esi, ebx
je 0x2e08fff1
call fcn.2e08fecf
jmp 0x2e08fffa
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x2e08fffa
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x2e090048
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0x2e0296b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e0900ac
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2e0297a8
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e0900a3
cmp dword [ebp - 0xc], 4
jne 0x2e0900a3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x28], ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 4
Function at 0x2e0901ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x408]
push eax
push 0x20119
xor edi, edi
push edi
push 0x2e029738
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e0903ca
push esi
push 4
pop esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
push 0x2e029730
push dword [ebp - 0x408]
mov dword [ebp - 0x414], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e090262
cmp dword [ebp - 0x40c], esi
jne 0x2e090262
cmp dword [ebp - 0x41c], edi
je 0x2e090262
push 0x2000
push 0xff
push 0x2e107568
call fcn.2e046a1a
add esp, 0xc
jmp 0x2e0903bd
mov dword [ebp - 0x410], edi
jmp 0x2e09026c
xor edi, edi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x410]
mov dword [ebp - 0x424], 0xff
push dword [ebp - 0x408]
mov dword [ebp - 0x42c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x410]
cmp eax, 0xea
je 0x2e0903b0
cmp eax, edi
jne 0x2e0903bd
mov ecx, dword [ebp - 0x424]
xor eax, eax
mov word [ebp + ecx*2 - 0x204], ax
lea eax, [ebp - 0x428]
push eax
push 0x2e029718
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call fcn.2e090168
test eax, eax
jne 0x2e0903b0
cmp dword [ebp - 0x40c], esi
jne 0x2e0903b0
mov edi, 0xffff
cmp dword [ebp - 0x420], edi
ja 0x2e0903b0
push dword [ebp - 0x428]
lea eax, [ebp - 0x404]
push 0x2e029704
push 0x2e0241bc
push 0xffffffffffffffff
push 0xff
push eax
call fcn.2e046e8e
add esp, 0x18
test eax, eax
jl 0x2e0903b0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
mov dword [ebp - 0x414], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e0903b0
cmp dword [ebp - 0x40c], esi
jne 0x2e0903b0
cmp dword [ebp - 0x418], edi
ja 0x2e0903b0
mov edi, dword [ebp - 0x420]
jmp 0x2e0903a8
mov ecx, edi
and ecx, 7
mov eax, edi
mov dl, 1
shl dl, cl
shr eax, 3
lea eax, [eax + 0x2e107568]
or byte [eax], dl
inc edi
cmp edi, dword [ebp - 0x418]
jbe 0x2e090391
cmp dword [ebp - 0x410], 0x32
jb 0x2e09026a
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.2e046266
leave
ret 4
Function at 0x2e0907ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x100008]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x100000]
mov edi, dword [ebp + 0xc]
lea edx, [eax + edi]
mov ecx, 0x100000
cmp edx, ecx
ja 0x2e09083e
cmp eax, ecx
ja 0x2e09083e
cmp edi, ecx
ja 0x2e09083e
push edi
push dword [ebp + 8]
add eax, esi
push eax
call fcn.2e046b17
add esp, 0xc
add dword [esi + 0x100000], edi
jmp 0x2e090874
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push dword [esi + 0x100004]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2e090861
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x2e090874
push edi
push dword [ebp + 8]
push esi
call fcn.2e046b17
add esp, 0xc
mov dword [esi + 0x100000], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x2e090a77
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2e110994]
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [eax + 8]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x210]
push ecx
push 0x100020
call dword [eax]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x2e090ab9
call fcn.2e090885
jmp 0x2e090abb
xor eax, eax
mov dword [esi], eax
test eax, eax
jne 0x2e090ac6
push 8
pop edi
jmp 0x2e090b1b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x2e090b0f
xor edi, edi
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi]
mov dword [ecx + 0x100004], eax
mov eax, dword [esi]
cmp dword [eax + 0x100004], 0xffffffff
jne 0x2e090b29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x2e090b29
mov ecx, dword [esi]
test ecx, ecx
je 0x2e090b29
call fcn.2e090a0b
and dword [esi], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.2e046266
leave
ret 8
Function at 0x2e0a3bac
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2e10e2f0]
sub esp, 0x18
push ebx
push esi
push edi
mov dword [0x2e110b5c], eax
mov eax, dword [0x2e110b44]
xor edi, edi
cmp eax, edi
je 0x2e0a3be8
push eax
call fcn.2e05da66
push dword [0x2e10e2f0]
mov dword [0x2e110b5c], eax
push dword [0x2e110b44]
call fcn.2e05d64c
jmp 0x2e0a3c5e
mov eax, dword [0x2e110b48]
cmp eax, edi
je 0x2e0a3c5e
or dword [ebp - 8], 0xffffffff
lea ecx, [ebp - 8]
push ecx
push 0x2001f
push eax
push SysReAllocString
mov dword [ebp - 0x18], 4
call fcn.2e06246b
test eax, eax
jne 0x2e0a3c5e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov esi, 0x2e02f858
push esi
push dword [ebp - 8]
call fcn.2e05c6fe
test eax, eax
jne 0x2e0a3c55
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x18]
mov dword [0x2e110b5c], eax
mov eax, dword [0x2e10e2f0]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push esi
push dword [ebp - 8]
call fcn.2e05c71c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x2e0d63c4], edi
je 0x2e0a3c77
call fcn.2e0a3b8b
push eax
push dword [0x2e0d63c4]
call fcn.2e05d64c
call fcn.2e0a3b8b
mov esi, eax
call fcn.2e0a3b6a
mov ebx, eax
cmp esi, ebx
je 0x2e0a3d8d
movzx eax, si
push eax
call fcn.2e061707
test eax, eax
jne 0x2e0a3cab
movzx eax, bx
push eax
call fcn.2e061707
test eax, eax
je 0x2e0a3d8d
lea eax, [ebp - 4]
push eax
push 0x20019
push 0x2e007a70
call fcn.2e05d57e
test eax, eax
jne 0x2e0a3d8d
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x2e0a3d8d
imul eax, eax, 0x104
push eax
lea eax, [ebp - 0xc]
mov esi, 0x104
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], edi
call fcn.2e05c225
test eax, eax
jne 0x2e0a3d15
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e0a3d8d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x2e0a3d61
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jae 0x2e0a3d61
add dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 8]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
add ecx, eax
push ecx
push dword [ebp - 8]
mov dword [ebp - 0x14], esi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x2e0a3d33
mov ebx, dword [ebp - 8]
cmp ebx, edi
jle 0x2e0a3d7c
mov eax, dword [ebp - 0xc]
add eax, edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add edi, esi
dec ebx
jne 0x2e0a3d68
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call fcn.2e05c32c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2e0a5d8a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xb4], 0
je 0x2e0a5dcd
mov eax, dword [esi + 0xb8]
shr eax, 6
and al, 1
movzx eax, al
push eax
call fcn.2e0a4e36
push 0
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x2e0a5dcd
push dword [esi + 0xdc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
pop ebp
ret 4
Function at 0x2e0ab47a
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [0x2e10e2f0]
mov edi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
push edi
push esi
call fcn.2e0aae18
add esp, 0x10
call fcn.2e0ab23e
push eax
lea eax, [ebp + 0x18]
push eax
push edi
push esi
call fcn.2e0aae18
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
lea eax, [ebp + 0x18]
push eax
push edi
push esi
call fcn.2e0aae18
call fcn.2e0a3d92
movzx eax, ax
push eax
lea eax, [ebp + 0x18]
push eax
push edi
push esi
call fcn.2e0aae18
push dword [ebp + 0x18]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.2e0aadbf
add esp, 0x30
pop edi
pop esi
pop ebp
ret

Function at 0x2e0bdfc7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x2e0be006
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x2e0bdfe1
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x2e0be022
dec edi
je 0x2e0be01b
dec edi
jne 0x2e0be027
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc