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

Disassembly:
push 0x74
mov eax, 0x4de1c5
call fcn.004a941b
mov dword [ebp - 0x80], edx
mov esi, ecx
lea ecx, [ebp - 0x6c]
call fcn.004422b3
cmp dword [esi + 0x14], 8
jb 0x43751b
mov esi, dword [esi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x437594
push 0xfa00
lea ecx, [ebp - 0x7c]
call fcn.004069f0
mov edi, dword [ebp - 0x78]
sub edi, dword [ebp - 0x7c]
jmp 0x437567
cmp dword [ebp - 0x70], 0
je 0x43757b
push dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x7c]
call fcn.0044230f
push ebx
lea eax, [ebp - 0x70]
push eax
push edi
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437553
push dword [ebp - 0x80]
lea ecx, [ebp - 0x6c]
call fcn.004423ac
lea ecx, [ebp - 0x7c]
mov bl, 1
call fcn.00406a20
test esi, esi
je 0x43759b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.004a93ca
ret

Function at 0x437631
Capabilities:
Read file on windows

Disassembly:
push 0x84
mov eax, 0x4de1f5
call fcn.004a941b
mov dword [ebp - 0x90], edx
mov eax, ecx
lea ecx, [ebp - 0x7c]
call fcn.0044a1ef
cmp dword [eax + 0x14], 8
jb 0x437658
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x4376e7
push 0xfa00
lea ecx, [ebp - 0x8c]
call fcn.004069f0
mov edi, dword [ebp - 0x88]
sub edi, dword [ebp - 0x8c]
jmp 0x4376b1
cmp dword [ebp - 0x80], 0
je 0x4376c8
push dword [ebp - 0x80]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x7c]
call fcn.0044c731
pop ecx
push ebx
lea eax, [ebp - 0x80]
push eax
push edi
push dword [ebp - 0x8c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437699
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x7c]
call fcn.0044c7c6
lea ecx, [ebp - 0x8c]
mov bl, 1
call fcn.00406a20
test esi, esi
je 0x4376ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.004a93ca
ret
Function at 0x437a9e
Capabilities:
Write file on windows

Disassembly:
push 0x50
mov eax, 0x4de278
call fcn.004a941b
mov esi, ecx
mov ecx, dword [esi + 0x60]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
test ecx, ecx
je 0x437b07
lea eax, [esi + 0x50]
cmp dword [eax + 0x14], 8
jb 0x437ac6
mov edx, dword [eax]
jmp 0x437ac8
mov edx, eax
cmp word [edx + ecx*2 - 2], 0x2f
je 0x437ae4
cmp dword [eax + 0x14], 8
jb 0x437ada
mov edx, dword [eax]
jmp 0x437adc
mov edx, eax
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x437b07
sub esp, 0x18
mov ecx, esp
push eax
mov edx, ebx
call fcn.0042ef6b
pop ecx
call fcn.0042d459
add esp, 0x18
test al, al
jne 0x437be8
jmp 0x437c04
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x45], bl
cmp dword [esi + 0x1c], ebx
jbe 0x437b36
lea eax, [ebp - 0x45]
push eax
push dword [esi + 0x1c]
lea eax, [ebp - 0x5c]
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00437c39
mov edi, dword [ebp - 0x58]
cmp dword [esi + 0x1c], ebx
jbe 0x437b4b
push edi
mov ecx, esi
call fcn.00437a4c
test al, al
je 0x437bfc
mov edx, dword [ebp - 0x4c]
lea eax, [esi + 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042ef6b
pop ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0042d716
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
mov byte [ebp - 4], 2
call fcn.004014c0
call fcn.0042d459
add esp, 0x18
test al, al
je 0x437bec
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x4f528c
push eax
call fcn.004a41e4
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x437bec
cmp dword [esi + 0x1c], 0
je 0x437bc1
push eax
push 1
push dword [esi + 0x1c]
push edi
call fcn.004a5ea7
add esp, 0x10
cmp eax, 1
jne 0x437bc3
mov bl, 1
push dword [ebp - 0x4c]
call fcn.004a416d
pop ecx
test bl, bl
je 0x437bec
lea ecx, [ebp - 0x44]
call fcn.00403170
lea ecx, [ebp - 0x2c]
call fcn.00403170
lea ecx, [ebp - 0x58]
call fcn.00406a20
mov al, 1
jmp 0x437c06
lea ecx, [ebp - 0x44]
call fcn.00403170
lea ecx, [ebp - 0x2c]
call fcn.00403170
lea ecx, [ebp - 0x58]
call fcn.00406a20
xor al, al
call fcn.004a93ca
ret 4
Function at 0x438b78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
cmp dword [eax + 0x14], 8
push esi
push edi
mov edi, edx
mov ebx, ecx
jb 0x438b8d
mov eax, dword [eax]
push 0x4f528c
push eax
call fcn.004a41e4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x438ba5
or edi, 0xffffffff
jmp 0x438bba
push esi
push edi
push 1
push ebx
call fcn.004a5ea7
push esi
mov edi, eax
call fcn.004a416d
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x438bc1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x238], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov edi, edx
mov esi, ecx
call fcn.004acf20
add esp, 0xc
cmp dword [ebx + 0x10], 0
jne 0x438c10
mov ebx, str.utils
jmp 0x438c18
cmp dword [ebx + 0x14], 8
jb 0x438c18
mov ebx, dword [ebx]
cmp dword [edi + 0x10], 0
jne 0x438c3d
lea ecx, [ebp - 0x234]
call fcn.0042cb74
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x238], 1
jb 0x438c47
mov eax, dword [eax]
jmp 0x438c47
cmp dword [edi + 0x14], 8
jb 0x438c45
mov edi, dword [edi]
mov eax, edi
lea ecx, [ebp - 0x21c]
push ecx
xor edi, edi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test byte [ebp - 0x238], 1
je 0x438c75
lea ecx, [ebp - 0x234]
call fcn.00403170
mov ecx, esi
test bl, bl
je 0x438c8d
push edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
call fcn.004031c0
jmp 0x438c99
lea eax, [ebp - 0x21c]
push eax
call fcn.00403110
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2964
leave
ret
Function at 0x43907c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4de54e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x4390c8
xor eax, eax
jmp 0x439238
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4390f6
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4390f6
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x439238
xor edi, edi
cmp dword [esi + 0x50], edi
je 0x439236
mov ecx, esi
call fcn.004399b9
mov eax, dword [ebp + 8]
cmp dword [esi + 0x40], edi
jne 0x439129
push dword [esi + 0x50]
movsx eax, al
push eax
call fcn.004a6717
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x439236
push edi
push 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b], al
call fcn.0042905d
lea eax, [esi + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
cmp edi, 0x10
mov edi, dword [esi]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x3c]
mov ecx, esi
call dword [edi + 0x1c]
test eax, eax
js 0x43922d
cmp eax, 1
jg 0x43920e
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp edi, 0x10
lea eax, [esp + 0x28]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x4391db
push dword [esi + 0x50]
lea eax, [esp + 0x2c]
push edx
cmp edi, 0x10
cmovae eax, ecx
push 1
push eax
call fcn.004a5ea7
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x43922d
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x439209
test edx, edx
jne 0x439148
cmp dword [esp + 0x38], 0x20
jae 0x43922d
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.00433559
jmp 0x439144
mov ebx, dword [ebp + 8]
jmp 0x43922d
cmp eax, 3
jne 0x43922d
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
movsx eax, byte [esp + 0x17]
push eax
call fcn.004a6717
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [esp + 0x28]
call fcn.00404b40
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret 4
Function at 0x43985c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4de503
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x439999
cmp byte [esi + 0x45], bl
je 0x439999
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4398c0
xor al, al
jmp 0x43999b
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.0042905d
lea eax, [esi + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov ecx, dword [ecx + 0x40]
push eax
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x24]
cmovae edi, edx
lea esi, [esp + 0x24]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push dword [esp + 0x24]
call dword [edx + 0x20]
sub eax, ebx
je 0x43991a
dec eax
jne 0x43997f
mov esi, dword [esp + 0x14]
jmp 0x439921
mov esi, dword [esp + 0x14]
mov byte [esi + 0x45], bl
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ecx, 0x10
lea eax, [esp + 0x20]
cmovae eax, edx
sub edi, eax
je 0x439960
push dword [esi + 0x50]
cmp ecx, 0x10
push edi
lea eax, [esp + 0x28]
cmovae eax, edx
push 1
push eax
call fcn.004a5ea7
add esp, 0x10
cmp edi, eax
jne 0x439988
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp byte [esi + 0x45], 0
je 0x439986
test edi, edi
jne 0x4398df
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00433559
jmp 0x4398d7
dec eax
dec eax
jne 0x43998c
inc eax
jmp 0x43998a
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00404b40
mov al, bl
jmp 0x43999b
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret
Function at 0x4422b3
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov eax, ecx
ret

Function at 0x442db5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 4]
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x30], 1
and dword [esp + 0x40], 0
cmp dword [ebx + 0x20], 0
je 0x442f3d
mov ecx, ebx
call fcn.00442f57
mov dword [esp + 0x18], eax
xor eax, eax
push eax
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
call fcn.00443005
mov ecx, eax
mov dword [esp + 0x24], ecx
lea eax, [ebx + 0x1c]
mov byte [esp + 0x40], 1
mov esi, dword [eax]
mov esi, dword [esi]
jmp 0x442e40
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x1c]
cmp esi, dword [eax]
je 0x442eaa
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x14]
jb 0x442eaa
ja 0x442e58
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x10]
jb 0x442eaa
lea eax, [esi + 8]
push eax
push dword [ecx + 4]
push ecx
call fcn.004430e7
mov edx, eax
mov eax, dword [esp + 0x28]
mov ecx, 0x7fffffe
sub ecx, eax
cmp ecx, 1
jb 0x442f33
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push esi
mov dword [eax + 4], edx
mov ecx, dword [edx + 4]
lea eax, [esp + 0x24]
mov dword [ecx], edx
push eax
lea ecx, [ebx + 0x1c]
call fcn.00442fa4
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x64
jl 0x442e39
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x30], 0
mov esi, dword [eax]
cmp esi, eax
je 0x442ed3
mov edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x442ec2
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [ebx + 0x20], esi
je 0x442f09
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
cmp ecx, 1
cmovle eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
mov esi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx]
push esi
mov eax, dword [ecx]
push ebx
mov byte [esp + 0x38], 0
call dword [eax + 4]
lea ecx, [esp + 0x24]
call fcn.00442fdc
push dword [esp + 0x24]
call fcn.004a295f
pop ecx
jmp 0x442f44
push str.list_T__too_long
call fcn.004a16a5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44452c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push 0x22
push ebx
mov esi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [ebp - 4]
cmp dword [esi], ebx
je 0x44455a
push dword [esi]
call dword [sym.imp.SHELL32.dll_SHChangeNotifyDeregister]
mov dword [esi], ebx
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0x8000
push SHChangeNotifyRegister
push 0x8003
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
push dword [ebp - 4]
mov dword [esi], eax
test eax, eax
jne 0x444593
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x44459b
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x44a1ef
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx], 0
and dword [ecx + 4], 0
mov dword [ecx + 8], 0x6a09e667
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0x3c6ef372
mov dword [ecx + 0x14], 0xa54ff53a
mov dword [ecx + 0x18], 0x510e527f
mov dword [ecx + 0x1c], 0x9b05688c
mov dword [ecx + 0x20], 0x1f83d9ab
mov dword [ecx + 0x24], 0x5be0cd19
ret
Function at 0x44cbbd
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44f26c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4090], 0
je 0x44f2cc
cmp dword [esi + 0x6c], 0
jbe 0x44f2cc
mov eax, 0xffffff78
push ebx
sub eax, esi
push edi
lea ecx, [esi + 0x4094]
lea edi, [esi + 0x88]
mov dword [ebp - 4], eax
call fcn.0044ec9e
movzx ecx, byte [edi]
mov edx, dword [esi + 0x40a0]
push ecx
lea ecx, [esi + 0x4094]
mov ebx, eax
call fcn.0044cbbd
xor byte [edi], bl
mov eax, dword [ebp - 4]
inc edi
add eax, edi
pop ecx
lea ecx, [esi + 0x4094]
cmp eax, dword [esi + 0x6c]
jb 0x44f29a
pop edi
pop ebx
push dword [esi + 0x6c]
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
call dword [esi + 8]
add esp, 0x10
xor ecx, ecx
or edx, 0xffffffff
cmp eax, dword [esi + 0x6c]
cmovne ecx, edx
and dword [esi + 0x6c], 0
mov eax, ecx
pop esi
leave
ret
Function at 0x44f3e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov ebx, esi
test edi, edi
jne 0x44f408
push 0xffffffffffffff9a
pop eax
jmp 0x44f5ba
cmp dword [edi + 0x2c], esi
je 0x44f400
cmp dword [edi + 0x80], 8
mov dword [edi + 0x34], esi
jne 0x44f466
cmp dword [edi + 0x84], esi
jne 0x44f466
lea ebx, [edi + 0x30]
cmp dword [edi + 0x40], esi
jne 0x44f440
mov ecx, edi
call fcn.0044f26c
lea eax, [edi + 0x88]
mov dword [edi + 0x40], 0x4000
mov dword [edi + 0x3c], eax
mov esi, dword [edi + 0x44]
push 4
pop edx
mov ecx, ebx
call fcn.0049d2a0
mov ebx, eax
mov eax, dword [edi + 0x44]
sub eax, esi
add dword [edi + 0x6c], eax
push 0
pop esi
test ebx, ebx
je 0x44f421
xor eax, eax
cmp ebx, 1
cmove ebx, eax
cmp dword [edi + 0x6c], esi
jbe 0x44f47e
test ebx, ebx
jne 0x44f47e
mov ecx, edi
call fcn.0044f26c
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
cmp dword [edi + 0x80], 8
jne 0x44f49c
cmp dword [edi + 0x84], esi
jne 0x44f4b3
lea ecx, [edi + 0x30]
call fcn.0049d9dd
mov ebx, eax
mov dword [edi + 0x68], esi
cmp dword [edi + 0x84], esi
jne 0x44f4b3
mov eax, dword [edi + 0x408c]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x74]
mov esi, dword [edi + 0x40a4]
mov edx, dword [ebp - 4]
add esi, dword [edi + 0x44]
push 4
add ecx, 0x10
call fcn.0044edc5
mov ecx, dword [edi + 0x74]
push 4
add ecx, 0x14
mov edx, esi
call fcn.0044edc5
cmp dword [edi + 0x5c], 1
pop ecx
pop ecx
jne 0x44f4f4
mov ecx, dword [edi + 0x74]
xor edx, edx
push 2
add ecx, 0x24
inc edx
call fcn.0044edc5
pop ecx
mov ecx, dword [edi + 0x74]
mov edx, dword [ebp - 8]
push 4
add ecx, 0x18
call fcn.0044edc5
pop ecx
test ebx, ebx
jne 0x44f51a
push dword [edi + 0x78]
mov edx, dword [edi + 0x74]
lea ecx, [edi + 0x24]
call fcn.0044ecd9
pop ecx
mov ebx, eax
push dword [edi + 0x74]
call fcn.004a31f4
pop ecx
test ebx, ebx
jne 0x44f5ae
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0xc]
mov ecx, dword [edi + 0x70]
push ebx
add ecx, 0xe
push ecx
push dword [edi + 0x20]
mov dword [ebp - 0xc], eax
push dword [edi + 0x1c]
call dword [edi + 0x10]
add esp, 0x18
test eax, eax
je 0x44f556
or esi, 0xffffffff
mov ebx, esi
jmp 0x44f598
mov edx, dword [edi + 0x20]
push 4
push dword [ebp - 4]
mov ecx, edi
call fcn.0044ed6b
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x44f595
mov edx, dword [edi + 0x20]
push 4
push esi
mov ecx, edi
call fcn.0044ed6b
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x44f595
mov edx, dword [edi + 0x20]
push 4
push dword [ebp - 8]
mov ecx, edi
call fcn.0044ed6b
pop ecx
pop ecx
mov ebx, eax
or esi, 0xffffffff
push 0
push dword [ebp - 0xc]
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0x10]
add esp, 0x10
test eax, eax
cmovne ebx, esi
inc dword [edi + 0x40b0]
and dword [edi + 0x2c], 0
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4560da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push edi
lea edx, [eax + 1]
mov dword [ebp - 8], ebx
call fcn.00453ac0
mov edi, eax
dec esi
test edi, edi
je 0x45615e
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
jle 0x456153
mov dword [ebp + 8], 7
movsx ecx, byte [ebx + edx]
movsx ebx, byte [ebx + edx + 1]
mov eax, ebx
sar eax, 6
and al, 1
imul byte [ebp + 8]
sub bl, al
mov eax, ecx
sar eax, 6
and al, 1
imul byte [ebp + 8]
sub cl, al
mov eax, edx
cdq
sub eax, edx
mov edx, dword [ebp - 4]
and bl, 0xf
shl cl, 4
xor bl, cl
sar eax, 1
add edx, 2
mov byte [eax + edi], bl
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edx, esi
jl 0x456110
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov byte [eax + edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45b76a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov edx, dword [ebx + 0x3c]
push edi
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x45b7a9
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f7f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x45b88c
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x45b7df
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.004ad620
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x45b88c
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebx + 0x18]
ja 0x45b87e
test byte [esi + 0x18], 0x20
jne 0x45b87e
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.004ad620
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp edi, 1
jne 0x45b825
mov ecx, esi
call fcn.0045ae45
push dword [ebp - 4]
mov eax, dword [esi + 4]
push dword [ebp - 0xc]
mov ecx, dword [ebx + 0x3c]
push dword [ebx + 0x80]
mov edx, eax
mov dword [ebp - 0x10], eax
call fcn.00452eb2
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x45b85f
mov esi, dword [ebp - 0x10]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebx + 0x20]
jbe 0x45b867
mov dword [ebx + 0x20], edi
inc dword [ebx + 0xa8]
push dword [esi + 4]
mov ecx, dword [ebx + 0x58]
mov edx, edi
call fcn.00466082
mov eax, dword [ebp - 4]
pop ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 8], esi
test eax, eax
je 0x45b7e2
pop edi
pop esi
pop ebx
leave
ret