joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4197aa
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x451d80]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x419848
push 0x44136c
push 4
push eax
call fcn.00427b1f
push eax
call fcn.00404150
add esp, 0x10
push ebx
push edi
call fcn.0042a038
mov edi, dword [eax]
call fcn.0042a038
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00429fde
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0042a038
cmp dword [eax], ebx
je 0x41985f
call fcn.0042a038
push dword [eax]
call fcn.00406a60
pop ecx
jmp 0x419866
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4197f9
jmp 0x4198d8
call fcn.0042a038
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4198d4
cmp dword [ebp - 0x40], esi
jae 0x4198d4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0042a080
add esp, 0xc
push 0x4410cc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4198c6
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4198c6
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4198c6
push ebx
push ebx
push esi
jmp 0x4198cc
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4198d6
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0042655f
add ebp, 0x1f4
leave
ret
Function at 0x41a9cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x43d4af
call fcn.00429c01
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0042267f
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41aa18
call fcn.0042267f
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41aa29
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41aa36
or eax, 0xffffffff
jmp 0x41ab92
mov ecx, esi
call fcn.0041a4f2
mov dword [ebp - 0x14], eax
call fcn.0041e9ea
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41aab4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41aab4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41aab4
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00419278
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41aab4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41aab4
mov ecx, ebx
call fcn.0041c351
test eax, eax
je 0x41aab4
push 0
mov ecx, ebx
call fcn.0041c36c
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00420307
push dword [ebp - 0x14]
call fcn.0041e942
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041a7d5
xor edi, edi
cmp eax, edi
je 0x41ab11
test byte [esi + 0x3c], 0x10
je 0x41aafb
push 4
pop edi
mov ecx, esi
call fcn.0041c2bb
test ax, 0x100
je 0x41aaf1
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041e4d8
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41ab11
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041c3ae
or dword [ebp - 4], 0xffffffff
jmp 0x41ab3c
cmp dword [ebp - 0x28], edi
je 0x41ab4a
push 1
mov ecx, ebx
call fcn.0041c36c
cmp dword [ebp - 0x2c], edi
je 0x41ab5a
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41ab73
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41ab73
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041a52c
cmp dword [esi + 0x58], edi
je 0x41ab8f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00429c6d
ret
Function at 0x421421
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x421464
call fcn.0042267f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421464
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42147f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00420fdb
test ebx, ebx
mov esi, eax
je 0x42147d
test edi, edi
je 0x42147d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x423359
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x423387
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4233a5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004232c3
jmp 0x4233a5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4233a5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004232c3
test edi, edi
mov eax, edi
jne 0x42338f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x455274]
test ecx, ecx
je 0x423468
jmp 0x423358
ret 8

Function at 0x42655f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451d80]
jne 0x426569
repz ret
jmp fcn.0042d60e
Function at 0x426bd4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x426c11
cmp dword [ebp + 0x14], edi
je 0x426c11
cmp ecx, edi
jne 0x426c18
call fcn.0042a038
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004269bb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x426c2c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x426c4d
cmp ebx, 0xffffffff
je 0x426c3c
push ebx
push edi
push ecx
call fcn.0042a080
add esp, 0xc
cmp esi, edi
je 0x426bf9
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x426bf9
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x426c69
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x426c70
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x426d61
test word [esi + 0xc], 0x10c
je 0x426cc4
mov eax, dword [esi + 4]
test eax, eax
je 0x426cc4
jl 0x426dc2
cmp ebx, eax
mov edi, ebx
jb 0x426c95
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x426d69
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004267df
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x426d59
cmp ebx, dword [ebp - 0xc]
jb 0x426d31
cmp dword [ebp - 0xc], 0
je 0x426cee
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x426ce3
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x426cea
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x426cf9
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x426cf9
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x426d95
push eax
push dword [ebp - 8]
push esi
call fcn.0042e239
pop ecx
push eax
call fcn.0042e947
add esp, 0xc
test eax, eax
je 0x426dd4
cmp eax, 0xffffffff
je 0x426dc2
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x426d59
push esi
call fcn.0042e266
cmp eax, 0xffffffff
pop ecx
je 0x426dc6
cmp dword [ebp - 4], 0
je 0x426d95
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x426c78
mov eax, dword [ebp + 0x14]
jmp 0x426c13
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x426d80
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042a080
add esp, 0xc
call fcn.0042a038
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x426c09
cmp dword [ebp + 0xc], 0xffffffff
je 0x426dab
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042a080
add esp, 0xc
call fcn.0042a038
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x426c09
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x426c13
or dword [esi + 0xc], 0x10
jmp 0x426dc6
Function at 0x427be9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x427c16
call fcn.0042a04b
mov dword [eax], esi
call fcn.0042a038
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004269bb
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x427bf2
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427c45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042a05e
pop ecx
call fcn.0042a038
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x427c6c
test al, 1
je 0x427c6c
test byte [esp + 0xc], 2
je 0x427c6c
call fcn.0042a04b
mov dword [eax], 5
call fcn.0042a038
mov dword [eax], 0xd
jmp 0x427c3c
xor eax, eax
pop esi
ret

Function at 0x42c382
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 + 0x451f20]
je 0x42c39d
inc edi
cmp edi, 0x17
jb 0x42c38e
cmp edi, 0x17
jae 0x42c51d
push ebp
push 3
call fcn.00437953
cmp eax, 1
pop ecx
je 0x42c4e9
push 3
call fcn.00437953
test eax, eax
pop ecx
jne 0x42c3d1
cmp dword [0x451d4c], 1
je 0x42c4e9
cmp ebx, 0xfc
je 0x42c51c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x455590
push ebp
call fcn.0042d93b
add esp, 0xc
test eax, eax
je 0x42c407
push esi
push esi
push esi
push esi
push esi
call fcn.004268bf
add esp, 0x14
push 0x104
mov esi, 0x4555a9
push esi
push 0
mov byte [0x4556ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42c44b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042d93b
add esp, 0xc
test eax, eax
je 0x42c44b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004268bf
add esp, 0x14
push esi
call fcn.0042d9a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42c490
push esi
call fcn.0042d9a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4558a4
push 0x4430a4
sub ecx, eax
push ecx
push eax
call fcn.004378a0
add esp, 0x14
test eax, eax
je 0x42c490
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004268bf
add esp, 0x14
jmp 0x42c492
xor esi, esi
push 0x4430a0
push ebx
push ebp
call fcn.0043782f
add esp, 0xc
test eax, eax
je 0x42c4b2
push esi
push esi
push esi
push esi
push esi
call fcn.004268bf
add esp, 0x14
push dword [edi*8 + 0x451f24]
push ebx
push ebp
call fcn.0043782f
add esp, 0xc
test eax, eax
je 0x42c4d4
push esi
push esi
push esi
push esi
push esi
call fcn.004268bf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00437672
add esp, 0xc
jmp 0x42c51c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42c51c
cmp ebp, 0xffffffff
je 0x42c51c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x451f24]
push dword [esi]
call fcn.0042d9a0
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 0x437672
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042cf46
xor ebx, ebx
cmp dword [0x456098], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x437748
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x437828
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x437828
push eax
call fcn.0042ced8
mov dword [esp], 0x443428
push edi
mov dword [0x456098], eax
call esi
push eax
call fcn.0042ced8
mov dword [esp], 0x443414
push edi
mov dword [0x45609c], eax
call esi
push eax
call fcn.0042ced8
mov dword [0x4560a0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00429d39
test eax, eax
pop ecx
pop ecx
je 0x437716
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004268bf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x437748
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042ced8
cmp eax, ebx
pop ecx
mov dword [0x4560a8], eax
je 0x437748
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ced8
pop ecx
mov dword [0x4560a4], eax
mov eax, dword [0x4560a4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4377cd
cmp dword [0x4560a8], ecx
je 0x4377cd
push eax
call fcn.0042cf4f
push dword [0x4560a8]
mov esi, eax
call fcn.0042cf4f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4377cd
cmp edi, ebx
je 0x4377cd
call esi
cmp eax, ebx
je 0x43779a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43779a
test byte [ebp - 0x18], 1
jne 0x4377cd
lea eax, [ebp - 0x10]
push eax
call fcn.00429d70
test eax, eax
pop ecx
je 0x4377b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004268bf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4377c4
or dword [ebp + 0x10], 0x200000
jmp 0x437808
or dword [ebp + 0x10], 0x40000
jmp 0x437808
mov eax, dword [0x45609c]
cmp eax, dword [ebp - 8]
je 0x437808
push eax
call fcn.0042cf4f
cmp eax, ebx
pop ecx
je 0x437808
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x437808
mov eax, dword [0x4560a0]
cmp eax, dword [ebp - 8]
je 0x437808
push eax
call fcn.0042cf4f
cmp eax, ebx
pop ecx
je 0x437808
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456098]
call fcn.0042cf4f
cmp eax, ebx
pop ecx
je 0x437828
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43782a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43cbc2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x451d80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043cb57
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.0042a080
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 0x43cc11
cmp dword [ebp - 0x1c], 5
jb 0x43cc29
jmp 0x43cc25
cmp dword [ebp - 0x10], 1
jne 0x43cc29
cmp dword [ebp - 0x1c], 4
ja 0x43cc25
jne 0x43cc29
cmp dword [ebp - 0x18], 0
jbe 0x43cc29
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x444544
call fcn.0043ca48
test eax, eax
jge 0x43cc4a
mov byte [0x456495], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042655f
add ebp, 0x78
leave
ret
Function at 0x401eff
Capabilities:
Create thread

Disassembly:
mov eax, 0x434c98
call fcn.00416094
push ecx
push ebx
push edi
push 8
xor ebx, ebx
call fcn.00416050
pop ecx
test eax, eax
je 0x401f29
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x401f2b
mov eax, ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
lea edi, [esi + 4]
push edi
push ebx
push eax
push 0x401af7
push ebx
push ebx
call fcn.0041d371
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x401f5f
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 6
mov dword [edi], ebx
call fcn.004145ca
int3
Function at 0x40f771
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f78f
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x40f780
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f797
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f7b5
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x77]
xor byte [ecx], al
inc ebx
cmp ebx, 0x10
jb 0x40f7a6
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f7bd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f7db
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x78]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x40f7cc
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f7e3
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f801
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x40f7f2
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f809
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f827
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x80]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x40f818
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f82f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f84d
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x12
jb 0x40f83e
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f855
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f873
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x40f864
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f87b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f899
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x80]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x40f88a
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f8a1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f8bf
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x77]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x40f8b0
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret
Function at 0x40f8c7
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f8e5
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x78]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x40f8d6
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f8ed
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f90b
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x40f8fc
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f913
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f931
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x40f922
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f939
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f957
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x18
jb 0x40f948
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f95f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f97d
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7b]
xor byte [ecx], al
inc ebx
cmp ebx, 0x1c
jb 0x40f96e
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f985
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f9a3
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7c]
xor byte [ecx], al
inc ebx
cmp ebx, 0x1c
jb 0x40f994
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f9ab
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f9c9
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x1c
jb 0x40f9ba
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f9d1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40f9ef
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7c]
xor byte [ecx], al
inc ebx
cmp ebx, 0x39
jb 0x40f9e0
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x40f9f7
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x40fa15
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x39
jb 0x40fa06
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret