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

Disassembly:
sub esp, 0x254
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push edi
mov ecx, 0xb
lea esi, [esp + 0x260]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push 0x104
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], 4
call fcn.00418130
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREHonor_technologiesCurrHandSetWinDriver
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4071c1
push str.INFO:_DriverInfo_Open_Key_error._n
call fcn.00404820
add esp, 4
jmp 0x4072fd
cmp dword [esp + 0x20], 2
jne 0x4072e2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
xor esi, esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x168]
push eax
push esi
push ecx
call edi
test eax, eax
jne 0x4072e2
lea ecx, [ecx]
lea edx, [esp + 0x154]
push str.MajorVersion
push edx
add esi, 1
call fcn.00417c00
add esp, 8
test eax, eax
je 0x407233
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00419ea0
add esp, 0xc
lea eax, [esp + 0x154]
push str.MinorVersion
push eax
call fcn.00417c00
add esp, 8
test eax, eax
je 0x407263
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00419ea0
add esp, 0xc
lea ecx, [esp + 0x154]
push str.Customization
push ecx
call fcn.00417c00
add esp, 8
test eax, eax
je 0x407293
mov edx, dword [esp + 8]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00419ea0
add esp, 0xc
push 0x104
lea edx, [esp + 0x54]
push 0
push edx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], 4
call fcn.00418130
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x168]
push eax
push esi
push ecx
call edi
test eax, eax
je 0x407200
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREHonor_technologiesCurrHandSetWinDriver
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [esp + 0x258]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041811d
add esp, 0x254
ret
Function at 0x407320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42bb86
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
push 0x80000002
mov dword [esp + 0x28], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.ComDB
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
or edi, 0xffffffff
test esi, esi
je 0x407415
call fcn.0040f911
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4073c1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push esi
lea ecx, [esp + 0x10]
push str.RegQueryValueEx_errorcode:__d
push ecx
mov dword [esp + 0xb4], 0
call fcn.00403ab0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xa8], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407415
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040f911
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40742f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x25]
movzx edx, byte [esp + 0x24]
movzx eax, byte [esp + 0x23]
push ecx
movzx ecx, byte [esp + 0x26]
push edx
movzx edx, byte [esp + 0x29]
push eax
movzx eax, byte [esp + 0x2c]
push ecx
movzx ecx, byte [esp + 0x2f]
push edx
movzx edx, byte [esp + 0x32]
push eax
movzx eax, byte [esp + 0x35]
push ecx
movzx ecx, byte [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str.HWHandsetComDB_before_install:__d__d__d__d__d__d__d__d__d__d_n
push edx
mov dword [esp + 0xd8], 1
call fcn.00403ab0
mov esi, dword [esp + 0x3c]
push esi
call fcn.00404820
lea eax, [esi - 0x10]
add esp, 0x34
mov dword [esp + 0xa8], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4074c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0041811d
add esp, 0xa0
ret
Function at 0x4074f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42bbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea eax, [esp + 8]
push eax
mov dword [esp + 0x34], 0
call fcn.004044f0
add esp, 4
test al, al
jne 0x407566
cmp dword [esp + 0x20], 0x10
jb 0x407656
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x40764e
push 0x104
push 0
push esi
call fcn.00418130
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x20], 0x10
jae 0x407585
lea edx, [esp + 0xc]
mov ecx, esi
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x407587
call fcn.00404f90
test eax, eax
mov eax, esi
je 0x4075c9
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4075a3
mov edx, dword [str.DriverX64]
mov dword [eax], edx
mov ecx, dword [0x42f5f8]
mov dword [eax + 4], ecx
mov edx, dword [0x42f5fc]
mov dword [eax + 8], edx
jmp 0x4075f4
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4075d0
mov ecx, dword [str.DriverX86]
mov dword [eax], ecx
mov edx, dword [0x42f5ec]
mov dword [eax + 4], edx
mov ecx, dword [0x42f5f0]
mov dword [eax + 8], ecx
push str.Info_t:_Driver_path:
call fcn.00404820
push esi
call fcn.00404820
push 0x42f5d0
call fcn.00404820
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x407635
cmp dword [esp + 0x20], 0x10
jb 0x407631
mov edx, dword [esp + 0xc]
push edx
call fcn.0040f57f
add esp, 4
xor eax, eax
jmp 0x40765b
push str.Error_:_Driver_path_is_not_founded._n
call fcn.00404820
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x407656
mov eax, dword [esp + 0xc]
push eax
call fcn.0040f57f
add esp, 4
mov eax, 0x4e24
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041811d
add esp, 0x2c
ret
Function at 0x40a5e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42bf2b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
push eax
mov dword [esp + 0x134], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x40a668
cmp dword [esp + 0x1c], 0x10
jb 0x40a65e
mov eax, dword [esp + 8]
push eax
call fcn.0040f57f
add esp, 4
mov eax, 0x4e24
jmp 0x40a751
lea ecx, [esp + 4]
push ecx
call fcn.004044f0
add esp, 4
test al, al
jne 0x40a697
cmp dword [esp + 0x1c], 0x10
jb 0x40a65e
mov edx, dword [esp + 8]
push edx
call fcn.0040f57f
add esp, 4
mov eax, 0x4e24
jmp 0x40a751
push 0x104
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00418130
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esp + 0x1c], 0x10
jae 0x40a6ba
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x40a6c0
mov ecx, dword [0x4433f0]
push ecx
push 0x4519f8
call fcn.004054e0
movzx eax, al
add esp, 8
cmp dword [0x43900c], 2
mov dword [0x4432dc], eax
jne 0x40a72d
test eax, eax
jne 0x40a72d
mov edx, dword [0x46420c]
push edx
lea eax, [esp + 0x24]
push 0x44a6f8
push eax
call fcn.00408770
mov ecx, dword [0x4433f0]
push ecx
lea edx, [esp + 0x30]
push 0x4519f8
push edx
call fcn.0040a310
add esp, 0x18
mov dword [0x4432e0], eax
jmp 0x40a73b
push eax
push str.templog_InstallHOTFIXFiles____g_bRndisBKExist:_d_n
call fcn.00404820
add esp, 8
cmp dword [esp + 0x1c], 0x10
jb 0x40a74f
mov eax, dword [esp + 8]
push eax
call fcn.0040f57f
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0041811d
add esp, 0x130
ret
Function at 0x40d700
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42c3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
push 0x100
push edi
push 0x4432f0
mov dword [esp + 0x58], edi
call fcn.00418130
lea eax, [esp + 0x30]
push eax
call fcn.004044f0
add esp, 0x10
test al, al
jne 0x40d78c
cmp dword [esp + 0x3c], 0x10
jb 0x40d782
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040f57f
add esp, 4
mov eax, 0x4e24
jmp 0x40d8c9
mov edx, dword [esp + 0x28]
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jae 0x40d79f
lea edx, [esp + 0x28]
mov ecx, 0x4432f0
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x40d7a4
mov eax, 0x4432f0
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40d7c0
mov edx, dword [str.Driver_]
mov ecx, dword [0x43085c]
mov dword [eax], edx
mov dl, byte [0x430860]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov eax, 0x4432f0
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40d7f0
mov ecx, dword [str.install.xml]
mov edx, dword [0x430850]
mov dword [eax], ecx
mov ecx, dword [0x430854]
push esi
push str.DriverVersion
mov dword [eax + 4], edx
push 0x4432f0
mov dword [eax + 8], ecx
call fcn.0040cb30
add esp, 0xc
test eax, eax
je 0x40d853
mov dword [esi + 0x20], 0x64
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [0x4432d1], 1
call fcn.0040d3b0
cmp dword [esp + 0x3c], ebp
mov esi, eax
jb 0x40d8c7
mov edx, dword [esp + 0x28]
push edx
jmp 0x40d8bf
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntA]
push esi
call ebx
cmp byte [esi], 0
mov dword [esp + 0x14], eax
je 0x40d895
lea ebp, [esp + 0x14]
lea esp, [esp]
cmp byte [esi + edi], 0x2e
jne 0x40d883
lea eax, [esi + edi + 1]
push eax
add ebp, 4
call ebx
mov dword [ebp], eax
add edi, 1
cmp byte [esi + edi], 0
jne 0x40d870
mov eax, dword [esp + 0x14]
mov ebp, 0x10
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x64
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.0040d3b0
cmp dword [esp + 0x3c], ebp
mov esi, eax
jb 0x40d8c7
mov eax, dword [esp + 0x28]
push eax
call fcn.0040f57f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0041811d
add esp, 0x3c
ret

Function at 0x40d8f0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x40d908
mov eax, 0x4e24
pop esi
ret
push esi
call fcn.0040be80
mov eax, dword [0x458d04]
push eax
push 0x458d08
push esi
call fcn.00407a30
mov ecx, dword [0x458cf8]
push ecx
push 0x4433f8
push esi
call fcn.00407a30
add esp, 0x1c
xor eax, eax
pop esi
ret
Function at 0x40f490
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push 0x4309f8
push eax
mov dword [esp + 0x10], ecx
xor bl, bl
call fcn.004196a4
mov esi, eax
add esp, 8
test esi, esi
je 0x40f512
push ebp
push edi
push 2
push 0
push esi
call fcn.0041ae9d
push esi
call fcn.0041ada8
push 0
push 0
push esi
mov ebp, eax
call fcn.0041ae9d
lea ecx, [ebp + 1]
push 0
push ecx
call fcn.00401ef0
push esi
push 1
mov edi, eax
push ebp
push edi
call fcn.00419e81
add esp, 0x34
cmp eax, 1
jne 0x40f4fd
mov ecx, dword [esp + 0x10]
push edi
mov byte [edi + ebp], bl
call fcn.0040f310
mov bl, al
push esi
call fcn.00419415
push edi
call fcn.0040f57f
add esp, 8
test bl, bl
pop edi
pop ebp
jne 0x40f51d
mov ecx, dword [esp + 8]
push 0
call fcn.0040f310
pop esi
mov al, bl
pop ebx
pop ecx
ret 4

Function at 0x41811d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441dac]
jne 0x418127
repz ret
jmp fcn.0041f8cf
Function at 0x425b62
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041f000
xor ebx, ebx
cmp dword [0x492cb0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x425c37
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x425ba2
xor eax, eax
jmp 0x425cfb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4329c0
push edi
call esi
cmp eax, ebx
je 0x425b9b
push eax
call fcn.0041ef9d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x492cb0], eax
call esi
push eax
call fcn.0041ef9d
mov dword [esp], 0x43299c
push edi
mov dword [0x492cb4], eax
call esi
push eax
call fcn.0041ef9d
mov dword [0x492cb8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041d255
test eax, eax
pop ecx
pop ecx
je 0x425c05
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00418d92
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x425c37
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041ef9d
cmp eax, ebx
pop ecx
mov dword [0x492cc0], eax
je 0x425c37
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041ef9d
pop ecx
mov dword [0x492cbc], eax
mov eax, dword [0x492cbc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x425cb0
cmp dword [0x492cc0], esi
je 0x425cb0
push eax
call fcn.0041f009
pop ecx
call eax
cmp eax, ebx
je 0x425c7d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x492cc0]
call fcn.0041f009
pop ecx
call eax
test eax, eax
je 0x425c7d
test byte [ebp - 0x18], 1
jne 0x425cb0
lea eax, [ebp - 0xc]
push eax
call fcn.0041d28c
test eax, eax
pop ecx
je 0x425c98
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00418d92
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x425ca7
or dword [ebp + 0x10], 0x200000
jmp 0x425ce1
or dword [ebp + 0x10], 0x40000
jmp 0x425ce1
mov eax, dword [0x492cb4]
cmp eax, esi
je 0x425ce1
push eax
call fcn.0041f009
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425ce1
mov eax, dword [0x492cb8]
cmp eax, esi
je 0x425ce1
push dword [ebp - 4]
push eax
call fcn.0041f009
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x492cb0]
call fcn.0041f009
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b2fe
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x441dac]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b293
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00418130
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b34d
cmp dword [ebp - 0x1c], 5
jb 0x42b365
jmp 0x42b361
cmp dword [ebp - 0x10], 1
jne 0x42b365
cmp dword [ebp - 0x1c], 4
ja 0x42b361
jne 0x42b365
cmp dword [ebp - 0x18], 0
jbe 0x42b365
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43339c
call fcn.0042b167
test eax, eax
jge 0x42b386
mov byte [0x4432ec], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041811d
add ebp, 0x78
leave
ret
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40673a
pop dword [ebp - 0x34]
mov eax, 0x40673a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x13d9963e
sub dword [ebp - 0x44], 0xc58750f3
mov dword [ebp - 0x40], 0xb4fca31c
sub dword [ebp - 0x40], 0x82c956d7
mov dword [ebp - 0x3c], 0xbb559fa9
sub dword [ebp - 0x3c], 0x6f095b7b
mov dword [ebp - 0x38], 0xdb46a925
sub dword [ebp - 0x38], 0xdb46a925
lea eax, [ebp - 0x44]
push eax
mov eax, 0x36732bec
sub eax, 0x3632aae8
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x79c94ba
add dword [ebp - 0x44], 0x6cd5d49c
mov dword [ebp - 0x40], 0x6370aba1
add dword [ebp - 0x40], 0xddfbb5d4
mov dword [ebp - 0x3c], 0xbdac8088
sub dword [ebp - 0x3c], 0x5a3d141c
mov dword [ebp - 0x38], 0x146475e3
add dword [ebp - 0x38], 0xeb9b8a1d
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x38a49
push 0
call eax
mov ecx, 0xee45be10
sub ecx, 0xee45718e
mov edx, eax
mov esi, 0x1a094f4c
sub esi, 0x19c26b4c
add esi, dword [ebp - 0x34]
mov ebx, 0x25effad4
sub ebx, 0x1f8e6aa4
mov dword [ebp - 0x20], 0x635295e2
mov edi, dword [esi]
xor dword [ebp - 8], 0x835e7674
xor edi, ebx
sub dword [ebp - 0x14], 0x4175719a
mov dword [edx], edi
add edx, 0xc0b72735
sub edx, 0xc0b72731
add esi, 0x232b138f
sub esi, 0x232b138b
loop 0x406852
add eax, 0x124db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00402767
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00402767
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00402767
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402767
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00402767
mov dword [0x41203c], eax
call fcn.00402767
test eax, eax
jge 0x402550
push 8
call fcn.00402767
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402767
pop ecx
push 1
call fcn.00402767
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402767
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00402767
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00402767
jmp 0x402495

Function at 0x402767
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402776
pop dword [ebp - 0x2c]
mov eax, 0x402776
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3a6e6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4a73
mov esi, eax
mov edx, 0x4bcdac6
sub edx, 0x47b9f02
add edx, dword [ebp - 0x2c]
mov ebx, 0x7f6a9e54
sub dword [ebp - 0xc], 0xe0dd3ae8
mov edi, dword [edx]
xor dword [ebp - 8], edi
sub edi, ebx
mov dword [ebp - 0x14], 0xe65d3eed
mov dword [esi], edi
add esi, 0x84a3a535
sub esi, 0x84a3a531
add edx, 0x36fd4a96
sub edx, 0x36fd4a92
loop 0x4027bf
add eax, 0x11c9f
mov ebx, eax
add eax, 0x8772a361
add eax, 0x788d5ca4
mov ecx, 0xb9337874
sub ecx, 0xb8f37874
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x535000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x53500c
pop ebx
sub ebx, 0x8d00c
push 0
pop ecx
push ebx
sub dword [ebx + 0x2dc], 0x5c7d551b
xor dword [ebx + 0x16c], 0x1f6e71d3
xor dword [ebx + 0x78], 0x48c038a0
add dword [ebx + 0x13c], 0x1dba3383
not dword [ebx + 0x1c4]
add dword [ebx + 0x8c], 0xf113dc0
xor dword [ebx + 0x2b4], 0x57292426
add dword [ebx + 0x90], 0x72815eba
add dword [ebx + 0xdc], 0x3f676a03
sub dword [ebx + 0xac], 0x2cf74d38
add dword [ebx + 0xe0], 0x6b69131d
add dword [ebx + 0x29c], 0x2c485d6c
xor dword [ebx + 0xf4], 0x608f0170
sub dword [ebx + 0xbc], 0x210a4531
xor dword [ebx + 0x30c], 0x594b469c
not dword [ebx + 0xa8]
add dword [ebx + 0x228], 0x44c32042
not dword [ebx + 0x28]
not dword [ebx + 0x168]
add dword [ebx + 0x44], 0x4a34433d
not dword [ebx + 0x290]
sub dword [ebx + 0x150], 0x23f9257e
xor dword [ebx + 0x25c], 0x75b06c62
sub dword [ebx + 0x200], 0x315606bb
add dword [ebx + 0x1dc], 0x544d5946
xor dword [ebx + 0x54], 0x48fb5edc
sub dword [ebx + 0x3c8], 0x4b566e4a
xor dword [ebx + 0x284], 0x59a63ad8
not dword [ebx + 0x3d4]
not dword [ebx + 0x12c]
not dword [ebx + 0x138]
add dword [ebx + 0x70], 0x61052e5c
add dword [ebx + 0x308], 0x6d9a177e
not dword [ebx + 0xb4]
not dword [ebx + 0x318]
not dword [ebx + 0x1b8]
add dword [ebx + 0xe8], 0x39d6514c
xor dword [ebx + 0xc0], 0x593a3e75
sub dword [ebx + 0x14], 0x34c7254a
xor dword [ebx + 0x144], 0x4b767c0f
xor dword [ebx + 0x2bc], 0xfe146f3
not dword [ebx + 0x1b4]
not dword [ebx + 0x18]
not dword [ebx + 0xec]
sub dword [ebx + 0x354], 0x511101c
xor dword [ebx + 0x1f4], 0x7c8b0113
add dword [ebx + 0x2e0], 0x4e59037f
xor dword [ebx + 0x204], 0xa74530b
not dword [ebx + 0x3f0]
not dword [ebx + 0x36c]
sub dword [ebx + 0xf0], 0x2e2716d5
add dword [ebx + 0x3a0], 0x7dcd5ad3
sub dword [ebx + 0x124], 0x45c12a3f
not dword [ebx + 0x3f8]
not dword [ebx + 0x7c]
add dword [ebx + 0x3bc], 0x4b5662fc
not dword [ebx + 0x38c]
add dword [ebx + 0x3b4], 0x4716e9b
sub dword [ebx + 0x268], 0x7b5e5ed3
xor dword [ebx + 0x64], 0x79ae5b82
xor dword [ebx + 0x68], 0x21a5808
xor dword [ebx + 0x1ac], 0x1b11c25
not dword [ebx + 0xe4]
xor dword [ebx + 0x238], 0x17d02532
not dword [ebx + 0x158]
not dword [ebx + 0x2d8]
xor dword [ebx + 0x384], 0x6b5c1d99
add dword [ebx + 0x4c], 0x7063f5f
add dword [ebx + 0x328], 0x35035334
xor dword [ebx + 0x114], 0x10564ac8
add dword [ebx + 0x1cc], 0x82f30d6
sub dword [ebx + 0x2a8], 0xa784eff
sub dword [ebx + 0x198], 0xe8654bf
add dword [ebx + 0x50], 0x63ca43fa
add dword [ebx + 0x194], 0x5a675ee3
sub dword [ebx + 0x3a4], 0x6a3c4d34
not dword [ebx + 0x60]
xor dword [ebx + 0x5c], 0xcb362ec
add dword [ebx + 0x3d8], 0x68ea7a5d
not dword [ebx + 0x244]
not dword [ebx + 0x378]
add dword [ebx + 0x154], 0x6cd729aa
add dword [ebx + 0x234], 0x6de47141
xor dword [ebx + 0xd0], 0x409c43f3
not dword [ebx + 0x2b8]
not dword [ebx + 0x14c]
not dword [ebx + 0x2d4]
xor dword [ebx + 0x270], 0x7f203390
xor dword [ebx + 0x210], 0x2ea761a0
sub dword [ebx + 0x2f4], 0x7aa66ab
xor dword [ebx + 0x98], 0x1baa4fc7
sub dword [ebx + 0x330], 0x3dad3c3a
xor dword [ebx + 0xc8], 0x3d13443
invalid
inc ebx