joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494c66
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00480b27
xor ebx, ebx
cmp dword [0x4cf00c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x494d3c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x494e1c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b9684
push edi
call esi
cmp eax, ebx
je 0x494e1c
push eax
call fcn.00480ab9
mov dword [esp], 0x4b9674
push edi
mov dword [0x4cf00c], eax
call esi
push eax
call fcn.00480ab9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4cf010], eax
call esi
push eax
call fcn.00480ab9
mov dword [0x4cf014], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00482a61
test eax, eax
pop ecx
pop ecx
je 0x494d0a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047d678
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x494d3c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00480ab9
cmp eax, ebx
pop ecx
mov dword [0x4cf01c], eax
je 0x494d3c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00480ab9
pop ecx
mov dword [0x4cf018], eax
mov eax, dword [0x4cf018]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x494dc1
cmp dword [0x4cf01c], ecx
je 0x494dc1
push eax
call fcn.00480b30
push dword [0x4cf01c]
mov esi, eax
call fcn.00480b30
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x494dc1
cmp edi, ebx
je 0x494dc1
call esi
cmp eax, ebx
je 0x494d8e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x494d8e
test byte [ebp - 0x18], 1
jne 0x494dc1
lea eax, [ebp - 0x10]
push eax
call fcn.00482b10
test eax, eax
pop ecx
je 0x494da9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047d678
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x494db8
or dword [ebp + 0x10], 0x200000
jmp 0x494dfc
or dword [ebp + 0x10], 0x40000
jmp 0x494dfc
mov eax, dword [0x4cf010]
cmp eax, dword [ebp - 8]
je 0x494dfc
push eax
call fcn.00480b30
cmp eax, ebx
pop ecx
je 0x494dfc
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x494dfc
mov eax, dword [0x4cf014]
cmp eax, dword [ebp - 8]
je 0x494dfc
push eax
call fcn.00480b30
cmp eax, ebx
pop ecx
je 0x494dfc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4cf00c]
call fcn.00480b30
cmp eax, ebx
pop ecx
je 0x494e1c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x494e1e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a3cc1
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4cc748]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a3b20
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.0047c790
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 0x4a3d10
cmp dword [ebp - 0x1c], 5
jb 0x4a3d28
jmp 0x4a3d24
cmp dword [ebp - 0x10], 1
jne 0x4a3d28
cmp dword [ebp - 0x1c], 4
ja 0x4a3d24
jne 0x4a3d28
cmp dword [ebp - 0x18], 0
jbe 0x4a3d28
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4ba81c
call fcn.0040b680
test eax, eax
jge 0x4a3d49
mov byte [0x4cdd04], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047b88d
add ebp, 0x78
leave
ret

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

Disassembly:
cmp dword [0x4cf0b8], 0
push esi
jne 0x4a3ed0
call fcn.004a3dee
test eax, eax
je 0x4a3f13
mov eax, dword [0x4cf0b8]
cmp eax, 1
jne 0x4a3ef1
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4a3f13
pop esi
ret
push eax
call dword [0x4cf0c0]
test eax, eax
jne 0x4a3f5b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4a3f17
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4cf0b8]
call dword [0x4cf0c0]
mov edi, eax
test edi, edi
je 0x4a3f3e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4a3f5a
lea edi, [esi + 0xff0]
push esi
push dword [0x4cf0b8]
call dword [0x4cf0bc]
add esi, 0x10
cmp esi, edi
jb 0x4a3f44
mov eax, esi
pop edi
pop esi
ret
jmp 0x4a3ebd
Function at 0x401330
Capabilities:
Create directory

Disassembly:
push esi
push 0x437f88
push str.C:_tmp_
call fcn.0040d972
add esp, 8
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
pop esi
ret
Function at 0x403b10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4299eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00405410
mov dword [esp + 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edx, edx
mov esi, eax
xor ecx, ecx
mov eax, 1
shl eax, cl
test esi, eax
je 0x403b65
mov al, cl
add al, 0x41
mov byte [esp + edx + 0x20], al
inc edx
inc ecx
cmp ecx, 0x1a
jl 0x403b51
lea edi, [edx - 1]
test edi, edi
jl 0x403c18
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov al, byte [esp + edi + 0x20]
cmp al, 0x43
jle 0x403c11
movsx ecx, al
push ecx
lea edx, [esp + 0x18]
push str._c:_
push edx
call fcn.0040dc75
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 2
jne 0x403c11
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405470
test al, al
je 0x403c08
lea edx, [esp + 0x3c]
push 1
push edx
push 1
lea ecx, [esp + 0x1c]
call fcn.004054a0
test al, al
je 0x403c08
mov esi, 0x438010
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403bff
test cl, cl
je 0x403bfb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403bff
add eax, 2
add esi, 2
test cl, cl
jne 0x403bdb
xor eax, eax
jmp 0x403c04
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403c62
lea ecx, [esp + 0x10]
call fcn.00405460
dec edi
jns 0x403b7c
mov dword [ebx + 0x6c], 0
push 3
mov ecx, ebx
call fcn.00403a30
push eax
push 0x3e8
mov ecx, ebx
call fcn.0042141b
lea ecx, [esp + 0x10]
mov dword [esp + 0x244], 0xffffffff
call fcn.004054c0
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0x70]
mov dword [ebx + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x403c97
mov edx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x6c], 1
push 2
jmp 0x403c21
Function at 0x403cb0
Capabilities:
Access peb ldr_data
Download url
Get number of processors
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x429a32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x28], 1
xor edi, edi
call fcn.0041e28f
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004042c0
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esp + 0x18]
call fcn.00404340
mov edx, dword [0x438498]
mov dword [esp + 0xc], edx
mov byte [esp + 0x24], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x10]
push str._skq_d
push eax
call fcn.0041c47f
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041e7a0
push 0xc8
call fcn.0041d936
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x24], 5
je 0x403d5e
push edi
mov ecx, eax
call fcn.00405080
jmp 0x403d60
xor eax, eax
push esi
push 0x67
mov ecx, eax
mov byte [esp + 0x2c], 4
mov dword [esi + 0xd4], eax
call fcn.0041db22
mov ecx, dword [esi + 0xd4]
push 5
call fcn.004215b2
push 0x64
push 0
mov ecx, esi
call fcn.00403a30
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0041e544
mov ecx, dword [esi + 0xd4]
call fcn.00405200
mov eax, dword [esi + 0xd4]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x403de1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov edi, 1
mov ecx, dword [esi + 0xd4]
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x403dfd
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esi + 0xd4], 0
mov byte [esp + 0x24], 3
call fcn.0041e51a
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00404330
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0041e51a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.0041e51a
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041e51a
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
Function at 0x411ab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411ad0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ffb6
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x411af3
test byte [esp + 8], 2
je 0x411af3
call fcn.00410029
mov dword [eax], 0xd
call fcn.00410032
mov dword [eax], 5
jmp 0x411acc
xor eax, eax
ret
Function at 0x41ba90
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.0040edc0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41bb5b
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 0x41bb5b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41bb0e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41bb19
or bh, 8
and edi, 0x8000000
je 0x41bb34
mov eax, dword [0x43fadc]
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 0x41bb5b
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 0x41bf30
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 0x41bf5b
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 0x41bf7f
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 0x41bf9a
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 0x41db22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x41db44
cmp dword [edi + 0x3c], 0
jne 0x41db44
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004269d5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0041db71
pop edi
pop esi
pop ebx
ret 8

Function at 0x420cc0
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 0x420d02
call fcn.004269d5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x420d02
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x420cf9
xor eax, eax
jmp 0x420d0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00420d10
pop edi
pop esi
pop ebx
ret 4

Function at 0x424f37
Capabilities:
Create http request

Disassembly:
mov eax, 0x429fb8
call fcn.0040e430
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x424f6f
call fcn.004269d5
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x424f94
push eax
push dword [esi + 4]
call fcn.00425b77
jmp 0x424fa0
push esi
push eax
mov ecx, 0x43de20
call fcn.00424fb1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x425262
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42a017
call fcn.0040e430
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00422c8a
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x438498]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0041e65f
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0041e65f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x426f56
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 0x426f84
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x426fa2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00426ebc
jmp 0x426fa2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x426fa2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00426ebc
test edi, edi
mov eax, edi
jne 0x426f8c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10212b28
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1024c7fd
call fcn.1021e939
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x24], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x1d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x1d], dl
call fcn.1021d3ce
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1021c23a
push ecx
mov ecx, esp
push eax
call fcn.1021028e
call fcn.102131bd
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x10212bff
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1020f7dd
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10210138
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10210360
call fcn.102127a7
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
je 0x10212c32
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.IFPKVYQFGUWVBNHETLNDSMNCHDCGQU]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.1021d3ce
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10212c09
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
mov ecx, ebx
call fcn.1021d3ce
lea ecx, [ebp - 0x34]
call fcn.1021c080
lea ecx, [ebp - 0x1c]
call fcn.1021c080
lea ecx, [ebp + 0xc]
call fcn.1021c080
mov eax, ebx
call fcn.1021e8e3
ret
Function at 0x10212c61
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1024c853
call fcn.1021e939
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x20], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x21]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x21], dl
call fcn.1021d3ce
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1021c23a
push ecx
mov ecx, esp
push eax
call fcn.1021028e
call fcn.102131bd
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x10212d38
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1020f7dd
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10210138
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10210360
call fcn.102127a7
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
je 0x10212d70
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.IFPKVYQFGUWVBNHETLNDSMNCHDCGQU]
cbw
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1021d4c7
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10212d42
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.1021d4c7
lea ecx, [ebp - 0x34]
call fcn.1021c080
lea ecx, [ebp - 0x1c]
call fcn.1021c080
lea ecx, [ebp + 0xc]
call fcn.1021c080
mov eax, ebx
call fcn.1021e8e3
ret