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

Disassembly:
mov eax, ecx
push esi
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4a2896
mov edx, dword [esp + 8]
movzx edx, word [edx]
sub eax, esi
pop esi
mov dword [esp + 4], edx
jmp fcn.004b0f80

Function at 0x4a2b20
Capabilities:
Write file on windows

Disassembly:
push eax
push 0x635df8
push 0xff
push 0x68f480
call fcn.005d0fb7
mov eax, 0x68f480
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4a2b40
mov ecx, dword [esp + 4]
sub eax, edx
movzx edx, word [ecx]
mov dword [esp + 4], edx
mov ecx, 0x68f480
jmp fcn.004b0f80

Function at 0x4a3cc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
mov edx, ebx
push esi
mov esi, ecx
xor eax, eax
and edx, 0xf000
xor ecx, ecx
cmp word [ecx*8 + 0x687080], bx
je 0x4a3d40
add ecx, 1
cmp ecx, 0x13
jb 0x4a3cd5
movzx ecx, dx
cmp ecx, 0x5000
jg 0x4a3de6
je 0x4a3d0c
cmp ecx, 0x3000
je 0x4a3d51
cmp ecx, 0x4000
jne 0x4a3e70
mov eax, dword [esp + 0x14]
movzx edx, bx
sub edx, ecx
mov ecx, dword [eax + 4]
sub esp, 8
mov bl, 0x20
fld qword [ecx + edx*8]
fld qword [0x62c6f8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x4a3d7f
fstp qword [esp]
push esi
call fcn.004a2b60
add esp, 0xc
jmp 0x4a3dd4
mov eax, dword [ecx*8 + 0x687084]
call fcn.004a28c0
jmp 0x4a3e52
mov edx, dword [esi + 0x10]
cmp dword [edx + 0x150], 4
je 0x4a3d0c
movzx eax, bx
sub eax, ecx
jne 0x4a3d0c
movzx ecx, word [esi]
pop esi
pop ebx
add esp, 8
mov dword [esp + 4], ecx
mov eax, 2
mov ecx, 0x63706c
jmp fcn.004b0f80
fmul qword [0x650d60]
fstp qword [esp]
push esi
call fcn.004a2b60
add esp, 0xc
test eax, eax
jne 0x4a3e70
movzx edx, word [esi]
push edx
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x21
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx ecx, word [esi]
mov byte [esp + 0xc], bl
push ecx
jmp 0x4a3e5f
cmp ecx, 0x6000
je 0x4a3e36
cmp ecx, 0x7000
jne 0x4a3e70
movzx edx, word [esi]
push edx
mov eax, 2
mov ecx, 0x637068
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
add bl, 0x41
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx ecx, word [esi]
push ecx
jmp 0x4a3e5a
movzx edx, word [esi]
add bl, 0x41
push edx
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
mov byte [esp + 0x10], 0x20
mov eax, 1
lea ecx, [esp + 0x10]
call fcn.004b0f80
add esp, 4
pop esi
pop ebx
add esp, 8
ret
Function at 0x4a3cc8
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
mov edx, ebx
push esi
mov esi, ecx
xor eax, eax
and edx, 0xf000
xor ecx, ecx
cmp word [ecx*8 + 0x687080], bx
je 0x4a3d40
add ecx, 1
cmp ecx, 0x13
jb 0x4a3cd5
movzx ecx, dx
cmp ecx, 0x5000
jg 0x4a3de6
je 0x4a3d0c
cmp ecx, 0x3000
je 0x4a3d51
cmp ecx, 0x4000
jne 0x4a3e70
mov eax, dword [esp + 0x14]
movzx edx, bx
sub edx, ecx
mov ecx, dword [eax + 4]
sub esp, 8
mov bl, 0x20
fld qword [ecx + edx*8]
fld qword [0x62c6f8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x4a3d7f
fstp qword [esp]
push esi
call fcn.004a2b60
add esp, 0xc
jmp 0x4a3dd4
mov eax, dword [ecx*8 + 0x687084]
call fcn.004a28c0
jmp 0x4a3e52
mov edx, dword [esi + 0x10]
cmp dword [edx + 0x150], 4
je 0x4a3d0c
movzx eax, bx
sub eax, ecx
jne 0x4a3d0c
movzx ecx, word [esi]
pop esi
pop ebx
add esp, 8
mov dword [esp + 4], ecx
mov eax, 2
mov ecx, 0x63706c
jmp fcn.004b0f80
fmul qword [0x650d60]
fstp qword [esp]
push esi
call fcn.004a2b60
add esp, 0xc
test eax, eax
jne 0x4a3e70
movzx edx, word [esi]
push edx
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x21
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx ecx, word [esi]
mov byte [esp + 0xc], bl
push ecx
jmp 0x4a3e5f
cmp ecx, 0x6000
je 0x4a3e36
cmp ecx, 0x7000
jne 0x4a3e70
movzx edx, word [esi]
push edx
mov eax, 2
mov ecx, 0x637068
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
add bl, 0x41
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx ecx, word [esi]
push ecx
jmp 0x4a3e5a
movzx edx, word [esi]
add bl, 0x41
push edx
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
call fcn.004b0f80
add esp, 4
test eax, eax
jne 0x4a3e70
movzx eax, word [esi]
push eax
mov byte [esp + 0x10], 0x20
mov eax, 1
lea ecx, [esp + 0x10]
call fcn.004b0f80
add esp, 4
pop esi
pop ebx
add esp, 8
ret
Function at 0x4a9f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x418
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
push esi
xor esi, esi
push edi
mov eax, 0x62bb28
xor ecx, ecx
cmp edx, dword [eax]
je 0x4a9f45
add ecx, 1
add eax, 0x10
cmp ecx, 0x87
jb 0x4a9f31
jmp 0x4a9f63
movzx edi, word [eax + 4]
mov dword [esp + 0x18], edi
movzx edi, word [eax + 6]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
cmp ecx, 0x87
jne 0x4a9f94
cmp edx, 0x69
je 0x4aa085
cmp edx, esi
je 0x4aa085
mov dword [esp + 0x18], 6
mov dword [esp + 0x1c], 7
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
cmp dword [0x6928c0], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
jne 0x4a9fd3
push 0xa
push 0x80
push esi
call edi
push eax
push esi
call ebx
push eax
call ebp
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x4a9fd8
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x24]
movzx ecx, word [esp + 0x1c]
add esi, ecx
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x100
lea edx, [esp + 0x224]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp dword [0x6928c0], 0
jne 0x4aa033
push 0xa
push 0x80
push 0
call edi
push eax
push 0
call ebx
push eax
call ebp
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x4aa038
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x24]
movzx ecx, word [esp + 0x18]
add esi, ecx
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x100
lea edx, [esp + 0x24]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x42c]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x22c]
call fcn.004efcd0
add esp, 0xc
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x418
ret
Function at 0x4aa0a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x414
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
push ebp
push esi
push edi
mov eax, 0x62bb28
xor ecx, ecx
nop
cmp edx, dword [eax]
je 0x4aa0d4
add ecx, 1
add eax, 0x10
cmp ecx, 0x87
jb 0x4aa0c0
jmp 0x4aa0e4
movzx esi, word [eax + 4]
movzx eax, word [eax + 6]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp ecx, 0x87
jne 0x4aa105
cmp edx, 0x69
je 0x4aa147
test edx, edx
je 0x4aa147
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], 7
cmp dword [0x6928c0], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
jne 0x4aa153
push 0xa
push 0x80
push 0
call edi
push eax
push 0
call ebx
push eax
call ebp
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x4aa158
xor eax, eax
test edx, edx
sete al
jmp 0x4aa20d
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x24]
movzx ecx, word [esp + 0x14]
add esi, ecx
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x100
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp dword [0x6928c0], 0
jne 0x4aa1b0
push 0xa
push 0x80
push 0
call edi
push eax
push 0
call ebx
push eax
call ebp
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x4aa1b5
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x24]
movzx ecx, word [esp + 0x10]
add esi, ecx
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x100
lea edx, [esp + 0x21c]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esp + 0x428]
mov edi, dword [esp + 0x42c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, 0xfffffff7
push ecx
lea edx, [esp + 0x21c]
add eax, 0xc
push edx
call fcn.004efe20
add esp, 8
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x414
ret
Function at 0x4b0f80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, eax
lea eax, [esp + 0x14]
movsx ebp, si
push eax
mov eax, dword [0x691994]
push ebp
lea edx, [esp + 0x18]
mov ebx, ecx
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b0fba
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
jmp 0x4b0fbc
xor eax, eax
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [0x691994]
push ebp
lea edx, [esp + 0x1c]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b0fea
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x4b0fec
xor eax, eax
cmp dword [eax + 0x24], 0
mov eax, dword [0x691994]
je 0x4b102f
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x28]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b1022
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
pop edi
pop esi
add eax, edx
mov eax, dword [eax + 0x24]
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
xor eax, eax
mov eax, dword [eax + 0x24]
pop ebp
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b1051
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x4b1053
xor eax, eax
cmp dword [eax], 1
jne 0x4b10ab
mov eax, dword [0x691994]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b107f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x4b1081
xor eax, eax
mov esi, dword [eax + 8]
call fcn.005cfbe0
push esi
push edi
push 1
push ebx
mov dword [eax], 0
call fcn.005d5837
add esp, 0x10
cmp eax, edi
jne 0x4b10a4
xor esi, esi
jmp 0x4b10bc
call fcn.0053a0e0
jmp 0x4b10b6
push edi
push ebx
push esi
call fcn.004b0e00
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4b10fd
mov eax, dword [0x691994]
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x28]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b10e3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add eax, edx
jmp 0x4b10e5
xor eax, eax
add dword [eax + 0x18], edi
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax + 0x20]
jbe 0x4b1144
pop edi
mov dword [eax + 0x20], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
push ecx
xor edi, edi
call fcn.004b23a0
mov eax, dword [0x691994]
lea edx, [esp + 0x1c]
push edx
push ebp
lea edx, [esp + 0x2c]
call fcn.00432240
add esp, 0xc
test eax, eax
je 0x4b113f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add eax, ecx
pop edi
mov dword [eax + 0x24], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor eax, eax
mov dword [eax + 0x24], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4b12c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
push edi
mov esi, eax
mov edi, ecx
lea eax, [esp + 0x10]
movsx ebp, di
push eax
mov eax, dword [0x691994]
push ebp
lea edx, [esp + 0x14]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b12f5
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx]
jmp 0x4b12f7
xor eax, eax
cmp dword [eax + 0x24], 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x691994]
lea edx, [esp + 0x14]
push ebp
je 0x4b1339
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b132d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
pop edi
lea eax, [edx + ecx]
mov eax, dword [eax + 0x24]
pop esi
pop ebp
add esp, 8
ret
pop edi
xor eax, eax
mov eax, dword [eax + 0x24]
pop esi
pop ebp
add esp, 8
ret
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b1352
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [edx + ecx]
jmp 0x4b1354
xor eax, eax
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, 3
ja case.default.0x4b1362
jmp dword [eax*4 + 0x4b1464]
mov eax, dword [0x691994]
push eax
mov ecx, ebp
call fcn.004322c0
mov edi, dword [eax + 8]
call fcn.005cfbe0
push edi
push esi
push 1
push ebx
mov dword [eax], 0
call fcn.005d56bd
add esp, 0x14
cmp esi, eax
jne 0x4b1399
xor edi, edi
jmp 0x4b13f2
push edi
call fcn.005d5250
add esp, 4
test eax, eax
je 0x4b13ad
mov edi, 0x19
jmp 0x4b13b8
call fcn.0053a0e0
mov edi, eax
test edi, edi
je 0x4b13f2
mov ecx, dword [0x691994]
push ecx
mov ecx, ebp
call fcn.004322c0
add esp, 4
mov dword [eax + 0x24], edi
jmp 0x4b13f2
push ebx
mov eax, esi
mov ecx, edi
call fcn.004b1150
add esp, 4
mov edi, eax
jmp 0x4b13f2
push ebx
mov ecx, edi
call fcn.004b1250
add esp, 4
mov edi, eax
jmp 0x4b13f2
mov edi, dword [esp + 0x10]
mov eax, dword [0x691994]
lea edx, [esp + 0xc]
push edx
push ebp
lea edx, [esp + 0x18]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b1419
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add eax, ecx
jmp 0x4b141b
xor eax, eax
test edi, edi
jne 0x4b1422
add dword [eax + 0x18], esi
mov eax, dword [0x691994]
lea edx, [esp + 0xc]
push edx
push ebp
lea edx, [esp + 0x18]
call fcn.00432240
add esp, 8
test eax, eax
je 0x4b1453
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov dword [eax + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret
xor eax, eax
mov dword [eax + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x4c4bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x690ca0]
mov edx, 0x691bd8
call fcn.00404050
mov eax, dword [esp + 4]
add eax, 0xffffffff
cmp eax, 0xd
ja case.0x4c4be2.1
movzx eax, byte [eax + 0x4c4c10]
jmp dword [eax*4 + 0x4c4c04]
mov eax, dword [0x690c9c]
test eax, eax
je case.0x4c4be2.0
cmp dword [eax + 0x570], 0
jne case.0x4c4be2.1
jmp fcn.004c3d90
ret

Function at 0x4c6f60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, eax
shr eax, 9
push esi
and eax, 1
not ebx
mov dword [esp + 0xc], eax
mov eax, dword [0x690c9c]
mov esi, dword [eax + 0x570]
push edi
and ebx, 1
push 0xe
mov dword [esp + 0x18], ebx
call fcn.00476d90
add esp, 4
test esi, esi
je 0x4c6faf
push ebx
mov eax, esi
call fcn.0046cc80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x692a7c]
test eax, eax
jne 0x4c7036
push 0x685a18
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4c6fde
lea ecx, [esp + 0x18]
push ecx
mov dword [0x692a7c], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x4c6ffa
mov dword [0x692a7c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov edi, 0x32
lea esi, [esp + 0x18]
call fcn.0053b1d0
push ebx
call fcn.004c6cc0
add esp, 4
cmp dword [esp + 0x10], 0
je 0x4c70da
test eax, eax
jne 0x4c70da
test ebx, ebx
je 0x4c7048
mov edx, dword [0x690c9c]
mov eax, dword [edx + 0x294]
jmp 0x4c7053
cmp eax, 1
jne 0x4c6fe8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x4c6ffa
mov eax, dword [0x690c9c]
mov eax, dword [eax + 0x298]
test eax, eax
je 0x4c70da
mov dword [esp + 0x10], 1
call fcn.0049a700
mov eax, dword [0x690c9c]
test eax, eax
je 0x4c70b2
cmp dword [0x691980], 0
jne 0x4c70b2
mov cx, word [eax + 0x182]
cmp cx, word [eax + 0x17e]
jl 0x4c70b2
mov dx, word [eax + 0x180]
cmp dx, word [eax + 0x17c]
jl 0x4c70b2
mov eax, dword [eax + 0x3a0]
test eax, eax
je 0x4c70b2
mov ebx, 1
call fcn.004ecea0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0053b310
add esp, 8
test eax, eax
je 0x4c70b2
push 4
call fcn.004f0110
add esp, 4
test eax, eax
je 0x4c6faf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cf770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x4cf7f9
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4cf7f9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4cf7f8
push esi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cf7f8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4cf7ea
push esi
push ebx
push eax
call fcn.005dffd0
add esp, 0xc
push ebp
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4cf7ea
mov eax, dword [ebp]
mov edx, dword [eax]
xor ecx, ecx
push ecx
push esi
push eax
mov eax, dword [edx + 0x18]
call eax
pop ebx
pop edi
pop esi
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4d3ee0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
mov eax, esi
call fcn.004d4090
lea ecx, [esp + 8]
push ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
test ax, ax
mov eax, dword [esp + 0x38]
setl dl
push edx
push eax
call fcn.00419020
add esp, 0xc
call fcn.004d4120
call fcn.004d2be0
mov edi, esi
call fcn.004d2d80
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.005ce60a
add esp, 0x28
ret 4

Function at 0x4d51b0
Capabilities:
Write clipboard data

Disassembly:
push esi
lea eax, [ebx + 1]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4d51f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4d51f7
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push edi
call fcn.005dffd0
add esp, 0xc
push esi
mov byte [edi + ebx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
ret
Function at 0x4d5e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov esi, edx
mov edx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.004d5170
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d6076
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4d6076
cmp esi, ebx
je 0x4d5efd
push esi
call fcn.004d5aa0
add esp, 4
test eax, eax
jne 0x4d5efd
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x4d5f03
cmp dword [esp + 0x2c], ebx
je 0x4d5f30
cmp dword [0x695640], 1
je 0x4d5f1d
lea edx, [esp + 0x20]
push edx
xor eax, eax
call fcn.004d56e0
add esp, 4
mov ebp, eax
mov ecx, dword [0x69563c]
lea edx, [esp + 0x20]
call fcn.004d5850
mov dword [esp + 0x14], eax
cmp dword [esp + 0x34], ebx
je 0x4d5f97
mov eax, dword [esp + 0x38]
lea ecx, [eax + edi + 4]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x4d5f8a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x3c]
mov esi, eax
push edi
mov dword [esi], edi
push edx
add esi, 4
push esi
call fcn.005dffd0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add esp, 0xc
push eax
push ecx
add esi, edi
push esi
call fcn.005dffd0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x34]
push edx
call fcn.005ce619
add esp, 4
test ebp, ebp
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
je 0x4d6038
push ebp
push 0xe
call ebx
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x18], esi
jne 0x4d5fd4
mov ecx, 1
cmp dword [0x69563c], ecx
jle 0x4d5fd4
lea edx, [esp + 0x20]
call fcn.004d5850
mov dword [esp + 0x18], eax
mov edi, eax
test edi, edi
je 0x4d6020
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call ebp
push 0x5a
push esi
mov dword [esp + 0x28], eax
call ebp
push esi
mov ebp, eax
call ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
push ebp
push eax
push edi
call fcn.004d5d70
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d602f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x4d6038
push esi
push 3
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d6045
push eax
push 8
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d6057
mov ecx, dword [0x6923a0]
push eax
push ecx
call ebx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d6064
call fcn.004f1950
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.0057ee1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret