joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x463c1d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x463b96
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x463b96
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x463b7d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x463b7d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.00464cd0
mov ebp, eax
test ebp, ebp
je 0x463b75
push ebp
mov ecx, esi
call fcn.004661a0
test eax, eax
je 0x463b75
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x463b75
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x463b36
xor eax, eax
jmp 0x463b3e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.00466b40
inc ebx
xor ebp, ebp
jmp 0x463ac7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x463aa0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.00464fe0
test eax, eax
pop ebx
je 0x463c1d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.00464cd0
mov edi, eax
cmp edi, ebp
je 0x463c1d
push edi
mov ecx, esi
call fcn.004661a0
test eax, eax
je 0x463c1d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.00465220
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.00465290
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.00466b40
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x46c8a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4511
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x46c8dd
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.0049c0a6
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.0049b3ee
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.00465550
lea ecx, [esp + 8]
call fcn.0049c315
lea ecx, [esp + 0x30]
call fcn.0049b552
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.0049b3ee
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004659c0
lea ecx, [esp + 0x74]
call fcn.0049b552
lea ecx, [esp + 8]
call fcn.0049c316
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004631f0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004654f0
mov ecx, esi
call fcn.004660e0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004654f0
mov ecx, esi
call fcn.004660e0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004654f0
mov ecx, esi
call fcn.004660e0
mov ecx, dword [edi + 0x5c]
call fcn.004629c0
push eax
mov ecx, esi
call fcn.004629d0
mov ecx, dword [edi + 0x5c]
call fcn.00462f90
push eax
mov ecx, esi
call fcn.00462f30
mov ecx, dword [edi + 0x5c]
call fcn.004630b0
push eax
mov ecx, esi
call fcn.00463060
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004622a0
push eax
mov ecx, esi
call fcn.004622b0
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.0049b4ca
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.0049b4ca
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.0049c12f
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x46e170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0049217a
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0049217a
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.0046ec90
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x46ece0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4810
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049e18f
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x46ed13
xor al, al
jmp 0x46ee3f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x46ed35
xor al, al
jmp 0x46ee3f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x46ed48
xor al, al
jmp 0x46ee3f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46ed5c
xor al, al
jmp 0x46ee3f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0049223f
test eax, eax
jne 0x46ed90
xor al, al
jmp 0x46ee3f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4cc3fc
mov dword [esp + 0x20], ebp
call fcn.0049e18f
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0049b0a3
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0049b0fa
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x46ee24
mov ax, word [ebx]
test ax, ax
je 0x46ee16
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0046ee60
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46edfa
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0049b0fa
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46f3a0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.0049c753
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46f3e6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00483428
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4e8ee4
push ecx
call fcn.00484d0d
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4760d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47611c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47611c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x476106
push eax
call ebp
test ax, ax
jl 0x476114
inc esi
add edi, 4
cmp esi, 6
jb 0x4760f8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00475dd0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x479cc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x479d20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x479d20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x479d20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x479d20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x479d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49666c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4966a4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004946c1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00494699
jmp 0x4966b0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x497e6c
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 0x497eae
call fcn.0049e18f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x497eae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x497ea5
xor eax, eax
jmp 0x497eb6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00497ebc
pop edi
pop esi
pop ebx
ret 4

Function at 0x49e6bf
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 0x49e6ed
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49e70b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049e625
jmp 0x49e70b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49e70b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049e625
test edi, edi
mov eax, edi
jne 0x49e6f5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4026c0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
push ebp
push esi
push edi
mov edi, ecx
call ebx
cdq
mov ecx, 0x19
mov ebp, dword [sym.imp.USER32.dll_MapVirtualKeyA]
idiv ecx
push 2
mov esi, edx
add esi, 0x41
push esi
call ebp
mov edx, dword [edi + 0x1d]
and eax, 0xffff
shl eax, 0x10
or al, 1
push eax
push esi
push 0x100
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
call ebx
cdq
mov ecx, 0xc8
idiv ecx
add edx, 0xf
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call ebp
mov edx, dword [edi + 0x1d]
and eax, 0xff
shl eax, 0x10
or eax, 0xc2000001
push eax
push esi
push 0x101
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x403880
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x55555556
mov esi, ecx
mov edi, 3
imul esi
mov eax, edx
mov ebp, dword [esp + 0x30]
shr eax, 0x1f
add edx, eax
mov eax, esi
mov ecx, edx
mov dword [esp + 0x1c], esi
cdq
idiv edi
xor eax, eax
test ecx, ecx
mov dword [esp + 0x20], edx
jle 0x40397c
lea esi, [ebp + 2]
lea edi, [ebx + 2]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov al, byte [edi - 2]
mov cl, byte [edi - 1]
mov dl, al
mov bl, cl
and dl, 3
and cl, 0xf
shl dl, 4
sar bl, 4
or dl, bl
add edi, 3
mov byte [esp + 0x10], dl
mov dl, byte [edi - 3]
mov bl, dl
and dl, 0x3f
sar bl, 6
and bl, 3
mov byte [esp + 0x18], dl
shl cl, 2
sar al, 2
or bl, cl
mov ecx, dword [esp + 0x10]
and eax, 0xff
and ecx, 0xff
mov byte [esp + 0x14], bl
add esi, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 6], al
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esp + 0x14]
mov byte [esi - 5], dl
mov edx, dword [esp + 0x18]
and eax, 0xff
and edx, 0xff
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 4], cl
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 3], al
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jne 0x4038d7
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shl eax, 2
cmp edx, 1
jne 0x4039d5
mov cl, byte [esi + ebx - 1]
pop edi
mov dl, cl
pop esi
and dl, 3
shl dl, 4
sar cl, 2
mov byte [esp + 0x24], dl
and ecx, 0xff
mov edx, dword [esp + 0x24]
inc eax
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0xff
mov byte [eax + ebp - 1], cl
inc eax
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebp - 1], cl
mov byte [eax + ebp], 0x3d
inc eax
mov byte [eax + ebp], 0x3d
inc eax
mov byte [eax + ebp], 0
pop ebp
pop ebx
add esp, 0x18
ret 8
cmp edx, 2
jne 0x403a47
mov dl, byte [esi + ebx - 2]
mov bl, byte [esi + ebx - 1]
mov cl, dl
mov byte [esp + 0x2c], bl
and cl, 3
sar bl, 4
shl cl, 4
or bl, cl
mov cl, byte [esp + 0x2c]
and cl, 0xf
mov byte [esp + 0x30], bl
shl cl, 2
sar dl, 2
mov byte [esp + 0x2c], cl
mov ecx, dword [esp + 0x30]
and edx, 0xff
and ecx, 0xff
inc eax
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebp - 1], dl
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esp + 0x2c]
mov byte [eax + ebp], dl
and ecx, 0xff
inc eax
inc eax
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebp - 1], dl
mov byte [eax + ebp], 0x3d
inc eax
pop edi
mov byte [eax + ebp], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x40c58a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438f60
push eax
push dword fs:[0]
add byte [eax], al
add byte [eax], al
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x40c60a
arpl word [edx + esi], si
ja 0x40c593
pop edx
inc esi
add byte [ecx + 0x42aae015], cl
add byte [edi + 0x465adc67], bl
add byte [ecx + 0x42aae835], cl
add byte [edi + 0x465ad447], bl
add byte [esi - 0x74], ah
sub eax, dword [eax]
pop ebx
inc edx
add byte [esi - 0x550bf274], bl
inc edx
add byte [edx - 0xc], bh
sbb eax, 0x426ed0
pushf
jg 0x40c5af
pop edx
inc esi
add byte [esi - 0x74], ah
cmp edi, dword [eax]
pop ebx
inc edx
add byte [esi - 0x553bd274], bl
inc edx
add byte [ecx + esi*8 + 0x426ef805], ch
add byte [ebx - 0x135cffa5], cl
outsb dx, byte [esi]
inc edx
add byte [ebx - 0xf5c83a5], cl
outsb dx, byte [esi]
inc edx
add byte [ebp - 0x35c87a5], cl
outsb dx, byte [esi]
inc edx
add byte [ebx - 0x2df65], cl
add dword [eax], edi
push es
cmp byte [esi + 0x42], ch
add byte [ecx], al
add byte [ebx], al
add byte [ecx + 0x42aaf0], ah
movsd dword es:[edi], dword [esi]
adc al, 0x5a
inc edx
add byte [ecx], bh
push es
loopne 0x40c6a0
inc edx
add byte [ecx], cl
add al, 0
rol bh, 0x1b
sbb al, 0x5a
inc edx
add byte [ebx], al
add byte [eax], al
add bl, ah
inc esp
inc eax
inc esi
add byte [ecx + 0x4e885], cl
add byte [edi + 0x4240b8], ah
sti
test esp, ebx
or al, 0
add byte [eax], al
sub ecx, dword [eax - 0x3f]
inc ecx
add ch, bl
xor byte [edx + 0x46], bl
add byte [edx + 1], ch
clc
xchg ebp, eax
add dword [eax], ebp
sti
stosd dword es:[edi], eax
push 0
add dword [esi + 0x34], ebp
rol dword [edi], 0x68
js 0x40c63b
inc ebx
add bh, bh
sub edx, dword [eax - 0x3f]
inc ecx
add ch, bh
cmp eax, 0x426e30
add byte [ebx - 0x7fe9588], cl
xchg ebp, eax
add dword [eax], ebp
sti
stosd dword es:[edi], eax
push 0xc0000409
jmp [ebx]
fistp qword [0xf56bff8c]
in al, dx
mov ebx, dword [ebx + 0x78]
mov dword [0x426304], eax
pop ebp
invalid
Function at 0x408331
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x408352
jl 0x408349
test edi, edi
jne 0x408352
xor eax, eax
xor edx, edx
jmp 0x408413
cmp dword [ebx + 0x38], 0
je 0x408367
push eax
push edi
push dword [ebp + 8]
call fcn.00408419
jmp 0x408413
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4083ae
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4083ae
cmp eax, edi
jb 0x408388
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040b7f0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4083b4
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x408408
mov ecx, ebx
call fcn.00407a48
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4083f3
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041181a
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x408408
jmp 0x4083c6
test edx, edx
je 0x408408
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041181a
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40afd2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b011
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b011
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b011
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b011
cmp dword [ecx + 0x74], 0xe
jbe 0x40b011
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41754d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b9c8
push 0x42b9c0
push str.FlsAlloc
push 0x1e
call fcn.004173ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417581
push dword [ebp + 8]
mov ecx, esi
call dword [0x428134]
call esi
jmp 0x417587
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4175cb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b9d8
push 0x42b9d0
push str.FlsGetValue
push 0x20
call fcn.004173ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417602
push dword [ebp + 8]
mov ecx, esi
call dword [0x428134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41a3ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a050

Function at 0x41a3b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a1df

Function at 0x41a7b3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b140
mov eax, dword [0x437010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418ae2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41a7f5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41a951
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426f70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x438af0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b983
mov ecx, dword [esi*4 + 0x438af0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41a94a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41a94a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a94a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b983
add esp, 0x14
test edx, edx
jl 0x41a94a
jg 0x41a8c0
test eax, eax
jb 0x41a94a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41a94a
jl 0x41a8da
cmp dword [ebp - 0x1008], eax
ja 0x41a94a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41a8f8
test ebx, ebx
je 0x41a931
cmp ecx, edi
jae 0x41a931
mov al, byte [ecx]
cmp al, 0xd
jne 0x41a912
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41a91e
cmp byte [ecx + 1], 0xa
jne 0x41a91e
inc ecx
jmp 0x41a91e
movzx eax, al
movsx eax, byte [eax + 0x437298]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41a8f8
cmp edx, ebx
jne 0x41a8f8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41a94f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a34e
leave
ret