joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b890
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xf
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42b8a0
mov byte [edi + 0x13], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42b8e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x23
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42b8f0
mov byte [edi + 0x27], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42b910
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x25
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42b920
mov byte [edi + 0x29], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42b980
Capabilities:
Encode data using xor

Disassembly:
push esi
xor edx, edx
push ebx
mov bl, byte [ecx + edx + 4]
mov eax, dword [ecx]
add al, dl
xor al, bl
mov byte [ecx + edx + 4], al
inc edx
cmp edx, 0x19
jb 0x42b984
pop ebx
mov byte [ecx + 0x1d], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x42b9b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xb
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42b9c0
mov byte [edi + 0xf], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42ba40
Capabilities:
Encode data using xor

Disassembly:
push esi
xor edx, edx
push ebx
mov bl, byte [ecx + edx + 4]
mov eax, dword [ecx]
add al, dl
xor al, bl
mov byte [ecx + edx + 4], al
inc edx
cmp edx, 0x12
jb 0x42ba44
pop ebx
mov byte [ecx + 0x16], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x42ba90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 6
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42baa0
mov byte [edi + 0xa], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42bae0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x12
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42baf0
mov byte [edi + 0x16], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42bb10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xd
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42bb20
mov byte [edi + 0x11], 0
pop edi
pop esi
pop ebx
ret
Function at 0x42bb40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x21
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x42bb50
mov byte [edi + 0x25], 0
pop edi
pop esi
pop ebx
ret

Function at 0x43699d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4369dc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4369dc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4369dc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4369dc
cmp dword [ecx + 0x74], 0xe
jbe 0x4369dc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x442bb2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00436c00
mov eax, dword [0x4c70c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0044d917
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x442bf4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x442d50
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0045bc30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4ca5d0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00450d6b
mov ecx, dword [esi*4 + 0x4ca5d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x442d49
cmp eax, dword [edi + ecx + 0x24]
jne 0x442d49
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x442d49
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00450d6b
add esp, 0x14
test edx, edx
jl 0x442d49
jg 0x442cbf
test eax, eax
jb 0x442d49
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x442d49
jl 0x442cd9
cmp dword [ebp - 0x1008], eax
ja 0x442d49
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x442cf7
test ebx, ebx
je 0x442d30
cmp ecx, edi
jae 0x442d30
mov al, byte [ecx]
cmp al, 0xd
jne 0x442d11
lea eax, [edi - 1]
cmp ecx, eax
jae 0x442d1d
cmp byte [ecx + 1], 0xa
jne 0x442d1d
inc ecx
jmp 0x442d1d
movzx eax, al
movsx eax, byte [eax + 0x4c7510]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x442cf7
cmp edx, ebx
jne 0x442cf7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x442d4e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00435b39
leave
ret
Function at 0x44b307
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a6890
push 0x4a6888
push str.FlsAlloc
push 0x1e
call fcn.0044b134
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44b33b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a2320]
call esi
jmp 0x44b341
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44b385
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a68a0
push 0x4a6898
push str.FlsGetValue
push 0x20
call fcn.0044b134
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44b3bc
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a2320]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x450106
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044fda1

Function at 0x450111
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044ff30

Function at 0x450223
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4ca5d0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x450263
cmp byte [ebx], 0xa
jne 0x450263
or byte [eax + edi + 0x28], 4
jmp 0x450268
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x450366
mov al, byte [edx]
cmp al, 0x1a
je 0x450348
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x450297
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4502bc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4502c6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x450279
jmp 0x450366
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x450343
cmp dword [ebp - 0xc], 0
je 0x450343
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4ca5d0]
test byte [eax + edi + 0x28], 0x48
je 0x45031d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x450308
mov byte [esi], dl
jmp 0x450319
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4ca5d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x450366
cmp byte [ebp - 1], 0xa
jne 0x45032c
cmp esi, ebx
jne 0x45032c
mov byte [esi], 0xa
jmp 0x450365
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00450d89
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x450366
mov byte [esi], 0xd
jmp 0x450365
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4ca5d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x450362
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x450366
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45036f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4ca5d0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4503b2
cmp word [esi], dx
jne 0x4503b2
or byte [edi + eax + 0x28], 4
jmp 0x4503b7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4504f0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4504d0
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4503f9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x45042f
cmp eax, edx
jae 0x45043b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4503d1
jmp 0x4504f0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4504cc
cmp dword [ebp - 0x14], 0
je 0x4504cc
mov eax, dword [ebx*4 + 0x4ca5d0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4504a4
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x4504ea
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4ca5d0]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x4ca5d0]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4ca5d0]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x4504ed
pop ebx
cmp word [ebp - 4], bx
jne 0x4504b5
cmp esi, dword [ebp + 0xc]
jne 0x4504b5
mov word [esi], bx
jmp 0x4504ed
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00450d89
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4504f0
push 0xd
jmp 0x4504e9
mov ecx, dword [ebx*4 + 0x4ca5d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4504e7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4504f0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x453593
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x453630
push ebx
push esi
call fcn.0045355c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044c323
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4535dd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45362f
push edi
push eax
call fcn.0044c259
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4535fd
call fcn.0044c21f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45362e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044c323
add esp, 0x20
test eax, eax
jne 0x45361c
push edi
call fcn.0044c21f
jmp 0x453624
push ebx
call fcn.0044c21f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x453633
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x453644
pop esi
ret
push ebx
push edi
push esi
call fcn.0045355c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044c259
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45366c
push ebx
push esi
push edi
call fcn.00437600
add esp, 0xc
push 0
call fcn.0044c21f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x453a30
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453681
Function at 0x45a885
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045a801
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x45a9fd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x45a9fd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x45a9ac
jg 0x45a8de
test eax, eax
je 0x45a9a2
push 1
push 0x1000
call fcn.0044ae36
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45a904
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x45a999
push 0x8000
push ebx
call fcn.0044935c
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45a930
jg 0x45a92b
cmp ecx, 0x1000
jb 0x45a930
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044f7f7
add esp, 0x10
cmp eax, 0xffffffff
je 0x45a975
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x45a92b
jl 0x45a95c
test ecx, ecx
jne 0x45a91d
push dword [ebp - 0xc]
push ebx
call fcn.0044935c
push esi
call fcn.0044c21f
add esp, 0xc
xor edi, edi
jmp 0x45aa0e
cmp byte [edi + 0x24], 0
je 0x45a98c
cmp dword [edi + 0x20], 5
jne 0x45a98c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x45a997
mov edi, dword [edi + 0x18]
jmp 0x45a999
xor edi, edi
push esi
call fcn.0044c21f
pop ecx
jmp 0x45aa0e
test ecx, ecx
jg 0x45a96e
jl 0x45a9ac
test eax, eax
jae 0x45a96e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00450d89
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45a9cf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x45a96e
jmp 0x45aa06
push ebx
call fcn.00454082
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45a96e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x45aa0e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x45aa0b
mov edi, dword [edi + 0x18]
jmp 0x45aa0e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00450d89
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45bb50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45bb7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45bb7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45efc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f535
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c70c0]
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
push 0xa
push 0x64
push dword [0x4ca858]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45f00a
xor al, al
jmp 0x45f142
push edi
push dword [0x4ca858]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x4ca858]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00409810
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00460e40
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45f099
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f08f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f15e
push ecx
push edx
call fcn.00435dd2
add esp, 8
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0043f71d
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0045f2d0
push 4
lea eax, [ebp - 0x44]
push eax
call fcn.004079f0
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov esi, eax
test esi, esi
je 0x45f10e
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
jb 0x45f0e8
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x30]
push ecx
push 0
push 0xc8
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
push 0
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x45f110
xor bl, bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x45f140
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f136
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f163
push ecx
push edx
call fcn.00435dd2
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.00435b39
mov esp, ebp
pop ebp
ret
call fcn.0043f67c
call fcn.0043f67c
int3
Function at 0x45f4d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f59d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c70c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x4cb710]
cmp eax, dword [esi + 4]
jg 0x45f5e6
push 0x4cb6e0
mov dword [ebp - 0x18], 0x4cb6e0
call fcn.004346e0
add esp, 4
test eax, eax
jne 0x45f628
mov eax, dword [0x4cb70c]
cmp eax, 0x7fffffff
je 0x45f62f
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45f5c1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x45f57a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45f5c1
cmp dword [edi + 0x14], 0x10
jb 0x45f582
mov edi, dword [edi]
mov ecx, dword [ebp - 0x10]
push dword [ecx]
push edi
push eax
call fcn.00437600
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
push esi
mov byte [ecx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
je 0x45f5c7
call ebx
push 0x4cb6e0
call fcn.004346f1
add esp, 4
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 0x4cb710
call fcn.00435e7f
add esp, 4
cmp dword [0x4cb710], 0xffffffff
jne 0x45f515
push 2
push 0x4cb6e0
call fcn.004346c0
push 0x4a13f0
call fcn.00435db8
push 0x4cb710
call fcn.00435e2e
add esp, 0x10
jmp 0x45f515
push 5
call fcn.00434c61
dec eax
push 6
mov dword [0x4cb70c], eax
call fcn.00434c61
int3
Function at 0x45f7f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4c70c0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov byte [esp + 0x30], 0x49
mov byte [esp + 0x31], 0x75
mov byte [esp + 0x32], 0x73
mov byte [esp + 0x33], 0x73
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], 0x40
mov byte [esp + 0x37], 0x26
mov byte [esp + 0x38], 0x49
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3c], 0x71
mov byte [esp + 0x3d], 0x26
mov byte [esp + 0x3e], 0x75
mov byte [esp + 0x3f], 0x74
mov byte [esp + 0x40], 0x40
mov byte [esp + 0x41], 0x26
mov byte [esp + 0x42], 0x76
mov byte [esp + 0x43], 0x75
mov byte [esp + 0x44], 0x6f
mov byte [esp + 0x45], 0x74
mov byte [esp + 0x46], 0x7a
mov byte [esp + 0x47], 0x40
mov byte [esp + 0x48], 0x26
mov byte [esp + 0x49], 0
mov al, byte [esp + 0x30]
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x30]
sub cl, 6
mov byte [esp + eax + 0x30], cl
inc eax
cmp eax, 0x19
jb 0x45f8a0
push 0x4cab20
call fcn.004346e0
add esp, 4
test eax, eax
jne 0x45f9e1
cmp dword [0x4cab4c], 0x7fffffff
je 0x45f9e8
mov edx, 0x4ab850
mov ecx, 0x4caa80
call fcn.00408fc0
lea edx, [esp + 0x30]
mov ecx, 0x4caa80
call fcn.00408fc0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x45f930
push eax
mov ecx, 0x4caa80
call fcn.004148f0
mov edx, 0x4ab748
mov ecx, 0x4caa80
call fcn.00408fc0
test ebx, ebx
je 0x45f930
push ebx
mov ecx, 0x4caa80
call fcn.004148f0
mov ecx, 0x4caa70
call fcn.0045c1b0
push 0x4cab20
call fcn.004346f1
mov eax, dword [esp + 0x34]
add esp, 4
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push 0x1c
push eax
push 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xffffff88
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_SendInput]
push dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
push dword [ebp + 8]
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xffffff88
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], edi
call esi
push 0x1c
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435b39
mov esp, ebp
pop ebp
ret
push 5
call fcn.00434c61
push 6
mov dword [0x4cab4c], 0x7ffffffe
call fcn.00434c61
int3