joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446e60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x734
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x72c], eax
mov eax, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0x734], eax
test edi, edi
je 0x447057
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x447057
cmp ebx, dword [edi + 0x10]
jae 0x447057
cmp dword [edi + 0x14], 1
jne 0x447057
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ecx]
je 0x447057
movzx esi, word [eax + 0x1c]
mov ecx, 0x103
cmp esi, ecx
cmovae esi, ecx
add eax, 0x2e
push esi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.005aefd0
add esp, 0xc
mov byte [ebp + esi - 0x110], 0
lea eax, [ebp - 0x520]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x447057
xor eax, eax
lea edx, [eax + 0x5c]
nop word [eax + eax]
movzx ecx, word [ebp + eax*2 - 0x520]
test cx, cx
je 0x446f42
cmp ecx, 0x2f
jne 0x446f3a
mov word [ebp + eax*2 - 0x520], dx
inc eax
cmp eax, 0x104
jl 0x446f20
lea eax, [ebp - 0x520]
push eax
push dword [ebp - 0x72c]
lea eax, [ebp - 0x318]
push eax
call dword [0x67d050]
test eax, eax
je 0x447057
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x446fb9
cmp ebx, dword [edi + 0x10]
jae 0x446fb9
cmp dword [edi + 0x14], 1
jne 0x446fb9
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ecx]
je 0x446fb9
movzx ecx, word [eax + 0x1c]
test ecx, ecx
je 0x446f8f
cmp byte [ecx + eax + 0x2d], 0x2f
je 0x446f95
test byte [eax + 0x26], 0x10
je 0x446fb9
push 0
lea eax, [ebp - 0x318]
push eax
push 0
call dword [0x67d024]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x728]
push 0x104
push eax
call fcn.005b222f
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
call dword [0x67d05c]
push 0
lea eax, [ebp - 0x728]
push eax
push 0
call dword [0x67d024]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x447057
mov eax, dword [ebp - 0x734]
mov edx, ebx
push ecx
mov dword [ebp - 0x72c], eax
lea eax, [ebp - 0x730]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x730], esi
call fcn.00445490
add esp, 0xc
push esi
test eax, eax
jne 0x44706a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
Function at 0x447090
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x675f64]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x68]
mov esi, ecx
mov ebx, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x447124
push 0x48
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], esi
push 0
push eax
mov dword [esp + 0x70], edi
call fcn.005aecd0
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0x446d80
mov dword [esp + 0x14], eax
call fcn.00444960
test eax, eax
je 0x447124
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
xor edx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.00444e20
test eax, eax
jne 0x447138
lea ecx, [esp + 0x18]
call fcn.00445bc0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
push 0
push ebx
push 0
call dword [0x67d024]
mov ecx, dword [esp + 0x28]
xor esi, esi
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x44717f
test edi, edi
je 0x44715e
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax]
push edi
push ebx
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.00446e60
mov ecx, dword [esp + 0x30]
add esp, 8
test al, al
je 0x447213
inc esi
cmp esi, ecx
jb 0x447152
mov bl, byte [esp + 0x13]
test edi, edi
je 0x44718f
mov eax, dword [edi]
push ecx
push ecx
mov ecx, edi
call dword [eax]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4471ff
cmp dword [esp + 0x34], 0
je 0x4471ff
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4471ff
cmp dword [esp + 0x2c], 1
jne 0x4471ff
push dword [esi]
push dword [esp + 0x44]
call edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push dword [esi + 0x10]
push dword [esp + 0x4c]
call edi
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
push dword [esi + 0x20]
push dword [esp + 0x54]
call edi
xorps xmm0, xmm0
add esp, 0x18
movups xmmword [esi + 0x20], xmm0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4471f5
push eax
call fcn.005b284d
add esp, 4
mov dword [esi + 0x30], 0
push esi
push dword [esp + 0x44]
call edi
add esp, 8
mov ecx, dword [esp + 0x74]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x447183
Function at 0x447220
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 8
push esi
push edi
mov esi, ecx
jb 0x44723f
mov edx, dword [edx]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x20c]
push 0
push 0
push 0x104
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call edi
test eax, eax
je 0x44735f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x447270
mov eax, dword [esi]
push eax
call dword [0x67d02c]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
test eax, eax
je 0x44735f
cmp dword [esi + 0x14], 8
jb 0x4472a0
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44735f
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00455202
add esp, 4
mov dword [ebp - 0x210], 0
mov esi, eax
lea eax, [ebp - 0x210]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447343
cmp ebx, dword [ebp - 0x210]
jne 0x447343
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x20c]
push ebx
push esi
call fcn.00446a60
add esp, 0x14
test eax, eax
je 0x447343
push esi
call fcn.004551fd
add esp, 4
mov al, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
push esi
call fcn.004551fd
add esp, 4
xor al, al
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
Function at 0x448260
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x100000
mov esi, ecx
call fcn.005c075e
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4482b1
mov eax, dword [esi + 8]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xc], 2
je 0x44839a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100000
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4483de
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4483d5
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x29], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x448373
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x448368
push 0
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x44835f
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x14
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne byte [ebp - 0x29]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp byte [ebp - 0x29], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
je 0x4483e3
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xc]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xc], 2
jne 0x4482c6
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.005c014a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
push 0
mov ecx, dword [eax]
jmp 0x4483e5
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x4483bb
Function at 0x4499e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x20c]
mov edi, ecx
push eax
push 0
push 0
push 0x8023
push 0
call dword [0x67cffc]
test eax, eax
js 0x449aa0
mov esi, dword [0x67d04c]
lea eax, [ebp - 0x20c]
push str.UniqueId
push eax
call esi
test eax, eax
je 0x449aa0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x449a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x449aa0
push str.data
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x449aa0
lea edx, [ebp - 0x20c]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x449a70
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004059e0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret

Function at 0x449ac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x80
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449b33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x449b31
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0xbb8
jae 0x449b31
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push dword [ebp + 8]
push 0
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x449af1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f221d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], eax
call fcn.004499e0
test al, al
je 0x449c59
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
mov edx, 0x80000000
cmovae ecx, dword [ebp - 0x6c]
push ecx
push 3
call fcn.00449ac0
mov esi, eax
add esp, 8
mov dword [ebp - 0x70], esi
cmp esi, 0xffffffff
je 0x449c59
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449c49
nop dword [eax + eax]
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x449c49
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x449c1e
lea eax, [edi + ecx]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x449c04
mov eax, dword [ebx]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.005aefd0
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x70]
jmp 0x449c32
push edi
lea eax, [ebp - 0x50]
mov byte [ebp - 0x74], 0
push eax
push dword [ebp - 0x74]
mov ecx, ebx
push edi
call fcn.0040eec0
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x449be0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x10], 0
seta bl
jmp 0x449c5b
xor bl, bl
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x449c91
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449c87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449caf
push edx
push ecx
call fcn.0058acab
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3
Function at 0x44d410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 4]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
cmp ebx, dword [esi + 0x4c]
jl 0x44d4a2
jg 0x44d43d
cmp edx, dword [esi + 0x48]
jbe 0x44d4a2
sub edx, dword [esi + 0x48]
mov eax, dword [esi + 0x74]
sbb ebx, dword [esi + 0x4c]
push ebx
push edx
mov ecx, dword [eax]
push str.Data_large_than_expected__lld
push str.HttpToFileTask::OnData
push eax
call dword [ecx + 8]
add esp, 0x14
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x18]
mov eax, ecx
or eax, 0x80000000
mov dword [edi + 0x18], eax
test ecx, ecx
js 0x44d488
mov dword [esi + 0x70], 0x80072efb
jne 0x44d488
mov eax, dword [esi + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 8]
push eax
push edx
push dword [edi]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44d4c0
mov edx, dword [ebp - 8]
cmp edx, dword [edi + 4]
je 0x44d51f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x74]
mov edi, eax
push edi
push str.WriteFile_failed__u.
push str.HttpToFileTask::OnData
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
add esp, 0x10
test edi, edi
jle 0x44d4ec
movzx edi, di
or edi, 0x80070000
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x18]
mov eax, ecx
or eax, 0x80000000
mov dword [ebx + 0x18], eax
test ecx, ecx
js 0x44d515
mov dword [esi + 0x70], edi
jne 0x44d515
mov eax, dword [esi + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 0x44]
sub esp, 0x10
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x18], eax
mov eax, esp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
movups xmm0, xmmword [ebp - 0x18]
mov edx, dword [ecx]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0xc]
mov eax, dword [ebp - 8]
add dword [esi + 0x40], eax
mov ecx, dword [ebp - 4]
adc dword [esi + 0x44], 0
sub dword [esi + 0x48], eax
pop edi
sbb dword [esi + 0x4c], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret 8
Function at 0x453040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x453069
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45307f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x453076
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4530b2
nop
cmp esi, ecx
jae 0x453076
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4530a0
cmp esi, ecx
jae 0x453076
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x453b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.00456927
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x453c51
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x453c51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453c51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x453c51
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x453bd8
cmp esi, ecx
jae 0x453c51
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x453bc2
cmp esi, ecx
jae 0x453c51
movzx eax, word [esi]
test ax, ax
je 0x453c51
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x453c0b
push edi
mov ecx, ebx
call fcn.00453fc0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x453c0e
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.005c0cec
add esp, 0x10
cmp eax, 0x50
ja case.0x453c2c.1
movzx eax, byte [eax + 0x453c80]
jmp dword [eax*4 + 0x453c70]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x453c61
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00455287
push 0x80070057
call fcn.00452ff0
call fcn.0045526d
xor edi, dword [eax*2 + 0x453c5c00]
add byte [ebx + 60], ch
inc ebp
add byte [ebx + 0x3c], ch
inc ebp
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x453d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor cl, cl
test eax, eax
je 0x453e9a
test eax, 0xffff0000
jne 0x453e9a
push esi
push edi
movzx edi, ax
push edi
call fcn.00456927
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x453e96
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x453e96
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453e96
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x453e96
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x453e29
cmp esi, ecx
jae 0x453e96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x453e17
cmp esi, ecx
jae 0x453e96
movzx eax, word [esi]
test ax, ax
je 0x453e96
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x453e5c
push edi
mov ecx, ebx
call fcn.00453fc0
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x453e5f
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.005c0cec
add esp, 0x10
cmp eax, 0x50
ja case.0x453e7d.1
movzx eax, byte [eax + 0x453ec8]
jmp dword [eax*4 + 0x453eb8]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x453ead
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
pop edi
mov cl, 1
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0045526d
call fcn.00455287
push 0x80070057
call fcn.00452ff0
nop
test byte [esi], bh
inc ebp
add byte [eax - 0x5cffbac2], ch
inc ebp
add byte [ebx + 0x453e], ah
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3

Function at 0x4546f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00468da9