joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4294b2
Capabilities:
Terminate process

Disassembly:
push 8
push 0x432158
call fcn.00426ce0
push 8
call fcn.0042889a
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4435b4], esi
jne 0x4294e6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4435b0], esi
mov al, byte [ebp + 0x10]
mov byte [0x4435ac], al
cmp dword [ebp + 0xc], edi
jne 0x429530
cmp dword [0x444988], edi
je 0x429520
mov eax, dword [0x444984]
sub eax, 4
mov dword [0x444984], eax
cmp eax, dword [0x444988]
jb 0x429520
mov eax, dword [eax]
cmp eax, edi
je 0x429501
call eax
jmp 0x429501
push 0x437060
mov eax, 0x437058
call fcn.00429430
pop ecx
push 0x43706c
mov eax, 0x437064
call fcn.00429430
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x429561
cmp dword [ebp + 0x10], edi
jne 0x42956f
mov dword [0x4435b4], esi
push dword [ebp + 8]
call fcn.004293ee
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x42956e
push 8
call fcn.004287e5
pop ecx
ret
call fcn.00426d1b
ret

Function at 0x42a5b8
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x441874]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x441cc0]
je 0x42a5ed
inc eax
cmp eax, 0x13
jb 0x42a5de
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x441cc0]
jne 0x42a713
mov eax, dword [0x44339c]
cmp eax, 1
je 0x42a6eb
cmp eax, edx
jne 0x42a61d
cmp dword [0x4418b4], 1
je 0x42a6eb
cmp ecx, 0xfc
je 0x42a713
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a653
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.0042a4c0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0042a430
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42a687
mov eax, edi
push eax
call fcn.0042a430
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x431d5c
push edi
call fcn.0042b990
add esp, 0x10
push edi
call fcn.0042a430
push dword [esi + 0x441cc4]
mov ebx, eax
call fcn.0042a430
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00425d90
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0042a4c0
push edi
push ebx
call fcn.0042a4d0
push 0x431d58
push ebx
call fcn.0042a4d0
push dword [esi + 0x441cc4]
push ebx
call fcn.0042a4d0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0042b897
add esp, 0x2c
jmp 0x42a713
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x441cc4]
push dword [esi]
call fcn.0042a430
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004251f6
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x42b897
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4436f8], ebx
push esi
push edi
jne 0x42b917
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42b952
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x4436f8], eax
je 0x42b952
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4436fc], eax
call esi
cmp dword [0x443574], 2
mov dword [0x443700], eax
jne 0x42b917
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x443708], eax
je 0x42b917
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x443704], eax
mov eax, dword [0x443704]
test eax, eax
je 0x42b95c
call eax
test eax, eax
je 0x42b943
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x443708]
test eax, eax
je 0x42b943
test byte [ebp - 8], 1
jne 0x42b95c
cmp dword [0x443580], 4
jb 0x42b956
or byte [ebp + 0x12], 0x20
jmp 0x42b97b
xor eax, eax
jmp 0x42b98b
or byte [ebp + 0x12], 4
jmp 0x42b97b
mov eax, dword [0x4436fc]
test eax, eax
je 0x42b97b
call eax
mov ebx, eax
test ebx, ebx
je 0x42b97b
mov eax, dword [0x443700]
test eax, eax
je 0x42b97b
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4436f8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c3c7
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x441874]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x42c3f8
xor eax, eax
jmp 0x42c581
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x444880]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x42c434
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0042d487
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x42c50f
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x42c54d
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x42c498
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x42c489
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x42c469
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c4d8
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x42c4e1
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x42c45a
jmp 0x42c4e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x42c57c
cmp dword [ebp - 0x6c], edi
je 0x42c54d
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x42c542
call fcn.0042c223
mov dword [eax], 9
call fcn.0042c22c
mov dword [eax], esi
jmp 0x42c577
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c537
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x42c4e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x42c4e3
push dword [ebp - 0x6c]
call fcn.0042c235
pop ecx
jmp 0x42c577
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x42c565
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x42c565
xor eax, eax
jmp 0x42c57f
call fcn.0042c223
mov dword [eax], 0x1c
call fcn.0042c22c
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x42c57f
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.004251f6
add ebp, 0x3a0
leave
ret
Function at 0x437f90
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
push ebx
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push 0x405f68
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
jne 0x437fe2
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x10
push 0x405f60
push 0x405f40
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop ebx
add esp, 0x108
ret
mov eax, dword [0x401e20]
push esi
push edi
xor edi, edi
test eax, eax
je 0x43803d
mov esi, 0x401e20
movzx ecx, word [esi + 8]
push ecx
push eax
push edi
lea edx, [esp + 0x20]
push 0x405f28
push edx
call dword [sym.imp.user32.dll_wsprintfA]
lea eax, [esp + 0x28]
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438015
push 0
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esi + 0xc]
add esi, 0xc
inc edi
test eax, eax
jne 0x437ff4
mov eax, dword [0x401c58]
xor esi, esi
test eax, eax
je 0x4380a1
mov ebx, 0x401c58
push ebp
mov edi, edi
push eax
lea eax, [esi + edi]
push eax
lea ecx, [esp + 0x20]
push 0x405f10
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
lea eax, [esp + 0x28]
add esp, 0x10
lea ebp, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438070
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
sub eax, ebp
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [ebx + 0xc]
add ebx, 0xc
inc esi
test eax, eax
jne 0x438050
mov ebx, dword [esp + 0x14]
pop ebp
lea edx, [esi + edi - 1]
push edx
lea eax, [esp + 0x18]
push 0x405ed0
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
pop edi
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4380c2
push 0
lea ecx, [esp + 8]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop ebx
add esp, 0x108
ret

Function at 0x439d00
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov esi, ecx
mov cl, byte [esp + 0x10]
test cl, cl
push edi
mov eax, 0xc0000000
mov edi, 4
mov ebx, 2
mov byte [esi], cl
je 0x439d2a
mov edi, ebx
mov eax, 0x80000000
mov ebx, 4
push 0
push 0x80
push 3
push 0
push 1
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x439d8d
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [esi + 4]
push 0
push 0
push 0
push edi
push 0
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 8], eax
je 0x439d86
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x439d95
mov ecx, esi
call fcn.00439cb0
pop edi
pop esi
xor al, al
pop ebx
ret 8
pop edi
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x43b290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43b2e9
test al, 0x10
je 0x43b2e9
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b2b0
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
push edi
je 0x43b2d5
mov edi, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43b2c4
mov ax, word [0x4060f4]
mov word [edi], ax
dec esi
mov edi, esi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43b2d8
mov ecx, dword [0x4060f0]
mov dword [edi], ecx
pop edi
pop esi
ret
Function at 0x43b6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
mov eax, dword [0x462dfc]
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
push esi
push edi
push 0
push 0
push 0x1004
push eax
call ebx
mov edx, eax
xor eax, eax
test edx, edx
mov byte [esp + 0x68], 0
mov ecx, 0x41
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
stosw word es:[edi], ax
je 0x43b95a
mov edx, dword [0x463264]
xor eax, eax
mov ecx, 0x13
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
mov dword [esp + 0x1c], 0x4c
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], 0x4061ec
mov dword [esp + 0x4c], 0x4061e0
mov dword [esp + 0x48], 0x40609c
mov dword [esp + 0x34], 1
mov dword [esp + 0x50], 4
mov dword [esp + 0x20], edx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
je 0x43b95a
lea eax, [esp + 0x68]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b7b0
sub eax, edx
cmp dword [esp + eax + 0x65], 0x7478742e
je 0x43b7e1
lea edi, [esp + 0x68]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43b7c8
mov ecx, dword [0x4061d8]
mov dl, byte [0x4061dc]
mov dword [edi], ecx
mov byte [edi + 4], dl
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b82b
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x10
push 0x405f60
push 0x4061c0
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
xor ebp, ebp
test eax, eax
jle 0x43b937
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
nop
mov ecx, dword [0x462dfc]
push 0x463398
push 0
push 0x1005
push ecx
mov dword [0x463398], 1
mov dword [0x46339c], ebp
mov dword [0x4633a0], 0
mov dword [0x4633ac], 0x463268
mov dword [0x4633b0], 0x100
call ebx
mov eax, 0x463268
lea ecx, [eax + 1]
jmp 0x43b890
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b890
push 0
lea edx, [esp + 0x14]
push edx
sub eax, ecx
push eax
push 0x463268
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
push 0x4061b8
push esi
call edi
mov ecx, dword [0x462dfc]
push 0x463398
push 0
mov eax, 1
push 0x1005
push ecx
mov dword [0x463398], eax
mov dword [0x46339c], ebp
mov dword [0x4633a0], eax
mov dword [0x4633ac], 0x463268
mov dword [0x4633b0], 0x100
call ebx
mov eax, 0x463268
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b900
push 0
lea edx, [esp + 0x14]
push edx
sub eax, ecx
push eax
push 0x463268
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x4061b4
push esi
call edi
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x43b840
mov edx, dword [0x463264]
push 0x40000
push 0x4061a8
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c730
Capabilities:
Get file system object information
Terminate process

Disassembly:
push esi
push 1
call fcn.0043bbf0
add esp, 4
push eax
push 0
push 1
call dword [sym.imp.kernel32.dll_OpenProcess]
mov esi, eax
test esi, esi
push 0
jne 0x43c761
push 0x406494
push 0x406478
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
pop esi
ret
push esi
call dword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
jne 0x43c787
push eax
push 0x406494
push 0x406458
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
pop esi
jmp fcn.0043c140
Function at 0x43d150
Capabilities:
Compare security identifiers
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
push eax
mov ax, cs
test al, 4
jne 0x43d16d
mov dword [ebp - 8], 1
pop eax
cmp dword [ebp - 8], ebx
je 0x43d286
lea eax, [ebp - 8]
push eax
push ebx
push 8
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.advapi32.dll_OpenThreadToken]
test eax, eax
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
jne 0x43d1bd
call esi
cmp eax, 0x3f0
jne 0x43d274
lea ecx, [ebp - 8]
push ecx
push 8
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.advapi32.dll_OpenProcessToken]
test eax, eax
je 0x43d274
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.advapi32.dll_GetTokenInformation]
lea edx, [ebp - 4]
push edx
push ebx
push ebx
push 2
push eax
call edi
test eax, eax
jne 0x43d274
call esi
cmp eax, 0x7a
jne 0x43d274
mov ecx, dword [ebp - 4]
add ecx, 3
and ecx, 0xfffffffc
push ecx
call fcn.00454d04
mov ecx, dword [ebp - 8]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push esi
push 2
push ecx
call edi
test eax, eax
je 0x43d26b
lea edx, [ebp - 0xc]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], 5
call dword [sym.imp.advapi32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43d26b
mov eax, dword [esi]
xor edi, edi
cmp eax, ebx
jbe 0x43d26b
lea ebx, [esi + 4]
lea esp, [esp]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.advapi32.dll_EqualSid]
test eax, eax
jne 0x43d27d
mov eax, dword [esi]
inc edi
add ebx, 8
cmp edi, eax
jb 0x43d250
push esi
call fcn.004559bd
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004559bd
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
xor ebx, ebx
push 0xf003f
push ebx
push 0x406524
push 0x80000001
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x43d2d9
xor eax, eax
pop ebx
add esp, 0x10
ret
push esi
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x406518
push ecx
call esi
test eax, eax
je 0x43d308
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dl, byte [esp + 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
mov byte [0x462f70], dl
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x40650c
push eax
call esi
test eax, eax
jne 0x43d300
mov cl, byte [esp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
mov byte [0x46307c], cl
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x406504
push edx
call esi
test eax, eax
jne 0x43d300
mov al, byte [esp + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov byte [0x46336c], al
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x4064f4
push ecx
call esi
test eax, eax
jne 0x43d300
mov dl, byte [esp + 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
mov byte [0x463231], dl
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x4064e4
push eax
call esi
test eax, eax
jne 0x43d300
mov cl, byte [esp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
mov byte [0x462e2c], cl
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x4064d8
push edx
call esi
test eax, eax
jne 0x43d300
mov al, byte [esp + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov byte [0x462c80], al
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x4064c4
push ecx
call esi
test eax, eax
jne 0x43d300
mov dl, byte [esp + 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
mov byte [0x462df8], dl
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x4064bc
push eax
call esi
test eax, eax
jne 0x43d300
mov cl, byte [esp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
mov byte [0x463230], cl
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x4064b4
push edx
call esi
test eax, eax
jne 0x43d300
mov ecx, dword [esp + 0xc]
mov al, byte [esp + 8]
push ecx
mov byte [0x46325c], al
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x43e1b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45fd2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebp
or ebp, 0xffffffff
push esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x160]
push 1
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0
call fcn.00439d00
test al, al
je 0x43e226
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00448e50
test al, al
jne 0x43e24d
lea ecx, [esp + 8]
call fcn.00439cb0
lea ecx, [esp + 8]
mov dword [esp + 0x148], ebp
call fcn.00439cb0
pop esi
pop ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
lea edx, [esp + 0x3c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43e255
mov eax, dword [esp + 0x15c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e268
push edi
lea edi, [esp + 0x40]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43e277
mov edx, dword [esp + 0x158]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
lea ecx, [esp + 0x28]
call fcn.00448e10
push 0
push 0x80
push 4
push 0
push 3
mov edi, eax
push 0xc0000000
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, ebp
jne 0x43e2e6
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x15c]
push 0x10
push 0x405f60
push 0x4061c0
push ecx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x43e339
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x154]
push 0
lea edx, [esp + 0x24]
push edx
push edi
add eax, ecx
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
push esi
jne 0x43e32a
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [esp + 0x15c]
push 0x10
push 0x405f60
push 0x4066c4
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x43e339
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.00439cb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x14c], ebp
call fcn.00439cb0
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x144
ret