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

Disassembly:
push 0xffffffffffffffff
push 0x46456b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebp
or ebp, 0xffffffff
push esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x160]
push 1
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0
call fcn.00438480
test al, al
je 0x43bd76
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0044b300
test al, al
jne 0x43bd9d
lea ecx, [esp + 8]
call fcn.00438430
lea ecx, [esp + 8]
mov dword [esp + 0x148], ebp
call fcn.00438430
pop esi
pop ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
lea edx, [esp + 0x3c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43bda5
mov eax, dword [esp + 0x15c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bdb8
push edi
lea edi, [esp + 0x40]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43bdc7
mov edx, dword [esp + 0x158]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
lea ecx, [esp + 0x28]
call fcn.0044b2c0
push 0
push 0x80
push 4
push 0
push 3
mov edi, eax
push 0xc0000000
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, ebp
jne 0x43be36
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x15c]
push 0x10
push 0x407230
push 0x4077f0
push ecx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x43be89
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x154]
push 0
lea edx, [esp + 0x24]
push edx
push edi
add eax, ecx
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
push esi
jne 0x43be7a
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [esp + 0x15c]
push 0x10
push 0x407230
push 0x4077d8
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x43be89
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.00438430
lea ecx, [esp + 0xc]
mov dword [esp + 0x14c], ebp
call fcn.00438430
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x43e290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
push ebx
push ebp
mov ebp, dword [0x469804]
push esi
push edi
xor eax, eax
test ebp, ebp
mov byte [esp + 0x68], 0
mov ecx, 0x41
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], ebp
stosw word es:[edi], ax
je 0x43e4d8
xor eax, eax
mov ecx, 0x13
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x468afc]
lea edx, [esp + 0x18]
lea eax, [esp + 0x68]
push edx
mov dword [esp + 0x1c], 0x4c
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0x4079dc
mov dword [esp + 0x4c], 0x4079d0
mov dword [esp + 0x48], 0x407370
mov dword [esp + 0x34], 1
mov dword [esp + 0x50], 4
mov dword [esp + 0x20], ecx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
je 0x43e4d8
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e337
sub eax, edx
cmp dword [esp + eax + 0x65], 0x7478742e
je 0x43e368
lea edi, [esp + 0x68]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43e350
mov eax, dword [0x4079c8]
mov cl, byte [0x4079cc]
mov dword [edi], eax
mov byte [edi + 4], cl
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43e3b2
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x10
push 0x407230
push 0x4077f0
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test ebp, ebp
jle 0x43e4b5
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
push 0x4037a4
push 0
push ebx
mov ecx, 0x469800
call fcn.00439b50
mov ebp, dword [0x4037bc]
cmp ebp, 0x10
mov eax, dword [0x4037a8]
jae 0x43e3e9
mov eax, 0x4037a8
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43e3f0
sub eax, ecx
cmp ebp, 0x10
mov ecx, dword [0x4037a8]
jae 0x43e409
mov ecx, 0x4037a8
push 0
lea edx, [esp + 0x14]
push edx
push eax
push ecx
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
push 0x4079c0
push esi
call edi
push 0
push 0x407323
mov ecx, 0x4037a4
call fcn.00430cd0
push 0x4037a4
push 1
push ebx
mov ecx, 0x469800
call fcn.00439b50
mov ebp, dword [0x4037bc]
cmp ebp, 0x10
mov eax, dword [0x4037a8]
jae 0x43e45e
mov eax, 0x4037a8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43e461
sub eax, ecx
cmp ebp, 0x10
mov ecx, dword [0x4037a8]
jae 0x43e47a
mov ecx, 0x4037a8
push 0
lea edx, [esp + 0x14]
push edx
push eax
push ecx
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x4079bc
push esi
call edi
push 0
push 0x407323
mov ecx, 0x4037a4
call fcn.00430cd0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x43e3c2
mov edx, dword [0x468afc]
push 0x40000
push 0x4079b0
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fe70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4647e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x468a10]
add ecx, eax
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x6c], 1
call fcn.0043dfc0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 2
call fcn.00430be0
mov eax, dword [esp + 0x58]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x64], 1
jb 0x43ff00
mov eax, dword [esp + 0x44]
push eax
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, dword [0x468a10]
add edx, ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0043dfc0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.00430be0
cmp dword [esp + 0x58], esi
mov byte [esp + 0x64], 1
jb 0x43ff44
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00459a0d
add esp, 4
cmp dword [esp + 0x3c], esi
mov eax, dword [esp + 0x28]
jae 0x43ff52
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0043b900
test eax, eax
mov eax, dword [esp + 0x20]
setl byte [esp + 0x6c]
cmp eax, esi
jb 0x43ff83
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00459a0d
add esp, 4
cmp dword [esp + 0x3c], esi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
jb 0x43ffa8
mov edx, dword [esp + 0x20]
push edx
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x54]
mov al, byte [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
Function at 0x43ffc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4647e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x468a10]
add ecx, eax
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x6c], 1
call fcn.0043dfc0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 2
call fcn.00430be0
mov eax, dword [esp + 0x58]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x64], 1
jb 0x440050
mov eax, dword [esp + 0x44]
push eax
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, dword [0x468a10]
add edx, ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0043dfc0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.00430be0
cmp dword [esp + 0x58], esi
mov byte [esp + 0x64], 1
jb 0x440094
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00459a0d
add esp, 4
cmp dword [esp + 0x20], esi
mov eax, dword [esp + 0xc]
jae 0x4400a2
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
push ebx
lea ecx, [esp + 0x34]
call fcn.0043b900
test eax, eax
mov eax, dword [esp + 0x20]
setl byte [esp + 0x6c]
cmp eax, esi
jb 0x4400d3
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00459a0d
add esp, 4
cmp dword [esp + 0x3c], esi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
jb 0x4400f8
mov edx, dword [esp + 0x20]
push edx
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x54]
mov al, byte [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x60
ret 8

Function at 0x443bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4649a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push 0xffffffffffffffff
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push edi
mov dword [esp + 0x14], esi
mov byte [esi + 4], 0
call fcn.00430be0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x18], 0
call fcn.004433a0
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44a740
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x464bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x10]
push ebp
mov dword [esp + 0x10], ecx
xor ecx, ecx
push esi
mov esi, dword [ebx + 0x18]
xor ebp, ebp
cmp word [edx + 2], cx
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ecx
jbe 0x44a7d2
movzx edx, word [edx + 2]
mov dword [esp + 0x10], edx
lea edx, [esi + 8]
lea ecx, [ecx]
mov edi, dword [edx + 4]
cmp eax, edi
jb 0x44a7a6
mov esi, dword [edx]
test esi, esi
jne 0x44a7a0
mov esi, dword [edx + 8]
add edi, esi
cmp eax, edi
jb 0x44a7b4
mov esi, dword [esp + 0x10]
inc ecx
add edx, 0x28
cmp ecx, esi
jl 0x44a790
jmp 0x44a7d2
mov eax, dword [ebx + 0x18]
lea edx, [ecx + ecx*4]
mov eax, dword [eax + edx*8 + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.0044b2c0
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
cmp ebp, dword [ebx + 4]
jb 0x44a7ee
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
add ecx, ebp
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x418
call fcn.00452370
mov eax, dword [esp + 0x20]
test eax, eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0x34], 0
je 0x44a904
mov edx, dword [esp + 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x44a904
cmp eax, edx
mov ecx, eax
je 0x44a85f
add eax, 4
cmp eax, edx
je 0x44a85f
lea esp, [esp]
mov edi, dword [eax]
cmp edi, dword [ecx]
jge 0x44a858
mov ecx, eax
add eax, 4
cmp eax, edx
jne 0x44a850
mov edi, dword [ecx]
lea ebp, [edi + edi*2]
shl ebp, 2
mov ecx, dword [ebp + 0x4037e0]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x40], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a876
sub eax, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.00430cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push edi
add eax, ecx
push ebx
push esi
mov dword [esi + 0x20], eax
call dword [fcn.004037e4]
add esp, 0xc
test al, al
je 0x44a8e0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esi], 1
mov dword [esi + 0x20], edx
je 0x44a8c9
push eax
call fcn.00459a0d
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push edi
push ebx
push esi
call dword [ebp + fcn.004037e4]
add esp, 0xc
test al, al
mov eax, dword [esp + 0x20]
je 0x44a904
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
add ecx, edx
mov byte [esi], 1
mov dword [esi + 0x20], ecx
test eax, eax
mov bl, byte [esi]
je 0x44a913
push eax
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x44ac50
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40c
push ebx
mov ebx, dword [esp + 0x414]
cmp dword [ebx + 4], 0x100
push ebp
mov ebp, ecx
ja 0x44ac77
pop ebp
xor al, al
pop ebx
add esp, 0x40c
ret 8
mov eax, dword [ebp + 0x838]
push esi
push edi
mov edi, dword [ebp + 0x834]
cmp edi, eax
je 0x44acfd
lea esi, [edi + 0x20]
lea esp, [esp]
mov al, byte [esi + 0xc]
test al, al
jne 0x44aced
mov ecx, dword [esi]
test ecx, ecx
je 0x44aced
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
test eax, eax
je 0x44aced
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00431c40
cmp dword [esi - 8], 0x10
jb 0x44acbe
mov eax, dword [esi - 0x1c]
jmp 0x44acc1
lea eax, [esi - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
sub ecx, 0x100
push ecx
add edx, 0x100
push edx
lea ecx, [esp + 0x20]
call fcn.00437210
test al, al
jne 0x44ad0c
mov eax, dword [ebp + 0x838]
add edi, 0x30
add esi, 0x30
cmp edi, eax
jne 0x44ac90
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x40c
ret 8
mov esi, dword [esp + 0x424]
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 4]
mov byte [esi], 1
call fcn.00430be0
mov eax, dword [esp + 0x10]
add eax, 0x100
pop edi
mov dword [esi + 0x20], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x40c
ret 8

Function at 0x44b300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 0x160
push esi
mov esi, ecx
jb 0x44b33d
mov edx, dword [esp + 0xc]
mov dword [esi + 8], edx
cmp word [edx], 0x5a4d
jne 0x44b33d
mov ecx, dword [edx + 0x3c]
lea eax, [ecx + edx]
cmp eax, edx
jb 0x44b33d
add ecx, 0x120
cmp ebp, ecx
jb 0x44b33d
mov dword [esi + 0xc], eax
cmp dword [eax], 0x4550
je 0x44b344
pop esi
xor al, al
pop ebp
ret 8
add eax, 4
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
add eax, 0x18
mov dword [esi + 0x14], eax
movzx ecx, word [edx + 0x10]
add ecx, eax
push ebx
mov ebx, eax
mov dword [esi + 0x18], ecx
cmp word [ebx], 0x10b
je 0x44b371
pop ebx
pop esi
xor al, al
pop ebp
ret 8
push edi
movzx edi, word [edx + 2]
mov edx, dword [esp + 0x14]
sub edx, ecx
add edx, ebp
mov eax, 0xcccccccd
mul edx
shr edx, 5
cmp edi, edx
ja 0x44b3c4
xor edx, edx
test edi, edi
jle 0x44b3af
lea eax, [ecx + 0x14]
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x44b3a0
cmp dword [eax], ebp
jae 0x44b3c4
mov ecx, dword [esi + 0x10]
movzx ecx, word [ecx + 2]
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x44b395
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0x3c]
jb 0x44b3c0
push eax
mov ecx, esi
call fcn.0044b1d0
dec eax
cmp eax, ebp
jb 0x44b3cd
pop edi
pop ebx
pop esi
xor al, al
pop ebp
ret 8
mov edx, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi + 4], ebp
mov dword [esi], edx
pop esi
mov al, 1
pop ebp
ret 8
Function at 0x44d080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov dword [esp + 0x30], 0
jb 0x44d0cc
mov eax, dword [eax + 4]
jmp 0x44d0cf
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x44d102
cmp dword [esp + 0x20], edi
jb 0x44d0ef
mov eax, dword [esp + 0xc]
push eax
call fcn.00459a0d
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push ebp
push 0x40c748
push esi
call edi
push 0x40c740
push esi
mov ebp, eax
call edi
test eax, eax
mov dword [esp + 0x28], eax
je 0x44d189
call ebp
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44d130
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00430cd0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x469b04]
add ecx, 0xfffffff0
call fcn.0044cd40
mov edx, dword [0x469b04]
mov byte [edx - 0x18], 1
cmp dword [esp + 0x24], 0x10
jb 0x44d175
mov eax, dword [esp + 0x10]
push eax
call fcn.00459a0d
add esp, 4
pop ebp
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
cmp dword [esp + 0x24], 0x10
jb 0x44d19d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00459a0d
add esp, 4
mov ecx, dword [esp + 0x2c]
pop ebp
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x455060
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2b8]
test eax, eax
jne 0x455073
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [ebp + 0x2c0]
push edi
sub ebx, dword [ebp + 0x2bc]
push 0
inc ebx
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x4550ae
mov eax, dword [ebp + 0x140]
push 0x10
push 0x42c8d8
push 0x42c924
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
lea ecx, [ebx + 4]
push ecx
push 0x2042
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4550eb
call dword [sym.imp.user32.dll_CloseClipboard]
mov edx, dword [ebp + 0x140]
push 0x10
push 0x42c8d8
push 0x42c904
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, dword [ebp + 0x2bc]
mov esi, dword [ebp + 0x150]
mov ecx, ebx
mov edx, ecx
add esi, edi
shr ecx, 2
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push esi
mov dword [eax], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_EmptyClipboard]
mov eax, dword [ebp + 0x308]
push esi
push eax
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
jne 0x455167
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
call dword [sym.imp.user32.dll_CloseClipboard]
mov ecx, dword [ebp + 0x140]
push 0x10
push 0x42c8d8
push 0x42c8e0
push ecx
call dword [sym.imp.user32.dll_MessageBoxA]
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
call dword [sym.imp.user32.dll_CloseClipboard]
pop esi
pop edi
pop ebx
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x455419
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4652ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
mov dword [esp + 0xc], esi
call fcn.00458d60
xor ebx, ebx
lea ecx, [esi + 0x168]
mov dword [esp + 0x54], ebx
call fcn.00458e30
push ebx
mov byte [esp + 0x58], 1
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ecx, esi
mov dword [esi + 0x13c], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], ebx
call fcn.004548f0
xor eax, eax
mov ecx, 0xb
lea edi, [esi + 0x2cc]
rep stosd dword es:[edi], eax
mov eax, dword [0x469b10]
push 0x104
lea edi, [esi + 0x43c]
push edi
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push edi
call fcn.004593f0
push edi
call fcn.00459420
push edi
lea ecx, [esi + 0x38]
push 0x42c9ec
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x14
xor eax, eax
push 0x407ca4
lea edx, [esp + 0x30]
mov ecx, 0xf
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0xfffffff2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x190
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 3
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], 0x31
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edi, dword [sym.imp.gdi32.dll_CreateFontIndirectA]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
mov dword [esi], eax
call edi
push 0x42c9e0
mov dword [esi + 4], eax
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
mov dword [esi + 0x308], eax
call dword [sym.imp.user32.dll_CreatePopupMenu]
push 0x42c9d8
push 0x1001
push ebx
mov dword [esi + 0x438], eax
push eax
mov edi, dword [sym.imp.user32.dll_AppendMenuA]
call edi
mov edx, dword [esi + 0x438]
push 0x42c9d0
push 0x1002
push ebx
push edx
call edi
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x4556e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3e0]
xor eax, eax
mov ecx, 0x16
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x42ca10
lea edi, [esi + 0x3f8]
push edi
mov dword [ebx], 0x58
call dword [sym.imp.kernel32.dll_lstrcpy]
lea ebp, [esi + 0x168]
mov ecx, ebp
call fcn.00458df0
test eax, eax
je 0x45575f
mov ecx, ebp
call fcn.00458e10
push eax
call fcn.004593c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x455775
push ebp
call dword [sym.imp.kernel32.dll_lstrlen]
cmp eax, 0x34
ja 0x455775
push 0x42ca0c
push edi
call dword [sym.imp.kernel32.dll_lstrcat]
push ebp
push edi
call dword [sym.imp.kernel32.dll_lstrcat]
push edi
call dword [sym.imp.kernel32.dll_lstrlen]
jmp 0x455775
mov ebp, dword [sym.imp.kernel32.dll_lstrcat]
push 0x42ca0c
push edi
call ebp
push 0x42c9fc
push edi
call ebp
mov eax, dword [esi + 0x140]
push 0xfffffffffffffff2
push eax
mov dword [esi + 0x3e4], eax
mov dword [esi + 0x3e8], 0x2001
mov dword [esi + 0x3ec], 7
call dword [sym.imp.user32.dll_GetClassLongA]
push ebx
push 0
mov dword [esi + 0x3f4], eax
mov dword [esi + 0x3f0], 0x1400
call dword [sym.imp.shell32.dll_Shell_NotifyIcon]
test eax, eax
jne 0x4557c0
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x140]
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x458e00
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0xc]
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
ret

Function at 0x459070
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
jne 0x459081
xor eax, eax
pop edi
pop ecx
ret
push esi
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0045ad66
add esp, 4
test eax, eax
mov dword [edi + 4], eax
jne 0x4590a3
pop esi
xor eax, eax
pop edi
pop ecx
ret
mov edx, dword [edi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x45909d
mov dword [edi], esi
pop esi
mov eax, 1
pop edi
pop ecx
ret

Function at 0x4590d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4590f7
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x4590fc
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x459128
cmp edi, dword [esp + 8]
jne 0x459128
pop edi
mov eax, 1
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret