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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00417470
cmp eax, 1
jle 0x44f9f8
push ebx
push 0x8000000
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 4]
call fcn.004134f0
push dword [ebp - 4]
call fcn.00412af0
pop ecx
test al, al
jne 0x44f96a
lea ecx, [ebp - 4]
call fcn.004136d0
xor al, al
jmp 0x44fa65
mov ecx, dword [ebp + 0x10]
mov eax, 0x100000
mov dword [ebp - 0x14], eax
cmp ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x14]
jb 0x44f982
lea eax, [ebp - 8]
mov edi, dword [eax]
push 4
push 0x1000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x44f95b
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 8], ebx
push eax
jmp 0x44f9d6
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jbe 0x44f9df
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x44f9c3
cmp dword [ebp - 8], eax
sbb eax, eax
neg eax
jmp 0x44f9c6
xor eax, eax
inc eax
cmp eax, ebx
je 0x44f9df
add dword [ebp - 8], ecx
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x44f9ac
push 0x8000
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 4]
call fcn.004136d0
jmp 0x44fa63
push 9
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x44f963
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x570ce0
mov dword [ebp - 0xc], esi
call fcn.00424570
test al, al
jne 0x44fa29
call fcn.00416f50
lea ecx, [ebp - 0x10]
call fcn.00424250
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x44fa43
mov dword [ebp - 8], ecx
jmp 0x44fa47
or dword [ebp - 8], 0xffffffff
cmp eax, dword [ebp - 8]
lea eax, [ebp - 0x14]
jb 0x44fa52
lea eax, [ebp - 8]
push dword [eax]
push esi
call fcn.0044f8ca
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44fe5a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
add ecx, ecx
cmp dword [eax + 0x18], 8
jb 0x44fe70
mov eax, dword [eax + 4]
jmp 0x44fe73
add eax, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 8
jb 0x44fe81
mov edx, dword [edx + 4]
jmp 0x44fe84
add edx, 4
push ecx
push eax
push 1
push 0
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x45759d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x576510]
jne 0x4575a7
repz ret
jmp fcn.00461445

Function at 0x471057
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00460027
and dword [ebp - 4], 0
cmp dword [0x5e0f8c], 0
mov ebx, eax
jne 0x471108
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4711b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4711b9
push eax
call fcn.0045ffb5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5e0f8c], eax
call esi
push eax
call fcn.0045ffb5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5e0f90], eax
call esi
push eax
call fcn.0045ffb5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5e0f94], eax
call esi
push eax
call fcn.0045ffb5
pop ecx
mov dword [0x5e0f9c], eax
test eax, eax
je 0x471108
push 0x4e6ef0
push edi
call esi
push eax
call fcn.0045ffb5
pop ecx
mov dword [0x5e0f98], eax
mov eax, dword [0x5e0f98]
cmp eax, ebx
je 0x471160
cmp dword [0x5e0f9c], ebx
je 0x471160
push eax
call fcn.00460030
push dword [0x5e0f9c]
mov esi, eax
call fcn.00460030
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x471160
test edi, edi
je 0x471160
call esi
test eax, eax
je 0x471157
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x471157
test byte [ebp - 0xc], 1
jne 0x471160
or dword [ebp + 0x10], 0x200000
jmp 0x471199
mov eax, dword [0x5e0f90]
cmp eax, ebx
je 0x471199
push eax
call fcn.00460030
pop ecx
test eax, eax
je 0x471199
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x471199
mov eax, dword [0x5e0f94]
cmp eax, ebx
je 0x471199
push eax
call fcn.00460030
pop ecx
test eax, eax
je 0x471199
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5e0f8c]
call fcn.00460030
pop ecx
test eax, eax
je 0x4711b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4711bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48b9e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x48ba6f
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00457f10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x48ba2f
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x48ba51
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x48bb9e
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x48ba97
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x48baa2
xor eax, eax
jmp 0x48baee
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x48babf
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0048c5a3
jmp 0x48bacf
cmp ecx, 2
jne 0x48bad8
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0048c587
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.00457f10
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edx, dword [esi + 0x74]
cmp edx, 3
jb 0x48bb19
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edi, [eax + ecx]
movzx eax, byte [edi]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edi + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edx, 0x106
jae 0x48bb2d
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x48b9ed
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x48bb9e
mov edi, dword [esi + 0x6c]
add edi, edx
cmp ecx, edi
jae 0x48bb6d
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x48bb52
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00457450
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x48bb9e
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x48bb9e
sub edi, ecx
add edi, 0x102
sub eax, ecx
cmp edi, eax
jbe 0x48bb87
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.00457450
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
leave
ret
Function at 0x4c18b1
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor edi, edi
call fcn.004a3051
pop ecx
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4c18eb
xor al, al
jmp 0x4c1964
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4c1928
push esi
push esi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4c1928
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
lea edi, [ebp - 0xc]
push esi
push esi
push esi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, esi
je 0x4c18e7
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp eax, esi
jne 0x4c195f
push edi
call ebx
jmp 0x4c18e7
mov dword [ecx + 0x14], edi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405970
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2720]
mov eax, 0x2720
call fcn.004073c0
push 0xffffffffffffffff
push 0x411b92
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41752c]
xor eax, ebp
mov dword [ebp + 0x271c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [0x41705c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push str..PhysicalDrive_d
push eax
mov dword [ebp - 4], ebx
call fcn.00404a2f
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x405ae2
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 0x18
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push 0x70000
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call esi
cmp eax, 1
jne 0x405ad9
push dword [ebp - 0x34]
push 0x412d40
push dword [ebp - 0x18]
call fcn.00404a2f
xor eax, eax
lea edi, [ebp]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x270f
lea eax, [ebp + 0xd]
push ebx
push eax
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov byte [ebp + 0xc], bl
call fcn.00407ff0
add esp, 0x18
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x2710
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x405ad9
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov edi, dword [ebp - 0x18]
je 0x405a96
lea eax, [ebp + eax + 0xc]
push eax
lea ecx, [edi + 4]
call fcn.0040592c
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x405aaa
lea eax, [ebp + eax + 0xc]
push eax
lea ecx, [edi + 8]
call fcn.0040592c
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x405abe
lea eax, [ebp + eax + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.0040592c
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x405ad2
lea eax, [ebp + eax + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.0040592c
mov dword [ebp - 0x24], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402090
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x4059be
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x271c]
xor ecx, ebp
call fcn.004073a6
add ebp, 0x2720
leave
ret
Function at 0x4096ff
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x417680]
je 0x40971a
inc edi
cmp edi, 0x17
jb 0x40970b
cmp edi, 0x17
jae 0x40989a
push ebp
push 3
call fcn.0040e53d
cmp eax, 1
pop ecx
je 0x409866
push 3
call fcn.0040e53d
test eax, eax
pop ecx
jne 0x40974e
cmp dword [0x417554], 1
je 0x409866
cmp ebx, 0xfc
je 0x409899
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x418800
push ebp
call fcn.0040d3a7
add esp, 0xc
test eax, eax
je 0x409784
push esi
push esi
push esi
push esi
push esi
call fcn.0040830a
add esp, 0x14
push 0x104
mov esi, 0x418819
push esi
push 0
mov byte [0x41891d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4097c8
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040d3a7
add esp, 0xc
test eax, eax
je 0x4097c8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040830a
add esp, 0x14
push esi
call fcn.0040d410
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40980d
push esi
call fcn.0040d410
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x418b14
push 0x4134fc
sub ecx, eax
push ecx
push eax
call fcn.0040e48a
add esp, 0x14
test eax, eax
je 0x40980d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040830a
add esp, 0x14
jmp 0x40980f
xor esi, esi
push 0x4134f8
push ebx
push ebp
call fcn.0040e419
add esp, 0xc
test eax, eax
je 0x40982f
push esi
push esi
push esi
push esi
push esi
call fcn.0040830a
add esp, 0x14
push dword [edi*8 + 0x417684]
push ebx
push ebp
call fcn.0040e419
add esp, 0xc
test eax, eax
je 0x409851
push esi
push esi
push esi
push esi
push esi
call fcn.0040830a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040e25c
add esp, 0xc
jmp 0x409899
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x409899
cmp ebp, 0xffffffff
je 0x409899
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x417684]
push dword [esi]
call fcn.0040d410
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40e25c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040bab1
xor ebx, ebx
cmp dword [0x4190e0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40e332
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40e412
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40e412
push eax
call fcn.0040ba43
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4190e0], eax
call esi
push eax
call fcn.0040ba43
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4190e4], eax
call esi
push eax
call fcn.0040ba43
mov dword [0x4190e8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040948c
test eax, eax
pop ecx
pop ecx
je 0x40e300
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040830a
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40e332
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ba43
cmp eax, ebx
pop ecx
mov dword [0x4190f0], eax
je 0x40e332
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ba43
pop ecx
mov dword [0x4190ec], eax
mov eax, dword [0x4190ec]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40e3b7
cmp dword [0x4190f0], ecx
je 0x40e3b7
push eax
call fcn.0040baba
push dword [0x4190f0]
mov esi, eax
call fcn.0040baba
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40e3b7
cmp edi, ebx
je 0x40e3b7
call esi
cmp eax, ebx
je 0x40e384
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e384
test byte [ebp - 0x18], 1
jne 0x40e3b7
lea eax, [ebp - 0x10]
push eax
call fcn.004094c3
test eax, eax
pop ecx
je 0x40e39f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040830a
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40e3ae
or dword [ebp + 0x10], 0x200000
jmp 0x40e3f2
or dword [ebp + 0x10], 0x40000
jmp 0x40e3f2
mov eax, dword [0x4190e4]
cmp eax, dword [ebp - 8]
je 0x40e3f2
push eax
call fcn.0040baba
cmp eax, ebx
pop ecx
je 0x40e3f2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40e3f2
mov eax, dword [0x4190e8]
cmp eax, dword [ebp - 8]
je 0x40e3f2
push eax
call fcn.0040baba
cmp eax, ebx
pop ecx
je 0x40e3f2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4190e0]
call fcn.0040baba
cmp eax, ebx
pop ecx
je 0x40e412
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e414
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4092c9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00426495
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00426495
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x40935f
mov dword [ebp - 0x18], esp
mov eax, 0x1d
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x40935c
push 6
call fcn.004264ad
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 7
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x40938b
push 6
call fcn.004264ad
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x1e
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x4093b9
push 6
call fcn.004264ad
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x594b4a
push 0
mov eax, 0x1f
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x4093e5
push 6
call fcn.004264ad
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x20
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x409474
push 6
call fcn.004264ad
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 3
call fcn.004264b3
cmp dword [ebp - 0x18], esp
je 0x409499
push 6
call fcn.004264ad
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x4094a1
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00426489
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00426489
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4362b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dbbab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004cfa8c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436332
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cd300
mov eax, dword [eax]
push 0x5c0e94
push eax
call fcn.004acf04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cfd17
test bl, bl
je 0x436332
push 0x5c0e94
lea ecx, [esp + 0xc]
call fcn.004d00a7
push 0x5c0ea0
lea ecx, [esp + 0xc]
call fcn.004d00a7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43636e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cfd17
jmp 0x436439
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4363f2
lea edx, [esp + 0x7c]
push 0x5c0e9c
push edx
call fcn.004acf04
add esp, 8
test eax, eax
je 0x4363f2
lea eax, [esp + 0x7c]
push 0x5c0e98
push eax
call fcn.004acf04
add esp, 8
test eax, eax
je 0x4363f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436382
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004cfd17
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x436c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x436c92
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc