joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c810
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x44c84c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x44cd00
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0x5a3dc4]
call fcn.00456a27
mov esi, eax
test esi, esi
je 0x44cd7f
cmp dword [esi + 4], 0
je 0x44cd50
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.0044d880
test eax, eax
je 0x44cd44
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44cd8a
cmp dword [esp + 8], 0
je 0x44cd8a
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x44d480
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x44d4e5
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x44d4dd
push dword [esp + 0x10]
push dword [0x5a3dc4]
call fcn.00456a27
test eax, eax
je 0x44d4d3
cmp dword [eax + 4], 0
je 0x44d4c2
push edi
push esi
push eax
call fcn.0044def0
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x44d540
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x44d63f
cmp word [edx], 0
je 0x44d63f
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x44d56e
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x44d5c4
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d580
sub ecx, edi
sar ecx, 1
cmp dword [esi + 4], 0
je 0x44d5a6
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0044def0
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
lea eax, [esp + 0x14]
push eax
xor eax, eax
cmp ecx, 2
push edx
setne al
dec eax
and eax, 0xfde9
push eax
call fcn.0044e010
mov edi, eax
test edi, edi
je 0x44d5ba
cmp dword [esi + 4], 0
je 0x44d612
push dword [esp + 0x14]
push edi
push esi
call fcn.0044def0
push edi
push 0
push dword [0x59f0c0]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc

Function at 0x44d6e5
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x5a3dc4]
call fcn.00456a27
test eax, eax
je case.0x44d6de.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x44d6de.3
movzx ecx, byte [ecx + 0x44d7e8]
jmp dword [ecx*4 + 0x44d7d0]
cmp dword [eax + 4], 0
je 0x44d6fb
push 2
push 0x4eb0d0
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4eb0d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d72a
push 3
push 0x4eaa50
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x4eaa50
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d759
push 2
push 0x4eb0d4
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4eb0d4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d788
push 4
push 0x4eb0d8
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4eb0d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d7b7
push 4
push 0x4eb0e0
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4eb0e0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
Function at 0x44d743
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x5a3dc4]
call fcn.00456a27
test eax, eax
je case.0x44d6de.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x44d6de.3
movzx ecx, byte [ecx + 0x44d7e8]
jmp dword [ecx*4 + 0x44d7d0]
cmp dword [eax + 4], 0
je 0x44d6fb
push 2
push 0x4eb0d0
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4eb0d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d72a
push 3
push 0x4eaa50
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x4eaa50
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d759
push 2
push 0x4eb0d4
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4eb0d4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d788
push 4
push 0x4eb0d8
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4eb0d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x44d7b7
push 4
push 0x4eb0e0
push eax
call fcn.0044def0
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4eb0e0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
Function at 0x44d880
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0
jne 0x44d8a2
push ebx
call fcn.0044c810
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], 0
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x1c]
sub ecx, ebp
add ecx, dword [ebx + 0x10]
cmp ebp, esi
jl 0x44d91e
mov eax, esi
sub eax, 1
je 0x44d90a
sub eax, 1
je 0x44d8f4
sub eax, 2
je 0x44d8e0
push esi
push ecx
push dword [esp + 0x20]
call fcn.0043d170
add esp, 0xc
mov eax, esi
sub dword [ebx + 0xc], esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
pop edi
mov dword [eax], ecx
mov eax, esi
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov cx, word [ecx]
pop edi
mov word [eax], cx
mov eax, esi
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov dl, byte [ecx]
mov eax, esi
mov ecx, dword [esp + 0x18]
pop edi
mov byte [ecx], dl
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
push ebp
push ecx
push eax
call fcn.0043d170
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [ebx + 8]
add eax, ebp
mov ecx, dword [ebx]
sub esi, ebp
mov dword [esp + 0x18], eax
push 0
cmp esi, edx
jl 0x44d966
lea edx, [esp + 0x18]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop edi
pop esi
add eax, ebp
mov dword [ebx + 0xc], 0
pop ebp
pop ebx
ret 0xc
lea eax, [esp + 0x18]
push eax
push edx
push dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jle 0x44d986
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push dword [ebx + 4]
push eax
call fcn.0043d170
sub dword [ebx + 0xc], esi
lea eax, [esi + ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x44d9b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push 0x1000
push 0
push dword [0x59f0c0]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x44db40
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 0x44d9fe
test ebp, ebp
je 0x44daa6
dec ebp
cmp dword [ebx + 4], 0
lea edi, [ebx + 4]
je 0x44da1a
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0044d880
mov dword [esp + 0x10], eax
jmp 0x44da34
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 0x44daa9
test cl, cl
je 0x44da48
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 0x44da83
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x59f0c0]
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 0x44daa6
cmp dword [esp + 0x28], 0
jne 0x44d9f0
cmp cl, 0xd
je 0x44dab2
cmp cl, 0xa
jne 0x44d9f0
dec esi
jmp 0x44db23
lea edi, [ebx + 4]
cmp dword [esp + 0x28], 0
jne 0x44db23
jmp 0x44dab5
lea edi, [ebx + 4]
cmp cl, 0xa
jne 0x44dabd
dec esi
jmp 0x44db23
cmp cl, 0xd
jne 0x44db23
dec esi
cmp dword [edi], 0
je 0x44dadb
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0044d880
mov dword [esp + 0x10], eax
jmp 0x44daf1
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 0x44db23
cmp dword [edi], 0
je 0x44db02
inc dword [ebx + 0xc]
jmp 0x44db23
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 0x44db50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push 0x1000
push 0
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x44dd0f
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 0x44dba9
test ecx, ecx
je 0x44dc6c
dec ecx
mov dword [esp + 0x30], ecx
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x44dbc5
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044d880
mov dword [esp + 0x10], eax
jmp 0x44dbdf
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 0x44dc6f
test ax, ax
je 0x44dbfd
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 0x44dc44
mov eax, dword [esp + 0x1c]
add ecx, 0x800
add eax, 0x1000
mov dword [esp + 0x18], ecx
push eax
push edx
push 8
push dword [0x59f0c0]
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 0x44dc6f
cmp dword [esp + 0x2c], 0
jne 0x44db93
cmp ax, 0xd
je 0x44dc76
cmp ax, 0xa
jne 0x44db93
sub edi, 2
jmp 0x44dcee
lea ebp, [ebx + 4]
cmp dword [esp + 0x2c], 0
jne 0x44dcee
cmp ax, 0xa
jne 0x44dc81
sub edi, 2
jmp 0x44dcee
cmp ax, 0xd
jne 0x44dcee
sub edi, 2
cmp dword [ebp], 0
je 0x44dca3
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044d880
mov dword [esp + 0x10], eax
jmp 0x44dcb9
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 0x44dcee
cmp dword [ebp], 0
je 0x44dccd
add dword [ebx + 0xc], 2
jmp 0x44dcee
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 0x44dd20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x59f0c0]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x44de70
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 0x44dd6c
test edi, edi
je 0x44dddd
dec edi
push esi
push ebp
call fcn.0044e080
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44dd7f
xor cl, cl
jmp 0x44dd81
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 0x44ddc4
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x59f0c0]
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 0x44dddd
test eax, eax
jne 0x44dd62
cmp cl, 0xd
je 0x44dde1
cmp cl, 0xa
jne 0x44dd62
dec esi
jmp 0x44de53
test eax, eax
jne 0x44de53
cmp cl, 0xa
jne 0x44dde9
dec esi
jmp 0x44de53
cmp cl, 0xd
jne 0x44de53
dec esi
cmp dword [ebp + 4], 0
je 0x44de08
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.0044d880
mov dword [esp + 0x20], eax
jmp 0x44de1f
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 0x44de53
cmp dword [ebp + 4], 0
je 0x44de31
inc dword [ebp + 0xc]
jmp 0x44de53
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 0x44def0
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 0x44e007
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x44df3d
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 0x44dfc6
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x44dfaf
sub eax, 1
je 0x44df96
sub eax, 2
je 0x44df7f
push esi
push dword [esp + 0x24]
push ecx
call fcn.0043d170
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.0044c810
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x44dff5
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 0x44df67
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x44e080
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 4], 0
je 0x44e0a7
push 1
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0044d880
mov dword [esp + 4], eax
jmp 0x44e0c1
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x44e178
mov cl, byte [esp + 0xc]
test cl, cl
js 0x44e0e6
mov eax, dword [esp + 0x10]
pop esi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push edi
cmp al, 0xc0
jne 0x44e0f6
mov edi, 2
jmp 0x44e112
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x44e105
mov edi, 3
jmp 0x44e112
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x44e164
mov edi, 4
mov eax, dword [esp + 0x14]
push ebx
lea ebx, [edi - 1]
mov byte [eax], cl
inc eax
cmp dword [esi + 4], 0
je 0x44e13e
push ebx
push eax
push esi
call fcn.0044d880
mov ecx, eax
xor eax, eax
cmp ecx, ebx
pop ebx
setne al
dec eax
and eax, edi
pop edi
pop esi
pop ecx
ret 8
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, ebx
pop ebx
setne al
dec eax
and eax, edi
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x44f598
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
jne 0x44f5a9
mov eax, dword [esp + 0xc]
jmp 0x44f68b
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
not ecx
cmp esi, 8
jb 0x44f66a
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
sub edi, 1
jne 0x44f5c3
pop edi
test esi, esi
je 0x44f686
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4eb168]
inc edx
sub esi, 1
jne 0x44f66e
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x44f72d
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x5a3e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [esi + 0xa4]
cmp eax, dword [esi + 0xac]
je 0x44f755
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [esp + 0x14]
mov eax, dword [esi + 0x90]
push dword [esp + 0x14]
add eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [esp + 0x14]
push eax
push esi
call dword [esi + 4]
pop esi
ret 0x10

Function at 0x44f77b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x5a3e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0xac]
je 0x44f7a3
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [ebp + 0x14]
mov eax, dword [esi + 0x90]
push dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [ebp + 8]
push eax
push esi
call dword [esi + 4]
pop esi
pop ebp
ret 0x14

Function at 0x44f7c6
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x5a3e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov ecx, dword [edx + 0x74]
cmp ecx, 2
je 0x44f7eb
cmp ecx, 3
je 0x44f7eb
cmp ecx, 8
je 0x44f7eb
cmp ecx, 0xc
jne 0x44f7f9
mov eax, dword [esp + 4]
test eax, eax
je 0x44f7f9
mov dword [edx + 0xb8], eax
ret 4

Function at 0x44f7fc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [0x5a3e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x90]
mov ebx, dword [edx + 0x8c]
test esi, esi
je 0x44f83c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, edi
push 0xff
push ecx
add eax, ebx
push eax
push dword [ebp + 8]
push edx
call esi
jmp 0x44f84f
mov eax, dword [ebp + 0x10]
add eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
push dword [ebp + 8]
push edx
call dword [edx + 0x24]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x44f856
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x5a3e04]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [eax + 0x8c]
add ecx, dword [esp + 0xc]
push ecx
push dword [esp + 0xc]
push eax
call dword [eax + 0x24]
ret 0xc