joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4738e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x473948
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00472614
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x473a2a
cmp edi, esi
jne 0x473956
mov eax, 0x1001
jmp 0x473a2a
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00472614
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add edi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00474a9c
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x473a00
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00474a9c
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x4739be
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.00472614
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x473a34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov esi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x473a94
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00472614
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x473ba5
cmp esi, edi
jne 0x473aa2
mov eax, 0x1001
jmp 0x473ba5
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00472614
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add esi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00474a9c
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jbe 0x473b7b
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00474a9c
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add esi, eax
mov ecx, dword [ebp - 4]
add edi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x473b22
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call fcn.00472614
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x473d4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov dword [esp], ecx
mov edi, edx
mov edx, dword [esp]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x3c]
mov dword [edx], esi
lea edx, [ebx + 0x18]
call fcn.00474a9c
xor ecx, ecx
mov edx, edi
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x473d83
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x473d75
mov eax, dword [esp]
mov dword [eax], esi
xor eax, eax
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47c508
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404870
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004032bc
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409d7c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48112c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00480bcc
test byte [ebx + 0x23d], 4
jne 0x4811c1
mov edx, esp
mov eax, ebx
call fcn.0044d4bc
push esp
mov eax, ebx
call fcn.00454760
push eax
push 0
mov eax, ebx
test eax, eax
je 0x481161
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x481192
mov ecx, dword [0x4ab068]
mov dl, 1
mov eax, dword [0x4677d0]
call fcn.0040d2d8
call fcn.004042ac
mov eax, ebx
call fcn.00481734
cmp byte [ebx + 0x57], 0
jne 0x4811c8
mov eax, ebx
call fcn.00454974
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4811c8
push 0
mov eax, ebx
call fcn.00454974
push eax
call sub.user32.dll_ShowWindow
jmp 0x4811c8
mov eax, ebx
call fcn.00451724
add esp, 0x10
pop ebx
ret

Function at 0x487f6c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x487f9a
mov eax, ebx
call fcn.00488a20
cmp dword [ebx + 0x40], 0
je 0x487f93
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48800b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x487ffd
cmp dword [ebx + 8], 0
je 0x487fbc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x487fce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x487ffd
cmp dword [ebx + 8], 0
je 0x487faf
cmp eax, 3
je 0x487fe1
dec eax
jne 0x487faf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x487faf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x487faf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x488029
cmp dword [ebx + 0x14], 0xcc
je 0x488029
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00488034
pop ebx
ret
Function at 0x498958
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d30
mov eax, dword [ebp - 8]
call fcn.00404d30
xor eax, eax
push ebp
push 0x498a23
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 8]
call fcn.00404d40
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x498a30
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d40
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498a2a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404894
ret

Function at 0x498a38
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d30
mov eax, dword [ebp - 8]
call fcn.00404d30
mov eax, dword [ebp - 0xc]
call fcn.00404d30
mov eax, dword [ebp + 0xc]
call fcn.00404d30
xor eax, eax
push ebp
push 0x498b50
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404d40
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x498b60
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d40
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404d40
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d40
push eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x498b06
call fcn.00403a58
push eax
push edi
push ebx
call sub.wininet.dll_InternetConnectA
push esi
lea eax, [ebp - 0x20]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498b57
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404894
lea eax, [ebp + 0xc]
call fcn.00404870
ret
Function at 0x49c7d8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.004032bc
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x49c806
mov al, 1
jmp 0x49c808
xor eax, eax
add esp, 0xc
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x51e237f8
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..tls
mov ebx, 0x42f314
nop
nop
mov ecx, 0x16981d15
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100014c4
Capabilities:
Terminate process

Disassembly:
jmp 0x100189c0
call fcn.10001c5d
test al, al
je 0x10018a0b
push esi
push str.Its_VM_Machine_detected_
push 0x101ee890
call fcn.1000185c
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10002022
mov ecx, esi
call fcn.1000187f
push 0x40
push str.Blocked_VMWare
push str.Virtual_machines_are_not_allowed_to_play_on_this_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
ret
Function at 0x10001c5d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x10017d20
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push str.HARDWAREACPIDSDTVBOX__
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10017d4e
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
pop ecx
ret

Function at 0x10002432
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1000fa30
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [ebp + 0x4c]
cmp esi, dword [ebp + 0x50]
push edi
lea edi, [ebp + 0x48]
mov ebx, ecx
jbe 0x1000fa50
call fcn.10117fcd
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x44], eax
jbe 0x1000fa61
call fcn.10117fcd
cmp edi, edi
je 0x1000fa6a
call fcn.10117fcd
cmp esi, dword [esp + 0x44]
je 0x1000fb51
cmp esi, dword [edi + 8]
fld dword [0x101a16a4]
fstp dword [esp + 0x20]
jb 0x1000fa88
call fcn.10117fcd
cmp esi, dword [edi + 8]
fld dword [esi + 0x28]
fstp dword [esp + 0x1c]
jb 0x1000fa99
call fcn.10117fcd
cmp esi, dword [edi + 8]
fld dword [esi + 0x2c]
fstp dword [esp + 0x24]
fld dword [0x101a16a4]
fstp dword [esp + 0x14]
jb 0x1000fab4
call fcn.10117fcd
cmp esi, dword [edi + 8]
fld dword [esi + 0x30]
fstp dword [esp + 0x10]
jb 0x1000fac5
call fcn.10117fcd
fld dword [esi + 0x34]
mov eax, dword [ebx + 0xc]
fstp dword [esp + 0x18]
push ebp
fld dword [esp + 0x14]
push eax
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x3c]
lea edx, [esp + 0x28]
fld dword [esp + 0x28]
push edx
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x4c]
call fcn.1000133e
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1000133e
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.1000133e
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.1000133e
add esp, 0x40
cmp esi, dword [edi + 8]
jb 0x1000fb49
call fcn.10117fcd
add esi, 0x78
jmp 0x1000fa50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x10013260
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x40
push esi
push edi
push ebx
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10013292
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100132ab
xor ebp, ebp
cmp dword [esp + 0xc], esi
je 0x100132b3
xor ebp, ebp
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x100132cc
xor ebp, ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100132db
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1001e330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10198c11
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x101e3158]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10002351
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.1001dda0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.10002351
mov eax, dword [esp + 0x28]
cmp eax, 8
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
jb 0x1001e3dc
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, 0x4052d0
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10023440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e3158]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002348b
push str.Failed_to_unprotect_memory_n
jmp 0x100234b0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x100234b8
push str.Failed_to_restore_protection_on_memory
call fcn.101198f9
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.1011850e
add esp, 0x14
ret 8
Function at 0x1002df20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e3158]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002df6b
push str.Failed_to_unprotect_memory_n
jmp 0x1002df90
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x1002df98
push str.Failed_to_restore_protection_on_memory
call fcn.101198f9
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.1011850e
add esp, 0x14
ret

Function at 0x1002dfb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x1002dfeb
push str.Failed_to_unprotect_memory_n
call fcn.101198f9
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002e016
push str.Failed_to_restore_protection_on_memory
call fcn.101198f9
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002e020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002e052
push str.Failed_to_unprotect_memory_n
call fcn.101198f9
add esp, 4
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002e078
push str.Failed_to_restore_protection_on_memory
call fcn.101198f9
add esp, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x1002e0c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002e0e8
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
push esi
push 0x90
push edi
call fcn.10118c20
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x1003e920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x101e7a7c], 0
jne 0x1003e9cc
xor edx, edx
nop
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x101e7a78], ecx
add edx, 1
cmp edx, 0x100
jl 0x1003e930
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003ea08
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101e7a78]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003e9e2
pop edi
not eax
pop esi
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003ea41
cmp cl, 0x23
jne 0x1003ea21
cmp byte [edx], cl
jne 0x1003ea21
cmp byte [edx + 1], cl
jne 0x1003ea21
mov eax, esi
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov cl, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x101e7a78]
add edx, 1
test cl, cl
jne 0x1003ea11
pop edi
not eax
pop esi
ret