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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d8c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437259
inc eax
mov dword [esi + 0x10], eax
jmp 0x43736c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43726d
mov eax, 0xffffffc7
jmp 0x43736e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43727e
cmp dword [esi + 8], eax
jne 0x43726d
cmp dword [esi + 8], eax
jne 0x437297
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437297
mov eax, 0xffffffc7
jmp 0x43736e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4372ab
push eax
mov ecx, ebx
call fcn.00436a50
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404990
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4372dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004049b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004361c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43730f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x541888
call fcn.00404b90
mov eax, dword [esp + 0x38]
jmp 0x43736e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437080
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437353
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004370a0
mov esi, eax
test esi, esi
jne 0x437383
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437080
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437325
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x541888
call fcn.00404b90
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x541888
call fcn.00404b90
mov eax, esi
jmp 0x43736e

Function at 0x43a490
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a4f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a4f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a4f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a4f0
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 0x43a530
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 0x440690
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46def8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00466990
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440030
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004668be
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00463184
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00463184
push 1
push 0
push 0
mov ecx, esi
call fcn.0046312c
push 1
push 0
push 1
mov ecx, esi
call fcn.0046312c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466a02
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440810
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46df18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00466990
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440030
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004668be
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4408d4
cmp dword [esp + 0x40], 1
jne 0x4408d2
cmp ecx, eax
jge 0x4408d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4408e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440690
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466a02
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441050
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46df83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004615a0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466c38
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468154
test eax, eax
je 0x44116c
mov ecx, dword [esp + 0x3c]
call fcn.00466c65
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441130
push edi
mov ecx, esi
call fcn.004642cf
mov ecx, esi
call fcn.004412d0
cmp dword [esp + 0x38], 1
jne 0x441165
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046440a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443ba0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443bd3
push esi
call fcn.00446c90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443bcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443c59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443c42
mov eax, dword [esi + 8]
test eax, eax
je 0x443bf7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443c3e
cmp eax, 2
je 0x443c42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443bea
cmp eax, 3
je 0x443c1d
cmp eax, 1
jne 0x443bea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443bea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443bea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443c80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443c68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443c80
add esp, 4
pop esi
ret

Function at 0x462395
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4623cd
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.0046044c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460424
jmp 0x4623d9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463a8c
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 0x463ace
call fcn.00469544
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463ace
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463ac5
xor eax, eax
jmp 0x463ad6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463adc
pop edi
pop esi
pop ebx
ret 4

Function at 0x469a74
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 0x469aa2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469ac0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004699da
jmp 0x469ac0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469ac0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004699da
test edi, edi
mov eax, edi
jne 0x469aaa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x419fe7
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x41a007
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x419ff4
ret
Function at 0x4cf96d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004cfb1d
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4cfa6b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4cfa0e
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4cfa51
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4cfa25
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4cfa40
test al, 0x40
je 0x4cfa37
mov ecx, dword [edi + 0x20]
jmp 0x4cfa3e
test al, 0x80
je 0x4cfa51
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4cfa51
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4cf9dd
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x422300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4496b6
mov eax, dword fs:[0]
push eax
mov eax, 0x2024
call fcn.00446bf0
mov eax, dword [0x46a440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x202c], ecx
mov ecx, 0x46ace8
call fcn.0042cf70
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov ecx, 0x46ace8
call fcn.0040a1a0
mov ecx, dword [ebp - 0x2008]
mov dword [ecx], eax
push 0x21
mov edx, dword [ebp - 0x10]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x2008]
add eax, 0xc
push eax
call dword [0x44c200]
lea ecx, [ebp - 0x2018]
push ecx
mov ecx, 0x46ace8
call fcn.00415c60
push 0x1fc0
lea edx, [ebp - 0x1fd4]
push edx
lea ecx, [ebp - 0x2024]
call fcn.0040a060
mov dword [ebp - 4], 0
push 0x3e8
push 0x10
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2024]
call fcn.0040a0e0
mov ecx, dword [ebp - 0x202c]
add ecx, 0xb4ec
call fcn.00429970
mov dword [ebp - 0x2030], eax
lea ecx, [ebp - 0x2024]
call fcn.0040a0c0
movzx ecx, ax
add ecx, 0x30
push ecx
lea edx, [ebp - 0x2004]
push edx
push 2
push 1
mov eax, dword [ebp - 0x2030]
push eax
mov ecx, dword [ebp - 0x2030]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
call eax
add esp, 0x14
mov byte [ebp - 0x2025], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2024]
call fcn.0040a0a0
mov al, byte [ebp - 0x2025]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00446aae
mov esp, ebp
pop ebp
ret
Function at 0x40f560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444df8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x458210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x4494b4
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
call fcn.00401e48
mov dword [esp + 0x30], ebx
cmp byte [edi], bl
je 0x40f5d5
lea esi, [edi + 4]
push esi
call fcn.0040e440
add esp, 4
push esi
call fcn.0040e160
add esp, 4
test al, al
setne al
cmp al, bl
mov byte [edi], al
jne 0x40f5d5
mov eax, esi
call fcn.0040892b
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0040c6f0
add esp, 8
cmp dword [esp + 0x24], 8
mov bl, al
mov byte [edi], bl
jb 0x40f5fe
mov edx, dword [esp + 0x10]
push edx
call fcn.00435b88
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x40fbc0
Capabilities:
Create thread

Disassembly:
push ebp
push edi
mov edi, eax
lea ebp, [edi + 0xc]
test ebp, ebp
je 0x40fbd9
mov eax, dword [ebp]
test eax, eax
je 0x40fbd9
push eax
call dword [0x4470ec]
mov eax, dword [edi + 8]
test eax, eax
jne 0x40fbf7
test ebp, ebp
je 0x40fbf2
mov ebp, dword [ebp]
test ebp, ebp
je 0x40fbf2
push ebp
call dword [0x4470e8]
pop edi
xor al, al
pop ebp
ret
cmp dword [eax + 4], 0
je 0x40fbe0
push esi
add eax, 0xc
push eax
push 4
push edi
push 0x40ec40
push 0
push 0
call fcn.00436b9f
mov ecx, dword [edi + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 8]
add esp, 0x18
cmp dword [edx + 0x10], 0
jne 0x40fc64
mov eax, edx
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi + 8]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x40fc41
push eax
call dword [0x4470e0]
mov dword [edi + 0x10], esi
test ebp, ebp
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x40fc5e
mov ebp, dword [ebp]
test ebp, ebp
je 0x40fc5e
push ebp
call dword [0x4470e8]
pop esi
pop edi
xor al, al
pop ebp
ret
mov ecx, edx
mov byte [ecx + 8], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10]
push eax
call dword [0x4470b4]
cmp eax, 0xffffffff
jne 0x40fc8b
mov esi, dword [edi + 8]
call fcn.0040fa40
mov ecx, dword [edi + 8]
mov byte [ecx + 8], 0
test ebp, ebp
je 0x40fc9d
mov ebp, dword [ebp]
test ebp, ebp
je 0x40fc9d
push ebp
call dword [0x4470e8]
pop esi
pop edi
mov al, 1
pop ebp
ret
Function at 0x410ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4602a0], ecx
add edx, 1
cmp edx, 0x100
jb 0x410ed3
cmp edx, 0x800
jae 0x410fbb
nop
mov eax, dword [edx*4 + 0x45fea0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4602a0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x46029c], eax
jb 0x410f90
mov dword [0x45ca74], 0x410420
call fcn.004111f0
test eax, eax
jne 0x410fd8
mov dword [0x45ca74], 0x4104d0
pop ecx
ret

Function at 0x41f463
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41f47a
add eax, eax
xor eax, 0x4c11db7
jmp 0x41f47c
add eax, eax
dec edx
test edx, edx
jg 0x41f46d
mov dword [ecx*4 + 0x45ca78], eax
inc ecx
cmp ecx, 0x100
jb 0x41f465
ret
Function at 0x430ddd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x430f29
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x430e19
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x430e1e
inc esi
cmp esi, dword [ebp - 8]
jb 0x430e10
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x430f0a
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x430e9d
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x430e4a
cmp cl, 0xff
jne 0x430ecc
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, dword [ebp + 0xc]
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x430edd
movzx edi, byte [edx + 0x44a8d8]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x430e8d
cmp bl, 0xff
jne 0x430eda
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x430e65
dec ecx
shl edx, cl
and edx, 7
je 0x430e37
movzx ecx, byte [edx + 0x44a8d8]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x44a8d0], 0
mov cl, byte [ebx + 4]
je 0x430ec9
test cl, cl
je 0x430ec9
cmp cl, 0xff
jne 0x430e37
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x430e0b
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x430e0b
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x432dcd
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret