joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows
Set current directory

Disassembly:
push str..jbin
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push str.lithtech.exe__rez_.._tien.rez__rez_.._rez__rez_engine.rez
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
ret

Function at 0x401020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402048
push 0x401160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x403070], 0xffffffff
or dword [0x403074], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40306c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403068]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403078], eax
call fcn.00401151
cmp dword [0x403054], 0
jne 0x4010a3
push 0x40114e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040113c
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x403064]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403060]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401000
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x402ee8
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x41b367
call fcn.0041244c
mov esi, ecx
push 0
push dword [ebp + 0xc]
lea ecx, [esi + 0x68]
push dword [ebp + 8]
call fcn.00402e9a
push 0x45
pop edx
lea ecx, [ebp - 0x18]
call fcn.0040587e
mov edx, dword [eax]
mov ecx, dword [esi + 0x6c]
and dword [ebp - 4], 0
call fcn.00405897
push dword [ebp - 0x18]
call fcn.00403648
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
call fcn.00412524
ret 8

Function at 0x40427c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x4042a6
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4042ba
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
pop esi
ret

Function at 0x404539
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423f44], 0
push esi
mov esi, edx
jne 0x404571
push ebx
push ecx
lea eax, [ebp - 0xc]
push eax
call fcn.004044c1
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.0040427c
push dword [ebp - 0xc]
mov bl, al
call fcn.00403648
pop ecx
mov al, bl
pop ebx
jmp 0x40457e
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x404581
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423f44], 0
jne 0x4045b2
push ebx
push ecx
lea eax, [ebp - 0xc]
push eax
call fcn.004044c1
mov ecx, dword [eax]
call fcn.0040428a
push dword [ebp - 0xc]
mov bl, al
call fcn.00403648
pop ecx
mov al, bl
pop ebx
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x4045c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423f44], 0
jne 0x4045f1
push ebx
push ecx
lea eax, [ebp - 0xc]
push eax
call fcn.004044c1
mov ecx, dword [eax]
call fcn.00404297
push dword [ebp - 0xc]
mov bl, al
call fcn.00403648
pop ecx
mov al, bl
pop ebx
leave
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x404601
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x423f44], 0
push esi
mov esi, ecx
jne 0x404635
push ebx
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.004044c1
mov ecx, dword [eax]
call fcn.004042a6
push dword [ebp - 0xc]
mov bl, al
call fcn.00403648
pop ecx
mov al, bl
pop ebx
jmp 0x40464c
xor edx, edx
call fcn.00404539
test al, al
je 0x40464c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
leave
ret
Function at 0x404723
Capabilities:
Get common file path

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
push 0x105
mov esi, edx
call fcn.004037ac
push eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.004037c4
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x404b75
Capabilities:
Set file attributes

Disassembly:
push 0x64
mov eax, 0x41b433
call fcn.0041244c
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.004013fe
xor ebx, ebx
push 0x5c
mov edx, esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00404914
push 0x2a
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404914
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00404494
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403648
pop ecx
jmp 0x404be7
lea eax, [ebp - 0x70]
push eax
sub esp, 0xc
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00403776
call fcn.00404b0b
cmp al, bl
je 0x404c34
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405210
test al, al
jne 0x404bc9
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00403648
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00404dfa
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x404c5f
push dword [ebp - 0x1c]
call fcn.00403648
push dword [ebp - 0x48]
call fcn.00403648
pop ecx
pop ecx
mov al, bl
call fcn.00412524
ret
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00403648
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00404dfa
push dword [ebp - 0x1c]
call fcn.00403648
push dword [ebp - 0x48]
call fcn.00403648
pop ecx
pop ecx
xor al, al
jmp 0x404c2e
mov ecx, dword [esi]
call fcn.0040428a
mov bl, al
jmp 0x404c1a

Function at 0x4052a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4052c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4052c6
xor al, al
jmp 0x4052e6
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004143a0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x411a40
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.00414612
add esp, 0x18
test eax, eax
mov dword [esi], eax
pop esi
je 0x411a68
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x411a77
mov eax, 1
ret 4

Function at 0x411d0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423214]
jne 0x411d16
repz ret
jmp fcn.00414aa5
Function at 0x419434
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00415a14
xor ebx, ebx
cmp dword [0x424ac8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x419509
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x419474
xor eax, eax
jmp 0x4195cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41946d
push eax
call fcn.004159b1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424ac8], eax
call esi
push eax
call fcn.004159b1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424acc], eax
call esi
push eax
call fcn.004159b1
mov dword [0x424ad0], eax
lea eax, [ebp - 8]
push eax
call fcn.00417375
test eax, eax
pop ecx
pop ecx
je 0x4194d7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417a58
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x419509
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004159b1
cmp eax, ebx
pop ecx
mov dword [0x424ad8], eax
je 0x419509
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004159b1
pop ecx
mov dword [0x424ad4], eax
mov eax, dword [0x424ad4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x419582
cmp dword [0x424ad8], esi
je 0x419582
push eax
call fcn.00415a1d
pop ecx
call eax
cmp eax, ebx
je 0x41954f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x424ad8]
call fcn.00415a1d
pop ecx
call eax
test eax, eax
je 0x41954f
test byte [ebp - 0x18], 1
jne 0x419582
lea eax, [ebp - 0xc]
push eax
call fcn.004173ac
test eax, eax
pop ecx
je 0x41956a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417a58
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x419579
or dword [ebp + 0x10], 0x200000
jmp 0x4195b3
or dword [ebp + 0x10], 0x40000
jmp 0x4195b3
mov eax, dword [0x424acc]
cmp eax, esi
je 0x4195b3
push eax
call fcn.00415a1d
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4195b3
mov eax, dword [0x424ad0]
cmp eax, esi
je 0x4195b3
push dword [ebp - 4]
push eax
call fcn.00415a1d
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 [0x424ac8]
call fcn.00415a1d
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402778
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x414045], 0
jne 0x402801
mov eax, esp
call fcn.00405c40
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040f844
test eax, eax
jne 0x402801
push 0x414203
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040f718
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040f698
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x4028ea
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x41405d], 0
je 0x402961
cmp byte [0x415978], 0
je 0x402961
lea edx, [esp + 8]
mov eax, 0x415978
call fcn.004028b9
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x402961
mov eax, ebx
call fcn.0040f718
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x402969
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x41405d], 0
je 0x4029e2
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.004028b9
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4029e2
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4029da
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040f798
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402aa8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402ab2
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x4283e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dl, byte [ebp + 0xc]
mov byte [ebp - 4], dl
test dl, dl
jle 0x4283fb
mov eax, dword [ebp + 8]
call fcn.005f6de4
mov dword [ebp + 8], eax
mov eax, 0x67f1b0
call fcn.005ea624
mov word [ebp - 0x14], 8
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00545054
add dword [ebp - 8], 2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 8]
mov dx, word [ebp + 0x1c]
mov word [eax + 0x34], dx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 8]
mov byte [edx + 0xf], 1
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x428458
call fcn.005f6df1
mov esp, ebp
pop ebp
ret

Function at 0x428924
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dl, byte [ebp + 0xc]
mov byte [ebp - 4], dl
test dl, dl
jle 0x42893f
mov eax, dword [ebp + 8]
call fcn.005f6de4
mov dword [ebp + 8], eax
mov eax, 0x67f1d4
call fcn.005ea624
mov word [ebp - 0x14], 8
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00545054
add dword [ebp - 8], 2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 8]
mov ax, word [ebp + 0x1c]
mov word [ecx + 0x38], ax
mov edx, dword [ebp + 8]
mov byte [edx + 0xf], 1
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x42899c
call fcn.005f6df1
mov esp, ebp
pop ebp
ret

Function at 0x428e3c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dl, byte [ebp + 0xc]
mov byte [ebp - 4], dl
test dl, dl
jle 0x428e57
mov eax, dword [ebp + 8]
call fcn.005f6de4
mov dword [ebp + 8], eax
mov eax, 0x67f1f8
call fcn.005ea624
mov word [ebp - 0x14], 8
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00545054
add dword [ebp - 8], 2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0xf], 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x428ea0
call fcn.005f6df1
mov esp, ebp
pop ebp
ret
Function at 0x428ea4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dl, byte [ebp + 0xc]
mov byte [ebp - 4], dl
test dl, dl
jle 0x428ebf
mov eax, dword [ebp + 8]
call fcn.005f6de4
mov dword [ebp + 8], eax
mov eax, 0x67f21c
call fcn.005ea624
mov word [ebp - 0x14], 8
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00545054
add dword [ebp - 8], 2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 8]
mov dx, word [ebp + 0x1c]
mov word [eax + 0x38], dx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp + 8]
mov dx, word [ebp + 0x28]
mov word [eax + 0x40], dx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
mov byte [edx + 0xf], 1
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x428f39
call fcn.005f6df1
mov esp, ebp
pop ebp
ret
Function at 0x43aae4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x6c]
sub eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
jmp 0x43ab1f
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x64]
ja 0x43aba0
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.005ea1c0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x43ab6d
mov cx, word [ebp - 4]
sub cx, si
jmp 0x43ab6f
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43ab56
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x43ab95
mov cx, word [ebp - 4]
sub cx, si
jmp 0x43ab97
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43ab7e
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x43ac02
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x30]
add edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
push edx
push edi
call fcn.0043a7b8
add esp, 0xc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x43abed
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x43ac02
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x43aaf3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x443198
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x6890ac
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
call fcn.005ea624
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, edx
lea eax, [eax + eax*4]
cmp edi, ecx
lea esi, [eax*8 + 0x68848c]
jle 0x4431e9
mov eax, ecx
push ecx
mov ecx, 0x28
cdq
idiv ecx
pop ecx
mov al, byte [esi + edx]
xor byte [ebx], al
inc ecx
inc ebx
cmp edi, ecx
jg 0x4431d2
mov word [ebp - 0x18], 0
jmp 0x44322f
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x6890fc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
call fcn.005ea624
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, edx
lea eax, [eax + eax*4]
cmp edi, ecx
lea esi, [eax*8 + 0x68848c]
jle 0x443291
mov eax, ecx
push ecx
mov ecx, 0x28
cdq
idiv ecx
pop ecx
mov al, byte [esi + edx]
xor byte [ebx], al
inc ecx
inc ebx
cmp edi, ecx
jg 0x44327a
mov word [ebp - 0x18], 0
jmp 0x4432d7
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45616c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dl, byte [ebp + 0xc]
mov byte [ebp - 4], dl
test dl, dl
jle 0x456187
mov eax, dword [ebp + 8]
call fcn.005f6de4
mov dword [ebp + 8], eax
mov eax, 0x690080
call fcn.005ea624
mov dword [ebp - 8], 1
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.005f5cc0
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
mov word [ebp - 0x14], 0x14
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00545054
add dword [ebp - 8], 2
mov eax, dword [ebp + 8]
add eax, 0x38
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x34], eax
lea edx, [ebp + 0x14]
mov eax, dword [ebp + 8]
add eax, 0x38
call fcn.005f5f0c
mov edx, dword [ebp + 8]
mov cx, word [ebp + 0x18]
mov word [edx + 0x3c], cx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x40], edx
dec dword [ebp - 8]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.005f5edc
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x456233
call fcn.005f6df1
mov esp, ebp
pop ebp
ret

Function at 0x45ddc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
test dl, dl
push ebx
push esi
mov byte [ebp - 0xc], dl
jle 0x45ddd4
call fcn.005f6de4
mov ebx, ecx
mov byte [ebp - 0x2d], dl
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
mov eax, 0x693330
call fcn.005ea624
mov word [ebp - 0x1c], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [esi]
call fcn.00545054
add dword [ebp - 0x10], 2
mov eax, dword [esi]
add eax, 0x20268
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x2026c
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x20270
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x202b4
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov ecx, dword [esi]
mov byte [ecx + 0xf], 1
push 0
push 0
mov word [ebp - 0x1c], 0x14
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea eax, [ebp - 8]
call fcn.005f5e98
inc dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [0x5473f8]
push edx
mov dl, 1
call fcn.0054b5b4
mov ecx, dword [esi]
mov edx, 2
mov dword [ecx + 0x30], eax
lea eax, [ebp - 8]
dec dword [ebp - 0x10]
call fcn.005f5edc
call fcn.00670142
mov ecx, dword [esi]
mov dword [ecx + 0x20284], eax
mov eax, dword [esi]
add eax, 0x2029c
push eax
call fcn.0066f600
mov edx, 0x69261b
mov eax, dword [esi]
add eax, 0x20270
call fcn.005f686c
mov edx, dword [esi]
xor ecx, ecx
mov dword [edx + 0x202bc], ecx
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
mov eax, dword [esi]
cmp byte [ebp - 0x2d], 0
je 0x45dec7
call fcn.005f6df1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x371], 0
jne 0x493c58
mov eax, dword [ebp - 4]
cmp byte [eax + 0x238], 0
jne 0x493c58
mov eax, dword [ebp - 4]
mov byte [eax + 0x345], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x371], 1
xor edx, edx
push ebp
push 0x48fb29
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x365], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004938d8
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov byte [eax + 0x371], dl
cmp byte [ebp - 5], 0
je 0x493c17
mov eax, dword [ebp - 4]
mov byte [eax + 0x372], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fb30
mov eax, dword [ebp - 4]
mov byte [eax + 0x345], 0
ret
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret