joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cba0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d0318
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [0x50de94]
lea eax, [esp + 0xc]
push eax
call fcn.004062e0
lea edi, [ebx + 0x18]
mov dword [esp + 0x28], 0
call fcn.00406aa0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
mov dword [ebx + 0xc], 0x1f4
cmp dword [ecx - 0xc], 0
jne 0x42cc6a
mov eax, dword [ebx + 8]
test eax, eax
je 0x42cccb
push eax
call dword [0x4d53d0]
test eax, eax
je 0x42cccb
mov edx, dword [ebx + 8]
push 0
push edx
call dword [0x4d53dc]
mov eax, dword [ebx + 8]
push 0x3e9
push eax
call dword [0x4d53f4]
mov dword [ebx + 0x20], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x20
ret
cmp dword [ebx + 0x10], 0
je 0x42cccb
cmp dword [ebx + 0x14], 0
je 0x42cccb
call fcn.0042c920
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42cccb
call fcn.0042c080
test eax, eax
jne 0x42cccb
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [0x4d53a0]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x14]
push 1
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call dword [0x4d540c]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4d141e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, 0xa
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
cmp edi, eax
mov byte [esp + 0x14], 2
mov byte [esi + 0x34], al
mov byte [esi + 0x35], al
je 0x42dba1
mov ecx, edi
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, ax
jne 0x42db90
sub ecx, ebx
sar ecx, 1
mov eax, ecx
mov ebx, eax
push edi
mov eax, esi
call fcn.00406770
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jle 0x42dbbc
mov ecx, edi
mov edx, esi
call fcn.0042dc90
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x42e4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d02e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.0042e3b0
cmp eax, esi
mov edi, dword [esp + 0xc]
je 0x42e552
push 0xa
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004aacfd
add esp, 0xc
mov esi, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc

Function at 0x42f480
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d01e7
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0xc], 0
test byte [0x510b2c], bl
jne 0x42f506
or dword [0x510b2c], ebx
push 0x510ac8
mov ecx, 0x4e355c
mov dword [esp + 0x82c], 0
call fcn.004062e0
push 0x4d42b0
call fcn.004aa96d
add esp, 4
mov dword [esp + 0x828], 0xffffffff
cmp dword [0x5108a4], 0
je 0x42f526
mov eax, dword [0x510ac8]
add eax, 0xfffffff0
call fcn.00402a60
add eax, 0x10
mov dword [esi], eax
jmp 0x42f629
test byte [0x510b2c], 2
jne 0x42f554
or dword [0x510b2c], 2
mov ecx, 0x510b14
mov dword [esp + 0x828], ebx
call fcn.0042f1f0
push 0x4d42a0
call fcn.004aa96d
add esp, 4
push 0x510b14
mov dword [esp + 0x10], 0x510b14
call dword [0x4d52fc]
mov byte [esp + 0x10], bl
mov dword [esp + 0x828], 2
cmp dword [0x5108a4], 0
mov eax, dword [0x510ac8]
jne 0x42f611
cmp dword [eax - 0xc], 0
jne 0x42f5c7
push 0x800
lea ecx, [esp + 0x1a]
push 0
push ecx
mov word [esp + 0x20], 0
call fcn.004b0720
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x1c]
push edx
push 0
call dword [0x4d5358]
lea edx, [esp + 0x14]
mov edi, 0x510ac8
call fcn.00406420
mov eax, dword [0x510ac8]
cmp dword [eax - 0xc], 0
jle 0x42f606
call fcn.0042f2a0
mov edx, str.TencentQQWubi_
mov edi, 0x510ac8
call fcn.004090b0
mov ecx, dword [0x510ac8]
push ecx
call dword [0x4d5364]
test eax, eax
jne 0x42f606
mov edx, dword [0x510ac8]
push eax
push edx
push eax
call dword [0x4d5350]
mov eax, dword [0x510ac8]
mov dword [0x5108a4], ebx
add eax, 0xfffffff0
call fcn.00402a60
add eax, 0x10
push 0x510b14
mov dword [esi], eax
call dword [0x4d52f4]
mov eax, esi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004a91d5
add esp, 0x820
ret
Function at 0x436400
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [esi + 0x74], 0
jne 0x436456
lea eax, [esp]
push eax
push 0x202
call dword [0x4d54f4]
test eax, eax
je 0x436452
call dword [0x4d5504]
test eax, eax
jne 0x436458
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x74], 1
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret

Function at 0x436630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0168
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push ecx
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x2c]
mov edx, esp
mov dword [esp + 0x30], esp
push edx
mov ecx, edi
call fcn.00406390
mov esi, dword [esp + 0x28]
call fcn.004366c0
mov esi, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4366a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x4368e0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
push 0x10
push 0x81da
push eax
push ecx
call dword [0x4d54d4]
cmp eax, 0xffffffff
jne 0x43690a
call dword [0x4d5504]
test eax, eax
jne 0x43694f
or eax, 0xffffffff
ret 4
mov edx, dword [esp + 4]
mov eax, dword [esi + 0x6c]
push edi
push 0x10
push edx
push eax
call dword [0x4d54c8]
mov edi, eax
test edi, edi
jne 0x43693d
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
push 0x10
push ecx
push 0x81da
push edx
call dword [0x4d5404]
mov eax, edi
pop edi
ret 4
call dword [0x4d5504]
cmp eax, 0x2733
jne 0x43694c
xor edi, edi
mov eax, edi
pop edi
ret 4
Function at 0x439180
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x50397c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x820], edi
call dword [0x50342c]
lea esi, [edi + 0x202]
test esi, esi
mov dword [ebp - 0x81c], eax
jne 0x4391c4
mov dword [ebp - 0x818], esi
jmp 0x439222
push esi
call dword [0x4d50bc]
add eax, 1
cmp eax, 0x3fffffff
jg 0x439214
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004ba210
mov edi, esp
test edi, edi
je 0x43920e
mov eax, dword [ebp - 0x81c]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push eax
mov byte [edi], 0
call dword [0x4d5304]
mov ebx, dword [ebp - 0x814]
neg eax
sbb eax, eax
and eax, edi
jmp 0x439216
mov ebx, dword [ebp - 0x814]
xor eax, eax
mov edi, dword [ebp - 0x820]
mov dword [ebp - 0x818], eax
add edi, 0x102
je 0x43927a
push edi
call dword [0x4d50bc]
add eax, 1
cmp eax, 0x3fffffff
jg 0x43927a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004ba210
mov esi, esp
test esi, esi
je 0x439274
mov ecx, dword [ebp - 0x81c]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push ecx
mov byte [esi], 0
call dword [0x4d5304]
mov ebx, dword [ebp - 0x814]
neg eax
sbb eax, eax
and eax, esi
jmp 0x43927c
mov ebx, dword [ebp - 0x814]
xor eax, eax
mov edx, dword [ebp - 0x818]
push edx
mov edi, eax
lea esi, [ebp - 0x810]
call fcn.00438e70
mov eax, dword [ebp - 0x410]
mov edx, dword [ebx]
push 0
push eax
mov ecx, esi
push ecx
push edx
call dword [0x4d54dc]
test eax, eax
jle 0x439327
push 0x3ff
lea eax, [ebp - 0x407]
push 0
push eax
mov byte [ebp - 0x408], 0
call fcn.004b0720
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp - 0x408]
push ecx
push edx
call dword [0x4d54e4]
cmp eax, 2
jge 0x439301
mov esi, dword [ebx]
test esi, esi
mov edi, 0xffffffa2
je 0x4392fd
push 1
push esi
call dword [0x4d550c]
push esi
call dword [0x4d5514]
mov eax, edi
jmp 0x439342
xor eax, eax
cmp byte [ebp - 0x407], al
sete al
test eax, eax
je 0x439320
mov eax, dword [ebp - 0x820]
push eax
mov ecx, ebx
call fcn.00438f30
jmp 0x439348
mov eax, 0xffffffa5
jmp 0x439348
mov esi, dword [ebx]
test esi, esi
je 0x43933d
push 1
push esi
call dword [0x4d550c]
push esi
call dword [0x4d5514]
mov eax, 0xffffffa1
mov dword [ebx], 0xffffffff
lea esp, [ebp - 0x830]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret
Function at 0x439360
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x414
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
push edi
push 0
push 4
lea eax, [esp + 0x14]
mov edi, ecx
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x1c], 5
mov byte [esp + 0x1d], 2
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 2
call dword [0x4d54dc]
test eax, eax
jle 0x439463
push 0x3ff
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.004b0720
mov ecx, dword [esi]
add esp, 0xc
push 0
push 0x400
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x4d54e4]
cmp eax, 2
jge 0x4393fb
mov edi, dword [esi]
test edi, edi
mov ebp, 0xffffffa2
je 0x4393f4
push 1
push edi
call dword [0x4d550c]
push edi
call dword [0x4d5514]
mov eax, ebp
jmp 0x43947e
mov al, byte [esp + 0x11]
test al, al
je 0x439427
cmp al, 2
jne 0x439446
mov edx, edi
mov ecx, esi
call fcn.00439180
pop edi
pop ebp
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004a91d5
add esp, 0x414
ret
push edi
mov ecx, esi
call fcn.00438f30
pop edi
pop ebp
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004a91d5
add esp, 0x414
ret
mov edi, dword [esi]
test edi, edi
je 0x43945c
push 1
push edi
call dword [0x4d550c]
push edi
call dword [0x4d5514]
mov eax, 0xffffffa3
jmp 0x43947e
mov edi, dword [esi]
test edi, edi
je 0x439479
push 1
push edi
call dword [0x4d550c]
push edi
call dword [0x4d5514]
mov eax, 0xffffffa1
mov ecx, dword [esp + 0x414]
pop edi
pop ebp
xor ecx, esp
mov dword [esi], 0xffffffff
call fcn.004a91d5
add esp, 0x414
ret
Function at 0x4394a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
call dword [0x50342c]
cmp word [ebx], 0
je 0x4395bb
cmp word [ebx + 0x100], 0
je 0x4395bb
cmp word [ebx + 0x282], 0
je 0x4395bb
cmp word [ebx + 0x382], 0
je 0x4395bb
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x439503
call fcn.00439d80
mov dword [ebp], 0xffffffff
push 0
push 1
push 2
call dword [0x4d54f8]
cmp eax, 0xffffffff
mov dword [ebp], eax
jne 0x439530
mov eax, 0xffffff9d
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004a91d5
add esp, 0x1c
ret 4
mov esi, eax
call fcn.00439da0
movzx eax, word [ebx + 0x100]
push eax
mov ecx, ebx
lea edi, [esp + 0x18]
call fcn.00438600
add esp, 4
test eax, eax
jne 0x4395a2
mov edx, dword [ebp]
push 0x10
mov ecx, edi
push ecx
push edx
call dword [0x4d54c8]
test eax, eax
jne 0x439589
mov ecx, ebx
mov esi, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call fcn.00439360
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004a91d5
add esp, 0x1c
ret 4
mov eax, 0xffffffa0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004a91d5
add esp, 0x1c
ret 4
mov eax, 0xffffff9f
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004a91d5
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0xffffff9c
call fcn.004a91d5
add esp, 0x1c
ret 4
Function at 0x439ce0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
push ebx
push ebp
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x20]
push eax
xor ebp, ebp
mov word [esp + 0xc], 2
call dword [0x4d5500]
test esi, esi
mov word [esp + 0xa], ax
jne 0x439d24
xor ebx, ebx
jmp 0x439d56
push esi
call dword [0x4d5508]
mov ebx, eax
test ebx, ebx
je 0x439d36
cmp ebx, 0xffffffff
jne 0x439d56
push esi
call dword [0x4d54e8]
test eax, eax
je 0x439d4a
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ebx, dword [edx]
jmp 0x439d56
call dword [0x4d5504]
mov ebp, eax
test ebp, ebp
jne 0x439d6f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, ebp
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
xor ecx, esp
call fcn.004a91d5
add esp, 0x14
ret

Function at 0x439da0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push edi
mov edi, dword [0x4d5510]
mov eax, 0x1388
push 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x1005
push 0xffff
push esi
call edi
cmp dword [esp + 4], 0
je 0x439de6
push 4
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push esi
call edi
xor eax, eax
pop edi
add esp, 8
ret
Function at 0x43ad50
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4d2cd1
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe8]
cmp dword [ebp + 4], 0
mov eax, dword [esp + 0xec]
mov esi, edx
mov dword [ebp + 8], ecx
jne 0x43adbc
push eax
mov ecx, ebp
call fcn.0043a9d0
test eax, eax
jl 0x43adb5
cmp dword [ebp + 4], 0
jne 0x43adbc
xor eax, eax
jmp 0x43af01
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.004062e0
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0x10]
push 0x5c
push eax
call fcn.004aae55
add esp, 8
test eax, eax
je 0x43ae59
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x43ae59
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
call fcn.00413c10
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 1
call fcn.00406aa0
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ae37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jle 0x43ae59
push eax
call dword [0x4d5364]
test eax, eax
jne 0x43ae59
mov ecx, dword [esp + 0x10]
push eax
push ecx
push eax
call dword [0x4d5350]
lea eax, [esp + 0x1c]
call fcn.0043a7c0
mov eax, esi
mov byte [esp + 0xe0], 2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ae70
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x24]
call fcn.00406fb0
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ae90
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x40]
call fcn.00406fb0
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xd0], 1
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x20]
push eax
call edx
lea esi, [esp + 0x1c]
mov edi, eax
call fcn.0043a870
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aeff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004a91d5
add esp, 0xd4
ret 8
Function at 0x43b520
Capabilities:
Check if file exists
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf196
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x3b0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x43b703
push edi
call dword [0x4d5364]
test eax, eax
je 0x43b703
push ebx
lea esi, [esp + 0x1e0]
mov dword [esp + method.CxImage.virtual_0], vtable.CxImage.0
call fcn.0043eb50
mov ecx, edi
mov edi, esi
mov dword [esp + 0x3b8], ebx
call fcn.0043d920
cmp dword [esp + 0x1e0], ebx
je 0x43b6dc
push ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x18], vtable.CxImage.0
call fcn.0043eb50
mov byte [esp + 0x3b8], 1
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0x1e8]
push 1
push eax
lea eax, [ebx + 0x18]
push ecx
mov ebx, esi
call fcn.0043eed0
xor esi, esi
cmp dword [esp + 0x1ec], esi
jbe 0x43b69a
xor edi, edi
cmp dword [esp + 0x1e8], edi
jbe 0x43b68a
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x13], 0
xor ebx, ebx
jmp 0x43b620
cmp dword [esp + 0x18], 0
je 0x43b67b
test edi, edi
jl 0x43b67b
test esi, esi
jl 0x43b67b
cmp edi, dword [esp + 0x20]
jge 0x43b67b
cmp esi, dword [esp + 0x24]
jge 0x43b67b
cmp dword [esp + 0x3c], 0
je 0x43b65f
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0043e730
push esi
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0043e4d0
jmp 0x43b67b
mov eax, dword [esp + 0x44]
imul eax, esi
add eax, ebx
add eax, dword [esp + 0x48]
mov byte [eax], 0xff
add eax, 1
mov byte [eax], 0xff
add eax, 1
mov byte [eax], 0xff
add edi, 1
add ebx, 3
cmp edi, dword [esp + 0x1e8]
jb 0x43b620
add esi, 1
cmp esi, dword [esp + 0x1ec]
jb 0x43b5f6
lea ecx, [esp + 0x1dc]
push ecx
lea eax, [esp + 0x18]
call fcn.0043fa50
lea esi, [esp + 0x14]
call fcn.0043dfb0
push eax
push 8
call dword [0x4d53b4]
mov byte [esp + 0x3b8], 0
mov ebx, 1
mov dword [esp + 0x14], vtable.CxImage.0
call fcn.0043eca0
call fcn.0043ebf0
mov dword [esp + 0x3b8], 0xffffffff
lea esi, [esp + 0x1dc]
mov dword [esp + method.CxImage.virtual_0], vtable.CxImage.0
call fcn.0043eca0
call fcn.0043ebf0
mov eax, ebx
mov ecx, dword [esp + 0x3b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x398]
xor ecx, esp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret 4
Function at 0x43bf90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf116
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
xor edi, edi
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
call dword [0x4d52fc]
mov byte [esp + 0x18], 1
mov dword [esp + 0x280], edi
cmp dword [esi + 8], edi
je 0x43c08c
push ebx
call dword [0x4d5364]
test eax, eax
je 0x43c08c
mov eax, dword [esi + 4]
mov eax, dword [eax - 0xc]
test eax, eax
lea edi, [esi + 4]
jne 0x43c06a
mov edx, ebx
call fcn.00406420
lea ecx, [esp + 0x10]
push edi
push ecx
call fcn.0043c180
add esp, 8
mov byte [esp + 0x280], 1
call fcn.00406aa0
mov byte [esp + 0x280], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c060
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, 0x4ec0dc
call fcn.004090b0
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [0x4d5234]
cmp eax, 0xffffffff
je 0x43c0be
push eax
call dword [0x4d5230]
mov dword [esp + 0xc], 1
mov edx, dword [esp + 0x14]
push edx
call dword [0x4d52f4]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004a91d5
mov esp, ebp
pop ebp
ret
mov esi, edi
call fcn.00406710
jmp 0x43c08c
Function at 0x444530
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x444581
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x1c
push 1
push esi
call ecx
mov dword [esi + 0x180], eax
mov dword [eax], 0x444cb0
mov dword [eax + 4], 0x444e10
mov byte [eax + 8], 0
add esp, 0xc
mov eax, esi
call fcn.00444af0
cmp byte [esi + 0x40], 0
je 0x44457a
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4445fc
mov edx, dword [esi + 0x190]
cmp byte [edx + 0x10], 0
je 0x4445ec
mov eax, dword [esi + 8]
test eax, eax
je 0x4445a6
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov ecx, dword [esi + 0x190]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
test eax, eax
je 0x4445e8
cmp eax, 2
je 0x4445ec
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444597
cmp eax, 3
je 0x4445ce
cmp eax, 1
jne 0x444597
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x444597
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x444597
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00444630
pop esi
ret
cmp eax, 0xcc
je 0x44461e
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00444630
pop esi
ret