joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 7], 0
call fcn.0043a7f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004f6210
mov eax, dword [esp + 8]
test eax, eax
je 0x4f7191
mov eax, dword [esi + 0xc]
test eax, eax
push ebp
push edi
je 0x4f70ee
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4f70ee
mov ebp, dword [esp + 0x20]
test ebp, ebp
mov dword [esp + 0x1c], 0
je 0x4f7068
mov ecx, ebp
call fcn.0043a680
jmp 0x4f706a
xor eax, eax
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x4f7180
mov ecx, dword [esp + 0x1c]
shr ecx, 1
lea edx, [ecx + ecx + 2]
push edx
call fcn.005ddbe0
mov edi, eax
add esp, 4
test edi, edi
je 0x4f7180
test ebp, ebp
je 0x4f70b3
mov ecx, ebp
call fcn.0043a680
jmp 0x4f70b5
xor eax, eax
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x1c]
push edx
push edi
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x4f70e8
cmp dword [esp + 0x20], 1
jne 0x4f70e8
mov ecx, dword [esp + 0x24]
push edi
call fcn.0043a600
mov byte [esp + 0xf], 1
push edi
jmp 0x4f7178
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0x1c], 0
je 0x4f7107
mov ecx, edi
call fcn.0043a950
jmp 0x4f7109
xor eax, eax
mov edx, dword [esp + 0x10]
mov ebp, dword [0x5f6008]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push eax
push edx
call ebp
test eax, eax
jne 0x4f7180
mov eax, dword [esp + 0x1c]
push eax
call fcn.005ddbe0
mov esi, eax
add esp, 4
test esi, esi
je 0x4f7180
test edi, edi
je 0x4f7146
mov ecx, edi
call fcn.0043a950
jmp 0x4f7148
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
test eax, eax
jne 0x4f7177
cmp dword [esp + 0x20], 1
jne 0x4f7177
mov ecx, dword [esp + 0x24]
push esi
call fcn.0043a560
mov byte [esp + 0xf], 1
push esi
call fcn.005ddc00
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
pop edi
pop ebp
je 0x4f7191
push eax
call dword [0x5f600c]
mov al, byte [esp + 7]
pop esi
add esp, 8
ret 0x10
Function at 0x4f71a0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
push eax
push ecx
xor bl, bl
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], bl
call fcn.004f62a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f7285
mov eax, dword [edi + 0xc]
test eax, eax
push ebp
push esi
je 0x4f7224
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4f7224
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4f71ef
call fcn.0043a680
mov ebp, eax
jmp 0x4f71f1
xor ebp, ebp
mov ebx, dword [edi + 0xc]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0043a680
push eax
call fcn.004da4b0
add esp, 4
lea eax, [eax + eax + 2]
push eax
mov ecx, edi
call fcn.0043a680
push eax
push 1
push 0
push ebp
push esi
call dword [ebx + 0x20]
jmp 0x4f726a
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.0043a950
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f7232
mov ecx, dword [esp + 0x20]
sub eax, edx
test ecx, ecx
mov ebp, eax
je 0x4f724e
call fcn.0043a950
mov edi, eax
jmp 0x4f7250
xor edi, edi
mov esi, dword [esp + 0x1c]
inc ebp
push ebp
mov ecx, ebx
call fcn.0043a950
push eax
push 1
push 0
push edi
push esi
call dword [section..rdata]
test eax, eax
pop esi
pop ebp
mov bl, 1
je 0x4f7276
mov bl, byte [esp + 0xb]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f7285
push eax
call dword [0x5f600c]
pop edi
mov al, bl
pop ebx
pop ecx
ret 0x10

Function at 0x4f7290
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov ecx, dword [esp + 0x10]
push eax
mov dword [edi], 0
mov edx, dword [esi + 0xc]
push ecx
push edx
lea ecx, [esp + 0x28]
xor bl, bl
call fcn.004f6210
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f7369
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
je 0x4f7312
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4f7312
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f72f1
call fcn.0043a680
jmp 0x4f72f3
xor eax, eax
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [ecx + 0x1c]
jmp 0x4f7340
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f7321
call fcn.0043a950
jmp 0x4f7323
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push edx
call dword [0x5f6008]
test eax, eax
jne 0x4f735a
cmp dword [esp + 0x18], 4
jne 0x4f735a
cmp dword [esp + 0x14], 4
jne 0x4f735a
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov bl, 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f7369
push eax
call dword [0x5f600c]
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
Function at 0x4f7390
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareMacromediaFlashPlayer
push 0x80000001
mov dword [esp + 0x24], 0
call dword [0x5f6010]
test eax, eax
jne 0x4f5209
mov eax, dword [esp]
cmp eax, 0xffffffff
jne 0x4f520e
xor eax, eax
mov dword [esp], eax
test eax, eax
mov ecx, dword [esp + 8]
push ebx
push esi
mov dword [esp + 0x10], ecx
je 0x4f526c
mov esi, dword [section..rdata]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.Exception_Dialog_Width
push eax
call esi
test eax, eax
jne 0x4f5268
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4f526c
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.Exception_Dialog_Height
push eax
call esi
test eax, eax
jne 0x4f5268
mov eax, dword [esp + 8]
mov bl, 1
jmp 0x4f526e
mov eax, dword [esp + 8]
xor bl, bl
test eax, eax
je 0x4f5279
push eax
call dword [0x5f600c]
pop esi
mov al, bl
pop ebx
pop ecx
ret 8
add ecx, 0x24
jmp 0x4f51d0
Function at 0x4fa930
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 2
push eax
mov esi, ecx
call dword [0x5f63dc]
mov ebx, eax
test ebx, ebx
jl 0x4fa99d
cmp ebx, 0xff
jg 0x4fa99d
cmp ebx, 0x7f
jg 0x4fa996
push 0x14
call dword [0x5f63e0]
test al, 1
mov al, byte [esi + 9]
je 0x4fa986
test al, al
je 0x4fa996
push ebx
call fcn.0041d9b0
add esp, 4
test al, al
jne 0x4fa98a
push ebx
mov ecx, esi
call fcn.004fa810
movzx ebx, al
pop esi
mov al, bl
pop ebx
ret 4
test al, al
jne 0x4fa974
movzx eax, bl
movzx ebx, byte [eax + 0x5f93c8]
xor ebx, eax
pop esi
mov al, bl
pop ebx
ret 4
mov al, byte [esp + 0xc]
pop esi
pop ebx
ret 4
Function at 0x4fec70
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x682a78]
sub esp, 0x190
cmp eax, 1
je 0x4fecad
cmp eax, 2
je 0x4fecc8
lea eax, [esp]
push eax
push 0x101
call fcn.005f59f8
test eax, eax
jne 0x4fecbe
mov ax, word [esp]
cmp al, 1
jne 0x4fecb9
cmp ah, al
jne 0x4fecb9
mov dword [0x682a78], 1
mov eax, 1
add esp, 0x190
ret
call fcn.005f59f2
mov dword [0x682a78], 2
xor eax, eax
add esp, 0x190
ret

Function at 0x4feea0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x4feec5
cmp dword [0x682a78], 1
je 0x4feeb7
or eax, 0xffffffff
jmp 0x4feec2
push 6
push 1
push 2
call fcn.005f59fe
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4feee6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call fcn.005f5a40
test eax, eax
je 0x4feeef
mov eax, 1
pop esi
ret 0x10
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [esi + 4]
push ecx
add eax, 4
push eax
push edx
call fcn.005f5a0a
test eax, eax
je 0x4fef1d
call fcn.005f5a3a
cmp eax, 0x2733
je 0x4fef1d
mov eax, 2
pop esi
ret 0x10
xor eax, eax
pop esi
ret 0x10

Function at 0x4ff170
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0xc], esi
push eax
mov dword [esp + 0x14], esi
mov word [esp + 0x10], 2
call fcn.005f5a1c
mov ecx, dword [esp + 0x24]
push ecx
mov edi, eax
call fcn.005f5a22
mov ecx, dword [esp + 0x28]
mov word [esp + 0xe], ax
lea eax, [ecx + 4]
xor edx, edx
mov ebx, eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
xor eax, eax
cmp edi, 0xffffffff
pop edi
pop esi
mov dword [ecx + 0x14], 0x10
setne al
pop ebx
add esp, 0x10
ret

Function at 0x4ff1e0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x6039c4
mov dword [esi + 4], 0xffffffff
call fcn.004fec70
cmp dword [0x682a78], 1
je 0x4ff208
or eax, 0xffffffff
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret
push 0
push 2
push 2
call fcn.005f59fe
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret
Function at 0x4ff6b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push edi
lea eax, [esp + 0x44]
mov edi, ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0045e250
add esp, 8
test al, al
je 0x4ff85a
mov edx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push 1
push ebp
push edx
call fcn.0045e2d0
mov esi, eax
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
jne 0x4ff706
mov eax, dword [esp + 0x48]
push ebp
push eax
mov ecx, edi
call fcn.004ff610
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x30
ret 0x10
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [0x5f60ec]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ch, al
movzx edx, ah
movzx eax, byte [esp + 0x52]
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call dword [0x5f60c0]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
mov ebp, eax
push ebp
push edx
call dword [0x5f603c]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + 0x24]
push 1
push ecx
call dword [0x5f60f0]
mov dword [esp + 0x10], 0x28
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov eax, 1
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov eax, dword [esi + 8]
mov ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov cl, byte [eax + 6]
mov byte [esp + 0x3a], cl
mov dl, byte [eax + 5]
mov byte [esp + 0x39], dl
mov cl, byte [eax + 4]
mov byte [esp + 0x38], cl
mov byte [esp + 0x3b], bl
mov dl, byte [eax + 0xa]
mov byte [esp + 0x3e], dl
mov cl, byte [eax + 9]
mov byte [esp + 0x3d], cl
mov dl, byte [eax + 8]
mov ecx, esi
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3f], bl
call fcn.00475e70
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
push 0xb8074a
push ebx
lea ebx, [esp + 0x18]
push ebx
mov ebx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x10]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push 0
push 0
sub ebx, ecx
push ebx
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x48]
push edx
mov edx, dword [ecx + 0x24]
push edx
call dword [0x5f60e0]
mov ecx, esi
call fcn.00475e90
mov ecx, esi
call fcn.00475fe0
push esi
call fcn.005ddc00
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
add esp, 4
push eax
push edx
call dword [0x5f603c]
push ebp
call dword [0x5f6124]
mov eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
push eax
push edx
call dword [0x5f60e8]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x30
ret 0x10
Function at 0x501b20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x208
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x28]
push edi
call dword [0x5f62b4]
lea ecx, [esi + 8]
call fcn.004fee80
cmp eax, 0xffffffff
jne 0x501b4e
pop edi
xor al, al
pop esi
add esp, 0x208
ret 8
mov cl, byte [esp + 0x214]
push ebx
xor edx, edx
mov ebx, 1
test bl, cl
mov dword [esp + 0x110], edx
mov dword [esp + 0xc], edx
je 0x501b7a
mov dword [esp + 0x114], eax
mov dword [esp + 0x110], ebx
test cl, 2
je 0x501b87
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
push edx
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x11c]
push ecx
push ebx
call fcn.005f5a70
cmp eax, 0xffffffff
jne 0x501ba9
call dword [0x5f6254]
xor bl, bl
push edi
call dword [0x5f62b8]
mov al, byte [esp + 0x21c]
test al, al
jne 0x501bc8
mov ecx, esi
call fcn.005017d0
cmp dword [esi + 4], 3
jmp 0x501bcc
cmp dword [esi + 4], 2
je 0x501bd0
xor bl, bl
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x208
ret 8
Function at 0x502af0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x228
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 2
mov dword [esp + 8], esi
je 0x502b3e
cmp eax, 3
je 0x502b3e
test eax, eax
jne 0x502b1b
or eax, 0xffffffff
pop esi
add esp, 0x228
ret 8
mov edx, dword [esp + 0x234]
mov eax, dword [esi + 8]
push edx
mov edx, dword [esp + 0x234]
lea ecx, [esi + 8]
push edx
call dword [eax + 0x14]
pop esi
add esp, 0x228
ret 8
push ebx
push ebp
lea ebx, [esi + 0x28]
push ebx
mov dword [esp + 0x20], ebx
call dword [0x5f62b8]
mov ecx, esi
call fcn.005017d0
mov ebp, dword [esi + 0x40]
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x502b76
push ebx
call dword [0x5f62b4]
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
add esp, 0x228
ret 8
push edi
lea eax, [ebp + 4]
push eax
call dword [0x5f61ec]
mov eax, dword [esp + 0x240]
test eax, eax
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x10], eax
je 0x502d00
jmp 0x502ba5
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00502280
test al, al
je 0x502cb4
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
add edi, eax
mov dword [esp + 0x2c], edi
xor edi, edi
add esi, 8
lea esp, [esp]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, ebp
sub eax, edi
push eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
jge 0x502c86
mov ecx, esi
call fcn.004fee90
cmp eax, 0x2733
jne 0x502c95
push ebx
call dword [0x5f62b4]
mov ecx, esi
call fcn.004fee80
cmp eax, 0xffffffff
je 0x502c95
push 0
push 0
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x140]
push eax
push 1
mov dword [esp + 0x148], 0
mov dword [esp + 0x44], 1
call fcn.005f5a70
cmp eax, 0xffffffff
jne 0x502c5c
call dword [0x5f6254]
xor bl, bl
jmp 0x502c5e
mov bl, 1
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x5f62b8]
mov ecx, dword [esp + 0x14]
call fcn.005017d0
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], 3
je 0x502c7e
xor bl, bl
mov al, bl
mov ebx, dword [esp + 0x20]
jmp 0x502c8d
add edi, eax
cmp edi, ebp
setne al
test al, al
jne 0x502be0
cmp edi, 0xffffffff
je 0x502ce9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x10], ecx
jne 0x502b9d
jmp 0x502cf9
lea eax, [ebp + 4]
push eax
call dword [0x5f61e8]
test eax, eax
jne 0x502cd2
mov ecx, ebp
call fcn.00501d10
push ebp
call fcn.005ddc00
add esp, 4
push ebx
call dword [0x5f62b4]
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
add esp, 0x228
ret 8
mov ecx, dword [esp + 0x14]
add ecx, 8
call fcn.004fee90
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x240]
sub eax, dword [esp + 0x10]
mov esi, eax
lea eax, [ebp + 4]
push eax
call dword [0x5f61e8]
test eax, eax
jne 0x502d24
mov ecx, ebp
call fcn.00501d10
push ebp
call fcn.005ddc00
add esp, 4
push ebx
call dword [0x5f62b4]
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x228
ret 8
Function at 0x504090
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call dword [0x5f6354]
test eax, eax
je 0x504108
mov eax, dword [esi]
push eax
call dword [0x5f6350]
test eax, eax
je 0x504102
mov ecx, dword [esi]
push ebx
push ecx
call dword [0x5f634c]
mov ebx, eax
test ebx, ebx
je 0x504101
push ebx
call dword [0x5f61f4]
mov esi, eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5040d0
sub eax, edx
inc eax
push eax
call fcn.005ddbe0
mov edi, eax
mov edx, edi
add esp, 4
mov eax, esi
sub edx, esi
jmp 0x5040f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5040f0
push ebx
call dword [0x5f61f0]
pop ebx
call dword [0x5f6348]
mov eax, edi
pop edi
pop esi
ret

Function at 0x504110
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push 0
mov ebx, ecx
call dword [0x5f6354]
test eax, eax
mov eax, dword [ebx + 4]
je 0x50428a
push esi
push edi
push eax
call fcn.005ddc00
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 5
mov dword [ebx + 4], 0
jle 0x504212
push 0xd
call dword [0x5f6350]
test eax, eax
je 0x504173
push 0xd
call dword [0x5f634c]
mov esi, eax
test esi, esi
je 0x5041a1
push esi
call dword [0x5f61f4]
push 0
push eax
call fcn.004da7a0
add esp, 8
jmp 0x504197
push 1
call dword [0x5f634c]
mov esi, eax
test esi, esi
je 0x5041a1
push esi
call dword [0x5f61f4]
push 0
push 0
push 6
push eax
call fcn.004da890
add esp, 0x10
push esi
mov dword [ebx + 4], eax
call dword [0x5f61f0]
mov esi, dword [ebx + 4]
test esi, esi
je 0x50427f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5041b1
sub eax, edx
mov edi, eax
cmp byte [esi], 0
je 0x50427f
lea ecx, [esp + 0x10]
push ecx
lea edx, [edi + esi]
push edx
push esi
call fcn.004da0d0
add esp, 0xc
cmp word [esp + 0x10], 0xd
jne 0x5041fc
cmp byte [esi], 0
mov eax, esi
je 0x5041f7
mov cl, byte [eax + 1]
test cl, cl
je 0x5041f7
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x5041e6
mov byte [eax], 0
jmp 0x5041fe
add esi, eax
cmp byte [esi], 0
jne 0x5041c5
call dword [0x5f6348]
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
ret 4
push 1
call dword [0x5f634c]
mov esi, eax
test esi, esi
je 0x50424a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x504223
sub eax, edx
inc eax
push eax
call fcn.005ddbe0
add esp, 4
mov dword [ebx + 4], eax
mov ecx, esi
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x504240
mov edx, dword [ebx + 4]
test edx, edx
je 0x50427f
mov al, byte [edx]
test al, al
je 0x50427f
cmp al, 0xd
jne 0x504278
cmp byte [edx], 0
mov eax, edx
je 0x504273
mov cl, byte [eax + 1]
test cl, cl
je 0x504273
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x504262
mov byte [eax], 0
jmp 0x504279
inc edx
mov al, byte [edx]
test al, al
jne 0x504257
call dword [0x5f6348]
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
ret 4
Function at 0x504290
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x5043fc
cmp byte [esi], 0
je 0x5043fc
mov eax, dword [esp + 0xc]
push ebx
push ebp
push edi
xor ebx, ebx
xor edi, edi
cmp eax, 5
jle 0x504383
push esi
call fcn.004da360
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x5043f9
push ebp
call fcn.004da4b0
mov esi, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0x2002
call dword [0x5f6160]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x50430e
push edi
call dword [0x5f61f4]
push ebp
push eax
call fcn.004da5c0
add esp, 8
push edi
call dword [0x5f61f0]
lea ebp, [esi + esi*2 + 1]
push ebp
call fcn.005ddbe0
mov edi, eax
add esp, 4
test edi, edi
je 0x504370
mov ecx, dword [esp + 0x14]
push 0
push 0
push ebp
push edi
push esi
push ecx
push 0
push 0
call dword [0x5f6194]
push ebp
push 0x2002
mov byte [eax + edi], 0
call dword [0x5f6160]
mov ebx, eax
test ebx, ebx
je 0x504367
push ebx
mov esi, edi
call dword [0x5f61f4]
mov cl, byte [esi]
inc esi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x504356
push ebx
call dword [0x5f61f0]
push edi
call fcn.005ddc00
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.005ddc00
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x5043c1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x504388
sub eax, edx
inc eax
push eax
push 0x2002
call dword [0x5f6160]
mov ebx, eax
test ebx, ebx
je 0x5043f9
push ebx
call dword [0x5f61f4]
jmp 0x5043b0
mov cl, byte [esi]
inc esi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x5043b0
push ebx
call dword [0x5f61f0]
test ebx, ebx
jne 0x5043c9
test edi, edi
je 0x5043f9
push 0
call dword [0x5f6354]
test eax, eax
je 0x5043f9
call dword [0x5f635c]
test edi, edi
mov esi, dword [0x5f6358]
je 0x5043ea
push edi
push 0xd
call esi
test ebx, ebx
je 0x5043f3
push ebx
push 1
call esi
call dword [0x5f6348]
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x504400
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
xor esi, esi
push esi
mov ebx, ecx
call dword [0x5f6354]
test eax, eax
je 0x50443d
push edi
mov edi, dword [0x5f634c]
push 1
call edi
test eax, eax
jne 0x504431
push 0xd
call edi
test eax, eax
jne 0x504431
mov eax, dword [ebx]
push eax
call edi
test eax, eax
je 0x504436
mov esi, 1
call dword [0x5f6348]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x5085a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
push edi
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.0043c470
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0xc24]
push str.defaultcamera
call fcn.00514000
mov dword [esp + 0x18], ebx
push 0xa
push ebx
call fcn.004b2a40
mov esi, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x820]
add esp, 8
push esi
call fcn.00527a30
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x820]
push esi
call fcn.00527c10
push esi
mov edi, eax
call fcn.005ddc00
add esp, 4
test edi, edi
je 0x508727
mov ecx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x18], 2
call fcn.00528580
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x50866e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00476b20
mov ecx, eax
call fcn.0043cb90
test al, al
je 0x5086f4
mov dword [esp + 0x1c], ebx
jmp 0x508727
lea ecx, [esp + 0x10]
call fcn.00476c20
mov edi, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x508680
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x5086a7
mov cl, byte [eax + edi]
movzx edx, cl
mov dl, byte [edx + 0x5f93c8]
xor dl, cl
mov byte [eax + edi], dl
inc eax
cmp eax, esi
jl 0x508691
mov eax, dword [0x604090]
xor ebx, ebx
test eax, eax
je 0x5086e3
mov eax, 0x604090
mov esi, eax
lea esp, [esp]
mov eax, dword [eax]
push eax
push edi
call fcn.0043bdb0
add esp, 8
test eax, eax
jne 0x5086de
mov ecx, dword [esi + 4]
add esi, 4
test ecx, ecx
mov eax, esi
jne 0x5086c0
jmp 0x5086e3
mov ebx, 1
push edi
call fcn.005ddc00
add esp, 4
test ebx, ebx
je 0x508707
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 0x270f
mov dword [esp + 0x18], ebx
jl 0x5085d8
jmp 0x508727
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc24]
lea eax, [esp + 0x10]
push eax
push str.defaultcamera
call fcn.005130e0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
push 0xa
push eax
call fcn.004b2a40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret