joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edda2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.004a1b37
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x41536d
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415340
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004a1e4d
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x415360
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x41543b
cmp dword [ebx + 4], 0xffffffff
jne 0x41543b
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4153a0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x4153d7
cmp eax, 0x2f
je 0x4153d7
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4153c4
mov eax, dword [0x50b1f4]
mov dword [edi], eax
push 0x20
call fcn.004a1b37
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00413b70
mov dword [ebx], eax
test eax, eax
jne 0x415437
push ecx
mov ecx, ebx
mov dword [0x541430], 0x200
call fcn.00415490
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x415440
mov eax, 0x1000000
mov dword [0x541430], eax
test eax, eax
je 0x415465
push ecx
mov ecx, ebx
call fcn.00415490
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.004a1b37
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418f00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x536364]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
push edi
test edx, edx
je 0x419044
mov ecx, edx
mov dword [esp + 0x2c], 0
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418f50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004068e0
cmp dword [esp + 0x30], 8
lea ebx, [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x2c]
cmovae ebx, edi
xor ecx, ecx
add eax, eax
je 0x418fa5
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x418f90
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
cmp eax, 8
jb 0x418fe1
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418fd7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419065
push ecx
push edi
call fcn.004a1b67
add esp, 8
lea eax, [esp + 0x14]
mov ecx, 0x54144c
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00419c80
mov eax, dword [eax]
cmp eax, dword [0x54144c]
je 0x419044
lea eax, [esp + 0x14]
mov ecx, 0x54144c
push eax
call fcn.00419cd0
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x419026
lock inc dword [ecx + 4]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov eax, esi
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
int3
Function at 0x41a6a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x536364]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x41a7a0
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a6e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004068e0
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x41a731
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x41a720
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x41a769
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41a75f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a7b4
push ecx
push esi
call fcn.004a1b67
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041ae80
mov eax, dword [eax]
cmp eax, dword [0x54145c]
je 0x41a7a0
lea eax, [esp + 0xc]
push eax
call fcn.0041aee0
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
int3
Function at 0x41beb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x536364]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x41bfb6
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bef0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004068e0
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x41bf41
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x41bf30
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x41bf79
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41bf6f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bfcd
push ecx
push esi
call fcn.004a1b67
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041c480
mov eax, dword [eax]
cmp eax, dword [0x541464]
je 0x41bfb6
lea eax, [esp + 0xc]
push eax
call fcn.0041c4e0
cmp dword [eax + 0x14], 8
jb 0x41bfbb
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
mov eax, 0x50b270
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
int3
Function at 0x41cdc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee458
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x41cf5c
mov ecx, ebx
call fcn.00457c00
test eax, eax
je 0x41ce2b
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00458320
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_1
push ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41ceb0
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41cea9
push dword [ebp - 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41cea9
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cea0
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x41cea9
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41cf5c
call fcn.00421670
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.0041ffd0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x41cf07
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], edi
push ecx
mov ecx, esi
call fcn.0041cb90
add esp, 0xc
mov dword [ebp - 4], 1
test edi, edi
je 0x41cf69
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41cf69
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41cf69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c9b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c9de
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 8]
push 0x10
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4
Function at 0x442470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef8b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00442a50
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.00406aa0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4441f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efa33
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x444250
sub edx, ebx
lea ecx, [esi + 0x18]
sar edx, 1
push edx
push eax
call fcn.004068e0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], eax
mov eax, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4459b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efab6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], ax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00445350
mov dword [esi + 0xe4], 0
xor eax, eax
mov dword [esi + 0xe8], 7
mov word [esi + 0xd4], ax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov eax, esi
mov dword [esi + 0xc], 0x4000
mov dword [esi + 0xd0], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4461b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push dword [ebx]
push 1
push dword [ebx + 8]
push edi
call fcn.004d73f9
mov esi, dword [ebx + 8]
mov ecx, eax
add esp, 0x10
cmp ecx, 1
sete al
mov byte [esp + 0x13], al
mov eax, esi
cdq
idiv dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
cmp ecx, 1
jne 0x446347
add dword [ebx + 0x14], esi
cmp dword [ebx + 0x4c], 8
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x38]
push ecx
mov ecx, esp
jb 0x446206
mov eax, dword [eax]
mov dword [ecx], eax
mov edx, 0x18
push ecx
mov eax, esp
lea ecx, [ebx + 0x20]
mov dword [eax], str.read
call fcn.00443fb0
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov edx, dword [ebx + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], 0
mov esi, edi
mov dword [esp + 0x1c], edx
test eax, eax
je 0x4462f4
mov edi, edx
jmp 0x44624b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x18], eax
cmp edx, 1
jne 0x44625b
xor edx, edx
cmp byte [esi], dl
jmp 0x446260
xor edx, edx
cmp word [esi], dx
sete dl
mov eax, edi
test edx, edx
je 0x446298
test ecx, ecx
je 0x44628a
cmp esi, ecx
je 0x44628a
imul edi, dword [esp + 0x14]
mov eax, esi
sub eax, ecx
push eax
push ecx
sub ecx, edi
push ecx
call fcn.004c18f0
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [eax + esi]
inc edx
mov dword [esp + 0x14], edx
jmp 0x44629c
mov edx, dword [esp + 0x14]
add esi, eax
mov edi, eax
cmp dword [esp + 0x18], 0
jne 0x446243
test ecx, ecx
je 0x4462c1
cmp esi, ecx
je 0x4462c1
sub esi, ecx
imul eax, edx
push esi
push ecx
sub ecx, eax
push ecx
call fcn.004c18f0
add esp, 0xc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4462f1
push 0xffffffffffffffff
push esi
push ecx
mov eax, esp
mov edx, 1
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.nulls_removed
call fcn.00443fb0
add esp, 0x10
sub dword [ebx + 0x1c], esi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x18], 1
jle 0x446347
test byte [ebx + 4], 0x80
je 0x446347
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x446322
nop word [eax + eax]
movzx eax, word [edi + ecx*2 - 2]
dec ecx
rol ax, 8
mov word [edi + ecx*2], ax
test ecx, ecx
jne 0x446310
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
lea eax, [ebx + 0x20]
mov ecx, eax
call fcn.00443fb0
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x44635a
mov ecx, ebx
call fcn.00445a70
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
mov ebx, ecx
push edi
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
imul eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne ebx, eax
test byte [esi + 4], 0x80
je 0x4468ca
test ecx, ecx
jne 0x44688d
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a1e4d
mov ecx, dword [esi + 0x1c]
add esp, 4
add ecx, ecx
mov edi, eax
mov dword [esp + 0xc], edi
push ecx
push ebx
push edi
call fcn.004c0b70
mov edx, dword [esi + 0x1c]
add esp, 0xc
mov ecx, edi
mov ebx, edi
test edx, edx
je 0x4468a3
movzx eax, word [ecx + edx*2 - 2]
dec edx
rol ax, 8
mov word [ecx + edx*2], ax
test edx, edx
jne 0x446891
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
lea edi, [esi + 0x20]
push ecx
xor edx, edx
mov ecx, edi
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
call fcn.00443fb0
add esp, 0x10
jmp 0x4468cd
lea edi, [esi + 0x20]
push dword [esi]
push 1
push dword [esi + 8]
push ebx
call fcn.004d71d5
add esp, 0x10
cmp eax, 1
mov eax, dword [esp + 0xc]
sete bl
test eax, eax
je 0x4468f4
push eax
call fcn.0049daf1
add esp, 4
test bl, bl
je 0x446936
mov eax, dword [esi + 8]
add dword [esi + 0x14], eax
push 0xffffffffffffffff
push dword [esi + 0x1c]
add esi, 0x38
push ecx
mov ecx, esp
cmp dword [esi + 0x14], 8
jb 0x446911
mov esi, dword [esi]
mov dword [ecx], esi
mov edx, 0x18
push ecx
mov esi, esp
mov ecx, edi
mov dword [esi], str.write
call fcn.00443fb0
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.00445a70
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eff78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x536364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x3c], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
test eax, eax
jne 0x458372
mov dword [esi], edx
mov dword [esi + 4], edx
jmp 0x458495
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00415770
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push 0x5174e0
push eax
call fcn.004d63fb
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45844b
push 2
push 0
push ebx
call fcn.004d6f82
add esp, 0xc
push ebx
call fcn.004d6b2f
add esp, 4
mov edi, eax
mov dword [ebp - 0x30], edi
push 0
push 0
push ebx
call fcn.004d6f82
add esp, 0xc
lea ecx, [edi + 1]
push ecx
call fcn.004c98ac
mov edi, eax
add esp, 4
test edi, edi
je 0x458435
push ebx
push dword [ebp - 0x30]
push 1
push edi
call fcn.004d73f9
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp eax, ecx
jne 0x458435
push ebx
mov byte [ecx + edi], 0
call fcn.004d6558
movss xmm2, dword [0x51c344]
add esp, 4
mov ecx, edi
call fcn.00453850
push edi
mov ebx, eax
call fcn.004c98a7
add esp, 4
jmp 0x45844d
push ebx
call fcn.004d6558
add esp, 4
test edi, edi
je 0x45844b
push edi
call fcn.004c98a7
add esp, 4
xor ebx, ebx
push dword [ebp - 0x38]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x34]
push dword [ebp + 8]
push dword [ebp - 0x3c]
call fcn.00457f20
mov edx, dword [ebp - 0x18]
add esp, 0x10
cmp edx, 0x10
jb 0x458495
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45848b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4584b3
push edx
push ecx
call fcn.004a1b67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
int3
Function at 0x460350
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], 0
push eax
push 0x53c9e0
push 0x53ca20
mov esi, ecx
mov word [ebp - 0x1e], ax
push eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
call fcn.004c284f
mov dword [ebp - 0x30], eax
add esp, 0x14
cmp dword [esi + 0x2ac], 8
lea eax, [esi + 0x298]
jb 0x460396
mov eax, dword [eax]
mov ecx, dword [esi + 0x2b0]
mov edx, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
xor eax, eax
test edx, edx
movss dword [ebp - 0x14], xmm0
sete al
cmp eax, edi
jne 0x4603ee
mov eax, dword [ecx + 0xc0]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0x24], eax
jmp 0x4603f4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x74]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4763c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0c00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x536364]
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 esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x4763fe
mov eax, dword [esi]
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x476559
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
je 0x4764d1
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x476553
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x476553
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004068e0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x476490
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004068e0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x476553
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476549
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476575
jmp 0x476549
push 1
call edi
test eax, eax
je 0x476553
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x476553
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x476553
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.004189b0
push 0
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004156f0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x476553
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476549
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47657a
push edx
push ecx
call fcn.004a1b67
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
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.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
call fcn.004c43e9
int3