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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x498208
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 0x44e9a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x44eabc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44e9bd
mov eax, 0xffffffc7
jmp 0x44eabe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44e9ce
cmp dword [esi + 8], eax
jne 0x44e9bd
cmp dword [esi + 8], eax
jne 0x44e9e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44e9e7
mov eax, 0xffffffc7
jmp 0x44eabe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44e9fb
push eax
mov ecx, ebx
call fcn.0044e1a0
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.004197e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44ea2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00419800
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044d910
test eax, eax
mov dword [esp + 0x38], eax
je 0x44ea5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5b1a98
call fcn.004199e0
mov eax, dword [esp + 0x38]
jmp 0x44eabe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044e7d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44eaa3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044e7f0
mov esi, eax
test esi, esi
jne 0x44ead3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044e7d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44ea75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5b1a98
call fcn.004199e0
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], 0x5b1a98
call fcn.004199e0
mov eax, esi
jmp 0x44eabe
Function at 0x457320
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x498838
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 [0x49b43c]
push 0
lea ecx, [esp + 0x20]
call fcn.004909f3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00456cc0
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.00490921
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.0048d1df
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.0048d1df
push 1
push 0
push 0
mov ecx, esi
call fcn.0048d187
push 1
push 0
push 1
mov ecx, esi
call fcn.0048d187
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00490a65
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4574a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x498858
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.004909f3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00456cc0
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.00490921
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x49b43c]
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 0x457564
cmp dword [esp + 0x40], 1
jne 0x457562
cmp ecx, eax
jge 0x457564
mov eax, ecx
cmp eax, 0xc8
jge 0x457570
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00457320
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x49b440]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00490a65
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x457ce0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4988c3
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.0048b5ff
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5b77e0
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], 0x5b50f0
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 [0x49b08c]
push eax
mov ecx, edi
call fcn.00490c9b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004921fa
test eax, eax
je 0x457dfc
mov ecx, dword [esp + 0x3c]
call fcn.00490cc8
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x49b41c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x457dc0
push edi
mov ecx, esi
call fcn.0048e32d
mov ecx, esi
call fcn.00457f60
cmp dword [esp + 0x38], 1
jne 0x457df5
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.0048e468
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 0x45a830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45a863
push esi
call fcn.0045d940
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45a85c
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 0x45a8e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45a8d2
mov eax, dword [esi + 8]
test eax, eax
je 0x45a887
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 0x45a8ce
cmp eax, 2
je 0x45a8d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45a87a
cmp eax, 3
je 0x45a8ad
cmp eax, 1
jne 0x45a87a
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 0x45a87a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45a87a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045a910
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45a8f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045a910
add esp, 4
pop esi
ret
Function at 0x46f7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046f390
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046f410
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046f410
lea ecx, [esi + 0xc]
call fcn.00489faf
lea ecx, [esi + 0x10]
call fcn.00489faf
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004709a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004709a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004709a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048a024
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048a024
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x407a9b
Capabilities:
Set file attributes

Disassembly:
call fcn.0040bb84
push 0
push 2
push 0x4485e3
push dword [0x42c2cb]
call sub.USER32.dll_WinHelpA
push 0x80
push 0x4485ed
call sub.KERNEL32.DLL_SetFileAttributesA
mov edx, 0x4485e3
call fcn.0040923c
mov edx, 0x4485ed
call fcn.0040923c
ret
Function at 0x40974e
Capabilities:
Create process on windows

Disassembly:
mov al, 0
jmp 0x409754
pushal
push 0x42ea18
push 0x42ea28
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call sub.KERNEL32.DLL_CreateProcessA
popal
cmp al, 0
je 0x4097a1
pushal
push 1
call sub.KERNEL32.DLL_Sleep
push 0x42ea14
push dword [0x42ea18]
call sub.KERNEL32.DLL_GetExitCodeProcess
or eax, eax
je 0x4097a0
cmp dword [0x42ea14], 0x103
je 0x409779
popal
ret

Function at 0x40a227
Capabilities:
Check if file exists
Delete file
Get common file path
Set current directory

Disassembly:
push 0x104
push 0x44dc78
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x44dc78
call sub.KERNEL32.DLL_SetCurrentDirectoryA
push 0x449122
call sub.KERNEL32.DLL_DeleteFileA
or eax, eax
jne 0x40a25f
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x40a25e
inc byte [0x42ed11]
ret
inc byte [0x42ed12]
ret

Function at 0x40a266
Capabilities:
Get common file path
Set current directory

Disassembly:
cmp byte [0x42ed11], 0
jne 0x40a2dd
cmp byte [0x42ed12], 0
je 0x40a299
call fcn.0040482d
dec esi
outsd dx, dword [esi]
arpl word [ecx + 0x73], sp
push 0x75206f69
outsb dx, byte [esi]
imul ebp, dword [esi + 0x73], 0x6c6c6174
and byte fs:[edi + 0x6b], ch
popal
jns 0x40a2c5
add bl, al
call fcn.0040482d
dec esi
outsd dx, dword [esi]
je 0x40a30a
imul ebp, dword [esi + 0x67], 0x206f7420
outsd dx, dword fs:[esi]
sub al, 0x20
outsb dx, byte [esi]
outsd dx, dword [esi]
arpl word [ecx + 0x73], sp
push 0x64206f69
jb 0x40a322
jbe 0x40a320
jb 0x40a2dd
outsw dx, word [esi]
jb 0x40a2e1
dec esi
push esp
das
xor cl, byte [ebx + 0x2f]
dec ebx
das
pop eax
push eax
and byte [edi + 0x61], dh
jae 0x40a33c
daa
je 0x40a2f1
imul ebp, dword [esi + 0x73], 0x6c6c6174
add bl, al
call fcn.0040482d
dec esi
outsd dx, dword [esi]
dec dword [esi + 0x6f]
arpl word [ecx + 0x73], sp
push 0x75206f69
outsb dx, byte [esi]
imul ebp, dword [esi + 0x73], 0x6c6c6174
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
and byte [esi + 0x41], al
dec ecx
dec esp
inc ebp
inc esp
add bl, al
sar dl, cl
add dword [eax], eax
add al, ch
push es
out dx, eax
invalid

Function at 0x40a2fe
Capabilities:
Get common file path
Set current directory

Disassembly:
mov ebx, 0x1104
call fcn.00409113
mov ebp, eax
push ebp
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
add ebp, 0x104
push 0x104
push ebp
call sub.KERNEL32.DLL_GetSystemDirectoryA
push ebp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov esi, 0x449155
mov edi, ebp
call fcn.004043fb
mov esi, 0x42ed09
call fcn.00409248
mov edx, ebp
mov ecx, 0x1000
call fcn.0040928a
call fcn.00409422
sub ebp, 0x104
push ebp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, ebp
call fcn.00409178
ret

Function at 0x40a41b
Capabilities:
Stop service

Disassembly:
push 0x42ed14
push 1
push dword [0x42ed05]
call sub.ADVAPI32.dll_ControlService
ret

Function at 0x40abe1
Capabilities:
Clear file content

Disassembly:
mov edx, 0x42ee7b
mov ecx, 2
jmp fcn.0040928a
Function at 0x40d131
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp dword [0x446738], 0
je 0x40d1c8
push 0
call sub.USER32.dll_OpenClipboard
or eax, eax
je 0x40d1c8
nop
nop
nop
nop
call sub.USER32.dll_EmptyClipboard
mov eax, dword [0x446734]
inc eax
shl eax, 5
add eax, 0x30
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
or eax, eax
je 0x408f19
push eax
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edi, eax
mov edx, dword [0x446734]
inc edx
mov dword [0x42ff80], edx
mov esi, 0x42ff78
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x446734]
mov esi, edx
shl esi, 5
inc edx
add esi, dword [0x446738]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x40
dec edx
jne 0x40d1a5
pop eax
push eax
push eax
call sub.KERNEL32.DLL_GlobalUnlock
pop eax
push eax
push 8
call sub.USER32.dll_SetClipboardData
call sub.USER32.dll_CloseClipboard
ret

Function at 0x40debb
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x42e857], 3
jae 0x40df2c
cmp byte [0x42e857], 0
je 0x40df2c
cmp byte [0x42dcf5], 0x11
je 0x40df2c
cmp byte [0x42e859], 0
jne 0x40df2c
pushal
mov edi, 0x476000
mov esi, 0x48d800
mov ecx, 0x100
rep movsw word es:[edi], word [esi]
cmp edi, 0x476e00
jb 0x40dee5
mov ecx, 0x100
mov ax, 0xffff
rep stosw word es:[edi], ax
mov edi, 0x476800
mov ecx, 0x100
xor word [edi], 0xffff
add edi, 2
cmp edi, 0x476a00
jb 0x40df10
popal
call fcn.0040e0da
mov byte [0x430be8], 1
call fcn.0040d518
ret

Function at 0x40e54f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push eax
movzx eax, al
push eax
call sub.USER32.dll_VkKeyScanA
cmp ax, 0xffff
je 0x40e598
push eax
movzx ebx, al
push 0
push ebx
call sub.USER32.dll_MapVirtualKeyA
pop ebx
or eax, eax
je 0x40e598
cmp eax, 0x59
ja 0x40e598
and bh, 7
mov edi, 0x446c36
je 0x40e589
cmp bh, 1
mov edi, 0x446ce8
jne 0x40e598
add edi, eax
pop eax
push eax
call fcn.0040e59a
cmp al, 0
je 0x40e598
mov byte [edi], al
pop eax
ret
Function at 0x412125
Capabilities:
Encode data using xor

Disassembly:
mov esi, dword [0x442f5b]
movzx ecx, word [0x442f22]
or ecx, ecx
je 0x41222e
mov byte [0x442f22], ch
mov byte [0x442f23], 0
mov dx, word [0x442f20]
cmp byte [0x42e56f], 2
jb 0x4121ba
je 0x41215e
jmp 0x41222f
push ecx
push esi
call fcn.00412041
xchg ch, cl
mov word [0x442f83], cx
mov word [0x442ff7], cx
cmp byte [0x42e857], 1
mov esi, 0x442ff5
mov ecx, 0x13d
nop
je 0x412194
mov esi, 0x442f82
mov ecx, 0x73
nop
call 0x41222f
pop esi
pop ecx
call fcn.00411e56
cmp byte [0x42e857], 1
jne 0x4121ae
call fcn.00411e33
call fcn.00411fe2
mov al, byte [0x442f81]
out dx, al
ret
mov eax, 0x3e8
call fcn.00412292
cmp byte [0x42e857], 1
mov al, 0
je 0x4121d1
mov al, 0x80
call fcn.004120db
push ecx
push word [esi]
mov word [esi], cx
mov ecx, 2
call fcn.00411fe2
sub esi, 2
pop word [esi]
pop ecx
call fcn.00411e4c
push ecx
push esi
call fcn.00411fe2
pop esi
pop ecx
call fcn.00411e4c
push ecx
push esi
mov al, 0
xor al, byte [esi]
inc esi
loop 0x412205
pop esi
pop ecx
call fcn.004120db
cmp byte [0x42e857], 1
mov al, 0x7f
je 0x41222d
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
loop 0x41221c
call fcn.00411e4c
mov al, 0xff
out dx, al
ret
cmp byte [0x42e857], 1
je 0x41223f
mov bl, 0x80
call fcn.0041225f
cmp byte [0x42e857], 1
jne 0x412254
mov al, byte [0x442f81]
dec eax
out dx, al
call fcn.00411e33
mov bl, byte [esi]
call fcn.0041225f
inc esi
loop 0x412254
ret

Function at 0x416849
Capabilities:
Encode data using xor

Disassembly:
xor al, byte [edi]
inc edi
loop fcn.00416849
ret

Function at 0x41837f
Capabilities:
Get graphical window text

Disassembly:
mov edi, 0x44dc78
mov esi, 0x443e40
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x418389
mov dword [edi - 1], 0x202d20
add edi, 2
mov esi, 0x3c
add esi, dword [0x450b44]
lodsw ax, word [esi]
stosb byte es:[edi], al
cmp al, 0x20
ja 0x4183a4
mov byte [edi - 1], 0
pushal
push 0x80
push 0x44dcf8
push dword [0x443e2c]
call sub.USER32.dll_GetWindowTextA
popal
mov ecx, edi
mov edi, 0x44dc78
mov esi, 0x44dcf8
sub ecx, edi
repe cmpsb byte [esi], byte es:[edi]
je 0x4183e8
push 0x44dc78
push dword [0x443e2c]
call sub.USER32.dll_SetWindowTextA
ret

Function at 0x418c1c
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x418c48
movzx edx, word [esi + 4]
push esi
push 0
push 0
push 0xf0
push edx
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
pop esi
mov edi, dword [esi]
xor al, byte [esi + 6]
stosb byte es:[edi], al
add esi, 8
cmp dword [esi], 0
jne 0x418c21
ret
Function at 0x405f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
test ecx, ecx
jg 0x405f9b
jl 0x405f8e
test eax, eax
jne 0x405f9b
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x405fb6
push ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00406740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x10], esi
call fcn.00407000
mov dword [esp + 0x14], eax
test eax, eax
je 0x406008
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00404bf0
add esp, 8
mov ecx, ebx
mov esi, dword [eax]
push esi
call fcn.00407090
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004040d0
sub dword [esp + 0x1c], esi
add esp, 0xc
mov ecx, ebx
add edi, esi
push esi
call fcn.00407050
mov esi, dword [esp + 0x10]
jmp 0x40600b
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x406067
mov ecx, ebx
call fcn.00406ce0
mov esi, dword [esp + 0x10]
cmp esi, 0xfff
jbe 0x40604e
push dword [ebx + 0x4c]
push 0xfff
push 1
push edi
call fcn.00410a12
mov esi, dword [esp + 0x20]
add esp, 0x10
sub esi, eax
add edi, eax
mov dword [esp + 0x10], esi
cmp eax, 0xfff
jne 0x406067
cmp esi, eax
ja 0x406024
test esi, esi
je 0x406067
push dword [ebx + 0x4c]
push esi
push 1
push edi
call fcn.00410a12
mov esi, dword [esp + 0x20]
add esp, 0x10
sub esi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, esi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4130fd
Capabilities:
Parse pe header

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

Function at 0x417b26
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b118
push 0x42b110
push str.FlsAlloc
push 0x1f
call fcn.00417991
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417b5a
push dword [ebp + 8]
mov ecx, esi
call dword [0x427134]
call esi
jmp 0x417b60
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417ba4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b128
push 0x42b120
push str.FlsGetValue
push 0x21
call fcn.00417991
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417bdb
push dword [ebp + 8]
mov ecx, esi
call dword [0x427134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x417be3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b130
push 0x42b128
push str.FlsSetValue
push 0x22
call fcn.00417991
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417c1d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x427134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x419a25
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409870
mov eax, dword [0x436050]
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.00416119
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x419a67
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419bc3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426180
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 + 0x437998]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041947a
mov ecx, dword [esi*4 + 0x437998]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x419bbc
cmp eax, dword [ecx + edi + 0x24]
jne 0x419bbc
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419bbc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041947a
add esp, 0x14
test edx, edx
jl 0x419bbc
jg 0x419b32
test eax, eax
jb 0x419bbc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x419bbc
jl 0x419b4c
cmp dword [ebp - 0x1008], eax
ja 0x419bbc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x419b6a
test ebx, ebx
je 0x419ba3
cmp ecx, edi
jae 0x419ba3
mov al, byte [ecx]
cmp al, 0xd
jne 0x419b84
lea eax, [edi - 1]
cmp ecx, eax
jae 0x419b90
cmp byte [ecx + 1], 0xa
jne 0x419b90
inc ecx
jmp 0x419b90
movzx eax, al
movsx eax, byte [eax + 0x4362e0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x419b6a
cmp edx, ebx
jne 0x419b6a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419bc1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00408a93
leave
ret