joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448540
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push 0x1000
push 0
push dword [0x4e6f0c]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4486d0
mov cl, byte [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, edx
mov edi, edi
cmp ebp, 0xffffffff
je 0x44858e
test ebp, ebp
je 0x448636
dec ebp
cmp dword [ebx + 4], 0
lea edi, [ebx + 4]
je 0x4485aa
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00448410
mov dword [esp + 0x10], eax
jmp 0x4485c4
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x24]
cmp eax, 1
jne 0x448639
test cl, cl
je 0x4485d8
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edi, esi
mov edx, dword [esp + 0x1c]
dec eax
sub edi, edx
cmp edi, eax
jle 0x448613
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x4e6f0c]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x24]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [edi + edx]
test cl, cl
je 0x448636
cmp dword [esp + 0x28], 0
jne 0x448580
cmp cl, 0xd
je 0x448642
cmp cl, 0xa
jne 0x448580
dec esi
jmp 0x4486b3
lea edi, [ebx + 4]
cmp dword [esp + 0x28], 0
jne 0x4486b3
jmp 0x448645
lea edi, [ebx + 4]
cmp cl, 0xa
jne 0x44864d
dec esi
jmp 0x4486b3
cmp cl, 0xd
jne 0x4486b3
dec esi
cmp dword [edi], 0
je 0x44866b
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00448410
mov dword [esp + 0x10], eax
jmp 0x448681
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x24], 0xa
je 0x4486b3
cmp dword [edi], 0
je 0x448692
inc dword [ebx + 0xc]
jmp 0x4486b3
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4486e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push 0x1000
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x44889f
mov ax, word [esp + 0x1c]
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0x18], 0x7ff
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
je 0x448739
test ecx, ecx
je 0x4487fc
dec ecx
mov dword [esp + 0x30], ecx
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x448755
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00448410
mov dword [esp + 0x10], eax
jmp 0x44876f
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, 2
mov ax, word [esp + 0x28]
jne 0x4487ff
test ax, ax
je 0x44878d
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, edi
mov ecx, dword [esp + 0x18]
sub esi, edx
sar esi, 1
cmp esi, ecx
jle 0x4487d4
mov eax, dword [esp + 0x1c]
add ecx, 0x800
add eax, 0x1000
mov dword [esp + 0x18], ecx
push eax
push edx
push 8
push dword [0x4e6f0c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
mov ax, word [esp + 0x28]
mov dword [esp + 0x14], edx
lea edi, [edx + esi*2]
test ax, ax
je 0x4487ff
cmp dword [esp + 0x2c], 0
jne 0x448723
cmp ax, 0xd
je 0x448806
cmp ax, 0xa
jne 0x448723
sub edi, 2
jmp 0x44887e
lea ebp, [ebx + 4]
cmp dword [esp + 0x2c], 0
jne 0x44887e
cmp ax, 0xa
jne 0x448811
sub edi, 2
jmp 0x44887e
cmp ax, 0xd
jne 0x44887e
sub edi, 2
cmp dword [ebp], 0
je 0x448833
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00448410
mov dword [esp + 0x10], eax
jmp 0x448849
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x28], 0xa
je 0x44887e
cmp dword [ebp], 0
je 0x44885d
add dword [ebx + 0xc], 2
jmp 0x44887e
push 1
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, edi
sub ecx, dword [esp + 0x14]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x4488b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x4e6f0c]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x448a00
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x4488fc
test edi, edi
je 0x44896d
dec edi
push esi
push ebp
call fcn.00472580
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44890f
xor cl, cl
jmp 0x448911
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x448954
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x4e6f0c]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x44896d
test eax, eax
jne 0x4488f2
cmp cl, 0xd
je 0x448971
cmp cl, 0xa
jne 0x4488f2
dec esi
jmp 0x4489e3
test eax, eax
jne 0x4489e3
cmp cl, 0xa
jne 0x448979
dec esi
jmp 0x4489e3
cmp cl, 0xd
jne 0x4489e3
dec esi
cmp dword [ebp + 4], 0
je 0x448998
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.00448410
mov dword [esp + 0x20], eax
jmp 0x4489af
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x4489e3
cmp dword [ebp + 4], 0
je 0x4489c1
inc dword [ebp + 0xc]
jmp 0x4489e3
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x448a10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
cmp dword [edi + 0x1c], 0
jne 0x448b27
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x448a5d
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [esp + 0x24]
cmp eax, esi
jle 0x448ae6
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x448acf
sub eax, 1
je 0x448ab6
sub eax, 2
je 0x448a9f
push esi
push dword [esp + 0x24]
push ecx
call fcn.0043b210
add esp, 0xc
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov ax, word [eax]
mov word [ecx], ax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
push edi
call fcn.0041cb70
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x448b15
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
push esi
push dword [esp + 0x24]
add ecx, eax
jmp 0x448a87
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x44933a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
xor ebp, ebp
push esi
test ebx, ebx
je 0x44934e
mov esi, ebx
jmp 0x449360
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x44944e
lea eax, [esp + 0x18]
push eax
push 0x18
pop eax
push eax
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x449443
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edi
mov edi, dword [esp + 0x24]
push 0x2c
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.0042bcb0
add esp, 0xc
mov dword [esp + 0x34], 0x28
xor eax, eax
mov dword [esp + 0x38], ebp
inc eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x40], ax
xor ecx, ecx
push 0x18
pop eax
push ecx
push ecx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x54], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x449442
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x78]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
imul edi, dword [esp + 0x14]
test edi, edi
jle 0x449442
mov ebp, dword [esp + 0x10]
push 3
pop ebx
movzx ecx, byte [ebp + 1]
xor edx, edx
movzx eax, byte [ebp + 2]
add eax, ecx
movzx ecx, byte [ebp]
add eax, ecx
div ebx
mov byte [ebp], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 2], al
mov ebp, dword [esp + 0x10]
add ebp, ebx
mov dword [esp + 0x10], ebp
sub edi, 1
jne 0x449406
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
pop edi
test ebx, ebx
jne 0x44944e
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x50
ret 8

Function at 0x449ec3
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
leave
ret 4
Function at 0x449f06
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x4e9380], 0
jne 0x449fd7
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x4e98a0
mov dword [0x4e9380], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x4e6f0c]
mov dword [0x4e9844], eax
mov dword [0x4e9384], 0x1f4
call esi
mov dword [0x4e9854], eax
mov eax, dword [0x4e9384]
add eax, eax
push eax
push 8
push dword [0x4e6f0c]
call esi
xor ebx, ebx
mov dword [0x4e9850], eax
push 0x4e9860
mov dword [0x4e9848], ebx
mov dword [0x4e984c], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x4e9878], eax
call esi
mov dword [0x4e987c], eax
cmp dword [0x4e9878], ebx
je 0x449fce
test eax, eax
je 0x449fce
lea eax, [esp + 0xc]
mov dword [0x4e9858], ebx
push eax
push ebx
push ebx
push 0x44a3c4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4e985c], eax
jmp 0x449fd4
mov dword [0x4e9858], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44a29b
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x44a340
cmp dword [esp + 0xc], 0
je 0x44a340
cmp dword [0x4e9858], 1
je 0x44a340
push edi
push 0x1f
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44a33f
push ebp
mov ebp, 0x4e9860
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x4e987c]
mov dword [0x4e9880], esi
mov dword [0x4e9884], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x4e9878]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x4e987c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44a337
push 0
push dword [0x4e985c]
mov dword [0x4e9858], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
pop esi
ret 8

Function at 0x44a344
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x44a3c0
cmp dword [0x4e9858], 1
je 0x44a3c0
push ebx
mov ebx, 0x4e9860
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x4e987c]
and dword [0x4e9884], 0
mov dword [0x4e9880], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x4e9878]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x4e987c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44a3b8
push 0
push dword [0x4e985c]
mov dword [0x4e9858], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop esi
ret 4
Function at 0x44be0c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x44bea2
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44be9f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x44be9f
lea eax, [esi - 1]
push eax
push dword [0x4e9364]
call fcn.0042c617
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x44bea1
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x44be8f
mov edx, 0xfa01
cmp word [ecx], dx
je 0x44be9a
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x44be7f
jmp 0x44be9f
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x44bf48
push eax
call esi
test al, al
jns 0x44bf48
push 0x11
call esi
test al, al
js 0x44bf48
push 0x10
call esi
test al, al
js 0x44bf48
push 0x12
call esi
test al, al
js 0x44bf48
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x44bf48
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.00449590
add esp, 0xc
test eax, eax
je 0x44bf1c
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.00449590
add esp, 0xc
test eax, eax
jne 0x44bf33
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x44bf89
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.00448b94
pop ecx
pop ecx
test eax, eax
je 0x44bf89
test ebp, ebp
je 0x44bf6c
push 0x11
call esi
test al, al
js 0x44bf64
push 0x10
call esi
test al, al
js 0x44bf64
push 0x12
call esi
test al, al
jns 0x44bf6c
push 1
push ebp
call fcn.0044c0ad
test ebx, ebx
je 0x44bf80
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x44bf89
test edi, edi
je 0x44bf89
mov eax, dword [edi + 8]
jmp 0x44bf8b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x44d70a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, 1
je 0x44d73a
cmp esi, 2
je 0x44d73a
cmp esi, 4
je 0x44d73a
cmp esi, 8
je 0x44d73a
cmp esi, 0x18
je 0x44d73a
cmp esi, 0x20
je 0x44d73a
xor eax, eax
jmp 0x44d907
mov ecx, dword [0x4e9280]
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x44d903
mov edx, dword [esp + 0x28]
mov eax, dword [edi*4 + 0x4e92a0]
cmp dword [eax], edx
je 0x44d76d
inc edi
mov dword [esp + 0x10], edi
cmp edi, ecx
jl 0x44d754
jmp 0x44d903
cmp dword [esp + 0x38], 0x20
jne 0x44d8da
mov eax, dword [eax + 8]
test eax, eax
je 0x44d7ad
cmp esi, 0x20
je 0x44d789
cmp esi, 0xffffffff
jne 0x44d7ad
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
jmp 0x44d901
mov eax, dword [esp + 0x2c]
inc eax
imul ebp, eax, 3
and ebp, 0xfffffffc
mov eax, ebp
mov dword [esp + 0x14], ebp
imul eax, dword [esp + 0x30]
push eax
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x44d903
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x44d8a5
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov esi, edx
test eax, eax
jle 0x44d884
mov ebp, ecx
mov edi, eax
mov ecx, 0xff
movzx eax, byte [esi + 2]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 2], al
movzx eax, byte [esi + 1]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 1], al
movzx eax, byte [esi]
lea esi, [esi + 4]
sub eax, ecx
movzx ecx, byte [esi - 1]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp], al
lea ebp, [ebp + 3]
sub edi, 1
jne 0x44d813
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x34]
add ecx, ebp
sub dword [esp + 0x24], 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
jne 0x44d800
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x4e92a0]
push esi
push dword [esp + 0x44]
mov esi, dword [esp + 0x20]
push dword [esp + 0x44]
push ebp
push ebx
push dword [esp + 0x40]
push esi
push dword [esp + 0x3c]
call dword [eax + 4]
push esi
push 0
push dword [0x4e6f0c]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44d903
cmp dword [esp + 0x38], 0x18
jne 0x44d903
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [eax + 4]
mov ebx, eax
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x28
Function at 0x44e350
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x44e388
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44e383
xor eax, eax
cmp dword [esp + 0xc], esi
pop edi
sete al
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call fcn.0043b210
add dword [edi + 8], esi
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
Function at 0x44ec60
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
add eax, dword [esp + 4]
ret 4

Function at 0x44ec75
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4e99cc], 0
push ebx
push esi
mov esi, 0x4e99d4
jne 0x44eca1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4e99ec], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4e99cc], 1
push dword [0x4e99ec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x44ed3e
push 0x14
push 8
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x44ed68
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e99d0]
test eax, eax
je 0x44ece3
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4e99d0], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x44edeb
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4e99ec]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44ed68
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x45001a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x494d70
push 0x494d68
push str.FlsAlloc
push 0x1f
call fcn.00450431
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45004e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a6bd8]
call esi
jmp 0x450054
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x450098
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x494d80
push 0x494d78
push str.FlsGetValue
push 0x21
call fcn.00450431
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4500cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a6bd8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4500d7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x494d88
push 0x494d80
push str.FlsSetValue
push 0x22
call fcn.00450431
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450111
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4a6bd8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]