joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff3c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ff544
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x208]
call fcn.0042a720
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x208]
call fcn.0042a704
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov al, byte [eax + 0x98]
sub al, 1
jb 0x4ff48c
jne 0x4ff4db
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
add eax, 2
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004fa670
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 2
sub edi, eax
mov dword [ebp - 0x14], edi
add edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
jmp 0x4ff4db
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
lea edx, [edi + 2]
sub eax, edx
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004fa670
mov dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x208]
mov eax, dword [edi + 0xc]
mov dl, byte [0x4ff554]
call fcn.00429898
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x4cc]
call fcn.004295cc
mov edx, esi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
lea eax, [ebp - 0x1c]
call fcn.00404e48
mov eax, dword [ebp - 0x1c]
push eax
push 0
xor ecx, ecx
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x208]
call fcn.004eccd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff54b
lea eax, [ebp - 0x1c]
call fcn.00404c70
ret
Function at 0x50270c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x502866
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.004fa5bc
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x208]
mov dword [eax + 0x20], edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x1cc]
mov eax, dword [ebp - 0xc]
push edi
lea esi, [ebp - 0x20]
lea edi, [eax + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x108]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov si, 0xffae
call fcn.004038d0
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [ebp - 0x10]
call fcn.00404cac
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [ebp - 5]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14c]
mov esi, dword [ebx + 0x208]
test byte [ebp - 5], 1
je 0x50280d
mov eax, dword [esi + 0xc]
call fcn.0042988c
mov edx, eax
or dl, byte [0x502878]
mov eax, dword [esi + 0xc]
call fcn.00429898
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov al, byte [ebx + 0x2bc]
sub al, 1
jae 0x502836
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0xb0]
jmp 0x502848
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.0051414c
add esi, 5
cmp eax, esi
setge bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50286d
lea eax, [ebp - 0x10]
call fcn.00404c70
ret

Function at 0x51d590
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, 0x4a
mov ebx, 0x52fa10
mov eax, dword [ebx]
call fcn.00404ed4
mov edx, eax
test edx, edx
jle 0x51d5c5
mov eax, 1
mov ecx, dword [ebx]
mov cx, word [ecx + eax*2 - 2]
xor cx, 0x33
mov edi, dword [ebx]
mov word [edi + eax*2 - 2], cx
inc eax
dec edx
jne 0x51d5af
mov eax, 0xe
lea edx, [ebx + 4]
xor byte [edx], 0x33
inc edx
dec eax
jne 0x51d5cd
add ebx, 0x11c
dec esi
jne 0x51d59d
pop edi
pop esi
pop ebx
ret
Function at 0x401040
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x40105f
push 0x4001
lea eax, [esp + 4]
push 0x160
push eax
jmp 0x40106e
push 0x4000
lea ecx, [esp + 4]
push 0x160
push ecx
push 0
push 0x432120
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 0x160
ret 4

Function at 0x401100
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x40111f
push 0x4011
lea eax, [esp + 4]
push 0x160
push eax
jmp 0x40112e
push 0x4010
lea ecx, [esp + 4]
push 0x160
push ecx
push 0x10
push str.Doesnt_matter
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret 4

Function at 0x4011c0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x4011f7
push 0x111
lea eax, [esp + 4]
push 0x160
push eax
push 0x10
push str.Doesnt_matter
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp]
add esp, 0x160
ret 4
push 0x110
lea ecx, [esp + 4]
push 0x160
push ecx
push 0x10
push str.Does_not_matter
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp]
add esp, 0x160
ret 4
Function at 0x401b80
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
xor ecx, ecx
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv edi
inc ecx
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x113], al
jl 0x401b9c
xor eax, eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esp + eax + 0x114]
mov dl, byte [esp + eax + 0x14]
add esi, ecx
add esi, edx
and esi, 0x800000ff
jns 0x401bdd
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax + 0x14]
mov cl, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x14], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x100
jl 0x401bba
mov ebp, dword [esp + 0x21c]
xor esi, esi
test ebp, ebp
jle 0x401c7e
mov ecx, dword [esp + 0x228]
mov edi, dword [esp + 0x218]
sub edi, ecx
inc eax
and eax, 0x800000ff
jns 0x401c21
dec eax
or eax, 0xffffff00
inc eax
xor edx, edx
mov dl, byte [esp + eax + 0x14]
add esi, edx
and esi, 0x800000ff
jns 0x401c39
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + esi + 0x14]
mov bl, byte [esp + eax + 0x14]
mov byte [esp + 0x10], dl
mov byte [esp + esi + 0x14], bl
mov ebx, dword [esp + 0x10]
mov byte [esp + eax + 0x14], dl
xor edx, edx
and ebx, 0xff
mov dl, byte [esp + esi + 0x14]
add edx, ebx
and edx, 0x800000ff
jns 0x401c6f
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [edi + ecx]
xor dl, bl
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x401c12
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
Function at 0x40db25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4335c8
cmp edx, dword [eax]
je 0x40db47
add eax, 8
inc ecx
cmp eax, 0x433658
jl 0x40db38
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4335c8]
jne 0x40dc75
mov eax, dword [0x436634]
cmp eax, 1
je 0x40dc4f
test eax, eax
jne 0x40db78
cmp dword [0x432fc4], 1
je 0x40dc4f
cmp edx, 0xfc
je 0x40dc75
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40dbaf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040ebd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040ecc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40dbf2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040ecc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42af94
push edi
call fcn.00410890
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040ebd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ebe0
lea eax, [ebp - 0xa0]
push 0x42af74
push eax
call fcn.0040ebe0
push dword [esi + 0x4335cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ebe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004109d0
add esp, 0x2c
pop edi
jmp 0x40dc75
lea eax, [ebp + 8]
lea esi, [esi + 0x4335cc]
push 0
push eax
push dword [esi]
call fcn.0040ecc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4191d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040b990
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41929b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41929b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41924e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x419259
or bh, 8
and edi, 0x8000000
je 0x419274
mov eax, dword [0x43823c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41929b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41969b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4196bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4196da
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41f455
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41f497
call fcn.00423996
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41f497
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41f48e
xor eax, eax
jmp 0x41f49f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041f4a5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4241bf
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 0x4241ed
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42420b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00424125
jmp 0x42420b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42420b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00424125
test edi, edi
mov eax, edi
jne 0x4241f5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4200d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47e5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48a120]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.0041ff40
add esp, 4
mov esi, eax
push 0x40800c
mov edx, edi
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x30]
call fcn.00420460
add esp, 4
push esi
mov edx, eax
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x18]
call fcn.0041f7d0
add esp, 4
push 0x407fe8
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 2
push eax
call fcn.0041afd0
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.004689ab
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], 0x4011a8
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0041b360
cmp dword [esp + 0x58], 0x10
mov dword [ebx], 0x4011b4
jb 0x4201d1
push dword [esp + 0x44]
call fcn.00468113
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4201f9
push dword [esp + 0x14]
call fcn.00468113
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x420221
push dword [esp + 0x2c]
call fcn.00468113
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x420249
push dword [esp + 0x5c]
call fcn.00468113
add esp, 4
mov eax, ebx
mov dword [ebx], 0x408014
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00467ff6
add esp, 0x74
ret 8
Function at 0x4207a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, esi
xor eax, eax
shr edi, 2
mov ebp, ecx
test edi, edi
je 0x4207d8
mov esi, ebp
mov dword [esp + 0x10], edi
mov ecx, edx
sub esi, edx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
dec edi
jne 0x4207c2
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl eax, 2
sub esi, eax
jne 0x4207ec
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret
add ebp, eax
add edx, eax
mov ecx, ebx
mov eax, ebx
shr ecx, 0x18
shr eax, 0x10
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or cl, bl
test esi, esi
je 0x42081e
sub ebp, edx
jmp 0x420810
mov al, byte [edx + ebp]
lea edx, [edx + 1]
xor al, byte [edx - 1]
or cl, al
dec esi
jne 0x420810
pop edi
xor eax, eax
test cl, cl
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret

Function at 0x421930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47e713
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48a120]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esi + 0xc], eax
mov dword [esp + 0xc], esi
mov dword [esi + 0x14], 0
mov dword [esp + 0x5c], 2
mov dword [esi], 0x408760
mov dword [esi + 4], 0x408750
push 0
mov dword [esi + 0x2c], 0
call fcn.0041b970
mov dword [esi + 0x30], 0
mov dword [esp + 0x60], 3
push 0
mov dword [esi + 0x4c], 0
call fcn.0041b970
add esp, 8
mov dword [esi + 0x50], 0
cmp byte [esp + 0x70], 0
mov byte [esp + 0x5c], 4
mov dword [esi], 0x40866c
mov dword [esi + 4], 0x40865c
mov dword [esi + 0x54], edi
jne 0x421a8f
push 0
push 0x48d274
push 0x48d248
push 0
push edi
call fcn.0047af4e
add esp, 0x14
test eax, eax
je 0x421a8f
push 0x87
push 0x408290
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0041ac30
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 5
call fcn.004689ab
push 0xffffffffffffffff
mov byte [esp + 0x60], 6
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], 0x4011a8
mov dword [esp + 0x40], 1
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.0041b360
push 0x4893ac
lea eax, [esp + 0x2c]
mov byte [esp + 0x60], 5
push eax
mov dword [esp + 0x30], 0x4011b4
call fcn.00468b02
push ecx
lea eax, [esp + 0x70]
mov edx, 0x4081f4
push eax
lea ecx, [esp + 0x18]
call fcn.004229f0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x60], 7
call fcn.00421090
mov byte [esp + 0x5c], 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x421ac6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00467ff6
add esp, 0x54
ret 0x10
Function at 0x4229f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47e8bc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x407b88
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 1
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push edx
call fcn.00422ab0
mov dword [esi], 0x407b88
mov dword [esi + 4], 0
mov byte [esp + 0x28], 2
mov cl, byte [eax + 8]
mov byte [esi + 8], cl
mov edi, dword [eax + 4]
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x422a7e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x422a9c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x423d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ea50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48a120]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push 0x408890
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0041ac30
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.004689ab
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], 0x4011a8
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041b360
cmp dword [esp + 0x24], 0x10
mov dword [esi], 0x401234
jb 0x423dcc
push dword [esp + 0x10]
call fcn.00468113
add esp, 4
mov eax, esi
mov dword [esi], 0x4020a8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00467ff6
mov esp, ebp
pop ebp
ret