joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4095a0
Capabilities:
Open clipboard

Disassembly:
push edi
xor edi, edi
push edi
call dword [0x4d549c]
test eax, eax
je 0x40963e
call dword [0x4d5458]
mov eax, esi
call fcn.0043c6f0
test eax, eax
jbe 0x409615
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4095d6
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4095db
call fcn.004aa383
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*4], 0
je 0x409607
test ecx, ecx
je 0x4095f4
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4095f9
call fcn.004aa383
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0
call eax
mov eax, esi
add edi, 1
call fcn.0043c6f0
cmp edi, eax
jb 0x4095c3
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 8]
mov edx, dword [edx]
push eax
call edx
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
lea ecx, [esi + 0x14]
push 0
call edx
call dword [0x4d5474]
mov eax, 1
pop edi
ret 4
mov eax, edi
pop edi
ret 4

Function at 0x4097d0
Capabilities:
Open clipboard

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, ebp
call fcn.00409a20
push 0
call dword [0x4d549c]
test eax, eax
je 0x40994f
xor edi, edi
push edi
call dword [0x4d5494]
mov edi, eax
test edi, edi
je 0x409949
cmp edi, 0xd
jne 0x409834
push 8
call fcn.004a91fd
mov esi, eax
add esp, 4
test esi, esi
je 0x40987f
mov dword [esi], vtable.CTextClipboardCode.0
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x409855
cmp edi, 8
jne 0x40987f
push edi
call fcn.004a91fd
mov esi, eax
add esp, 4
test esi, esi
je 0x40987f
mov dword [esi], vtable.CImageClipboardCode.0
mov dword [esi + 4], 0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x409874
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x14]
lea esi, [ebp + 4]
call fcn.00410800
jmp 0x40987f
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
cmp edi, dword [0x50f7f8]
jne 0x4098dc
push 8
call fcn.004a91fd
mov esi, eax
add esp, 4
test esi, esi
je 0x4098dc
mov dword [esi], vtable.CQQClipboardCode.0
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x4098d1
mov dword [esp + 0x14], esi
lea esi, [ebp + 4]
lea ebx, [esp + 0x14]
call fcn.00410800
jmp 0x4098dc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
cmp edi, dword [0x50f7f4]
jne 0x4097f1
push 8
call fcn.004a91fd
mov esi, eax
add esp, 4
test esi, esi
je 0x4097f1
mov dword [esi], vtable.CHtmlClipboardCode.0
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x409939
mov dword [esp + 0x14], esi
lea esi, [ebp + 4]
lea ebx, [esp + 0x14]
call fcn.00410800
jmp 0x4097f1
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
jmp 0x4097f1
call dword [0x4d5474]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x409960
Capabilities:
Open clipboard

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x409a13
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
je 0x409a13
push 0
call dword [0x4d549c]
test eax, eax
je 0x409a13
push edi
call dword [0x4d5458]
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4099f0
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4099f0
test ecx, ecx
je 0x4099b9
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4099be
call fcn.004aa383
mov edx, dword [esi + 8]
cmp dword [edx + edi*4], 0
je 0x4099eb
mov ecx, edx
test ecx, ecx
je 0x4099d9
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4099de
call fcn.004aa383
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add edi, 1
jmp 0x409996
mov eax, ecx
test eax, eax
pop edi
je 0x409a0d
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
je 0x409a0d
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
lea ecx, [esi + 0x14]
push 0
call eax
call dword [0x4d5474]
call fcn.00409a20
pop esi
pop ecx
ret
Function at 0x40b4c0
Capabilities:
Access peb ldr_data
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4d2d88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov ebx, ecx
movzx esi, ax
shr eax, 0x10
mov edi, eax
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
xor ebp, ebp
mov ecx, 0x50c48c
mov dword [esp + 0x1c], ebp
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
push edi
mov dword [esp + 0x2c], ebp
push esi
mov dword [esp + 0x20], ebp
mov ebp, dword [0x4d53f8]
push 0x4e27c8
call ebp
test eax, eax
je 0x40b55e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
mov ecx, ebx
call fcn.004100e0
test eax, eax
je 0x40b55e
cmp dword [esp + 0x18], 1
jne 0x40b55e
push 1
push 1
push 1
lea edx, [esp + 0x3c]
push edx
push 0
call fcn.0040fb80
jmp 0x40b5ae
push edi
push esi
push 0x4e27e8
call ebp
test eax, eax
je 0x40b5ae
mov esi, dword [0x4d53ec]
push 0x11
call esi
test ax, ax
jns 0x40b5ae
push 0x10
call esi
test ax, ax
jns 0x40b5ae
push 0x12
call esi
test ax, ax
jns 0x40b5ae
xor eax, eax
cmp dword [ebx + 0x8c4], eax
mov ecx, ebx
sete al
mov dword [ebx + 0x8c0], 1
mov dword [ebx + 0x8c4], eax
call fcn.0040bff0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [ecx], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b5e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x40b600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d1778
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
xor ebx, ebx
lea edi, [ebp + 0x128]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx*4 + 0x50b0e0]
jne 0x40b7a9
mov ecx, dword [edi + 4]
push ecx
call dword [0x4d5490]
test eax, eax
je 0x40b7a9
cmp dword [esp + 0x40], 4
jne 0x40b725
cmp dword [ebp + 0x82c], ebx
jne 0x40b7a9
lea esi, [esp + 0x18]
mov eax, edi
call fcn.0042a050
lea edi, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.00406aa0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b6c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4e355c
call fcn.004062e0
push 1
push 0
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.0040ce50
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 4]
push 0
push 0x64
push 0xc
push ecx
call dword [0x4d5400]
jmp 0x40b7a9
lea esi, [esp + 0x20]
mov eax, edi
call fcn.0042a050
lea edi, [esp + 0x38]
mov byte [esp + 0x30], 3
call fcn.00406aa0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x4e355c
call fcn.004062e0
push 1
push ebx
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call fcn.0040ce50
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b7a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
add ebx, 1
add edi, 0x44
cmp ebx, 0x16
mov dword [esp + 0x14], edi
jl 0x40b651
mov edi, ebp
call fcn.0040c3f0
mov ecx, ebp
mov dword [ebp + 0x8c0], 1
call fcn.0040bff0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b80a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x40c9b0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4cc84b
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [esi + 0x2c], 0
jne 0x40ca47
push 0x1a8
call fcn.004a91fd
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x40c9ff
push eax
call fcn.004034e0
jmp 0x40ca01
xor eax, eax
test eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x2c], eax
je 0x40ca47
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call fcn.004108e0
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
push 0
push eax
call dword [0x4d53dc]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 4]
push 0
push 0x14b
push 0x218
push 0x1d
push 5
push edx
call dword [0x4d540c]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret

Function at 0x40ca60
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, dword [0x4d53dc]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
neg edi
sbb edi, edi
and edi, 5
lea esi, [ebp + 0x128]
mov dword [esp + 0x18], 0x16
mov eax, dword [esi + 4]
push edi
push eax
call ebx
call fcn.0042aec0
add esi, 0x44
sub dword [esp + 0x18], 1
jne 0x40ca88
mov ecx, dword [ebp + 0x78c]
lea esi, [ebp + 0x788]
push edi
push ecx
call ebx
call fcn.0042aec0
mov edx, dword [ebp + 0x7d0]
lea esi, [ebp + 0x7cc]
push edi
push edx
call ebx
call fcn.0042aec0
cmp dword [ebp + 0x114], 0
mov edi, dword [esp + 0x1c]
je 0x40cae3
mov ecx, dword [ebp + 0x114]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
lea esi, [ebp + 0x118]
mov ebx, 2
mov edi, edi
cmp dword [esi], 0
je 0x40caff
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
add esi, 4
sub ebx, 1
jne 0x40caf0
cmp dword [ebp + 0x120], ebx
je 0x40cb1d
mov ecx, dword [ebp + 0x120]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
cmp dword [ebp + 0x124], 0
je 0x40cb37
mov ebp, dword [ebp + 0x124]
mov eax, dword [ebp]
mov edx, dword [eax + 8]
push edi
mov ecx, ebp
call edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x417160
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, eax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*4]
sub ecx, eax
neg ecx
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 0xc
sub ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
push ecx
xor esi, esi
call fcn.004aad76
add esp, 4
cmp ebx, 2
mov ecx, eax
jle 0x41724a
lea edx, [ebx - 3]
mov eax, 0xaaaaaaab
mul edx
push ebp
mov ebp, edx
shr ebp, 1
add ebp, 1
lea eax, [ebp*4]
sub eax, ebp
neg eax
add ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x4171e0
movzx eax, byte [edi]
movzx ebx, byte [edi + 1]
mov edx, eax
shr edx, 2
movzx edx, byte [edx + 0x50af88]
mov byte [ecx + esi], dl
and eax, 3
shl eax, 4
mov edx, ebx
shr edx, 4
movzx eax, byte [edx + eax + 0x50af88]
mov byte [ecx + esi + 1], al
movzx eax, byte [edi + 2]
add esi, 1
mov edx, eax
shr edx, 6
and ebx, 0xf
movzx edx, byte [edx + ebx*4 + 0x50af88]
add esi, 1
and eax, 0x3f
movzx eax, byte [eax + 0x50af88]
mov byte [ecx + esi], dl
add esi, 1
mov byte [ecx + esi], al
add esi, 1
add edi, 3
sub ebp, 1
jne 0x4171e0
mov ebx, dword [esp + 0x14]
pop ebp
test ebx, ebx
je 0x4172ac
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + 0x50af88]
and eax, 3
mov byte [ecx + esi], dl
add esi, 1
shl eax, 4
cmp ebx, 1
jle 0x417292
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + 0x50af88]
mov byte [ecx + esi], al
add esi, 1
and edx, 0xf
mov dl, byte [edx*4 + 0x50af88]
mov byte [ecx + esi], dl
jmp 0x4172a2
mov al, byte [eax + 0x50af88]
mov byte [ecx + esi], al
add esi, 1
mov byte [ecx + esi], 0x3d
add esi, 1
mov byte [ecx + esi], 0x3d
add esi, 1
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [ecx + esi], 0
je 0x4172ba
mov dword [eax], esi
pop edi
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x417450
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x510b00], bl
mov dword [esp + 4], 0
jne 0x4174a4
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
or dword [0x510b00], ebx
mov ecx, 0x50c48c
call edx
add eax, 0x10
push 0x4d4120
mov dword [0x510afc], eax
call fcn.004aa96d
add esp, 4
mov eax, dword [0x510afc]
cmp dword [eax - 0xc], 0
jne 0x417501
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.004b0720
add esp, 0xc
push ebx
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4d5358]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4174e1
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x510afc
call fcn.00406770
mov eax, dword [0x510afc]
add eax, 0xfffffff0
call fcn.00402a60
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.004a91d5
add esp, 0x214
ret
Function at 0x417530
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x510af8], bl
mov dword [esp + 4], 0
jne 0x417584
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
or dword [0x510af8], ebx
mov ecx, 0x50c48c
call edx
add eax, 0x10
push 0x4d4150
mov dword [0x510af4], eax
call fcn.004aa96d
add esp, 4
mov eax, dword [0x510af4]
cmp dword [eax - 0xc], 0
jne 0x4175e1
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.004b0720
add esp, 0xc
push ebx
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4d5358]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4175c1
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x510af4
call fcn.00406770
mov eax, dword [0x510af4]
add eax, 0xfffffff0
call fcn.00402a60
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.004a91d5
add esp, 0x214
ret
Function at 0x41cdb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push ebp
mov ebp, dword [esp + 8]
je 0x41cee3
test ebp, ebp
jle 0x41cee3
push esi
or esi, 0xffffffff
cmp ebp, 8
jl 0x41ceb4
push edi
mov edi, ebp
shr edi, 3
mov eax, edi
neg eax
lea ebp, [ebp + eax*8]
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4e2350]
add ecx, 1
sub edi, 1
mov esi, eax
jne 0x41cde0
pop edi
test ebp, ebp
je 0x41cedc
jmp 0x41cec0
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4e2350]
add ecx, 1
sub ebp, 1
jne 0x41cec0
mov eax, esi
pop esi
not eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420cf0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ce478
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00407340
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420d44
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00420b60
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00407340
cmp dword [esp + 0x24], 8
jb 0x420d8a
mov eax, dword [esp + 0x10]
push eax
call fcn.004a91d0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x420e50
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebp
push esi
xor ebp, ebp
push ebp
push ebx
mov word [eax], bp
call fcn.004c8ebe
mov esi, eax
cmp esi, ebp
jne 0x420e76
pop esi
pop ebp
add esp, 8
jmp dword [0x4d5300]
push edi
push esi
call fcn.004a895b
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x420e92
pop edi
pop esi
mov eax, 8
pop ebp
add esp, 8
ret
push edi
push esi
push ebp
push ebx
call fcn.004c8eb2
test eax, eax
je 0x420efe
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4e35b4
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.004c8eb8
test eax, eax
je 0x420efe
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [esp + 0x20]
push ecx
push edx
push str._d._d._d._d
push 0x7e
push eax
call fcn.004aa12d
add esp, 0x1c
push edi
call fcn.004a92e9
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
call dword [0x4d5300]
push edi
mov ebp, eax
call fcn.004a92e9
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x420f20
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x178
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
mov ebp, dword [esp + 0x184]
push esi
push edi
mov ebx, ecx
push ebp
call fcn.00420e50
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [0x4d52cc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420f75
call dword [0x4d5300]
jmp 0x421083
mov ebx, dword [0x4d52c8]
push 0
lea eax, [esp + 0x18]
push eax
push 0x40
lea ecx, [esp + 0x14c]
push ecx
push esi
mov edi, 0xb
call ebx
test eax, eax
je 0x421081
cmp dword [esp + 0x14], 0x40
jne 0x421081
cmp word [esp + 0x140], 0x5a4d
jne 0x421081
mov edx, dword [esp + 0x17c]
push 0
push 0
push edx
push esi
call dword [0x4d5294]
push 0
lea eax, [esp + 0x18]
push eax
push 0xf8
lea ecx, [esp + 0x54]
push ecx
push esi
call ebx
test eax, eax
je 0x421081
cmp dword [esp + 0x14], 0xf8
jne 0x421081
cmp dword [esp + 0x48], 0x4550
jne 0x421081
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421007
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
mov ebx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
call fcn.004a9886
mov esi, eax
mov ecx, 9
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
add edx, 1
push edx
add eax, 0x76c
push eax
mov ecx, 0x7e
push str.__04d__02d__02d__02d:_02d:_02d
sub ecx, ebx
push ecx
lea edx, [ebp + ebx*2]
push edx
call fcn.004aa12d
add esp, 0x28
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a91d5
add esp, 0x178
ret

Function at 0x421260
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1b4]
mov ebx, ecx
cmp ebx, 0x5a0
push esi
push edi
jbe 0x42128e
mov ebx, 0x5a0
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [0x4d54f4]
push 0x11
push 2
push 2
call dword [0x4d54f8]
mov edi, eax
cmp edi, 0xffffffff
je 0x421328
push str.stat.qq.com
call dword [0x4d54e8]
mov esi, eax
test esi, esi
je 0x421321
xor eax, eax
push 0x26b0
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov word [esp + 0x14], 2
call dword [0x4d5500]
mov word [esp + 0x12], ax
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
jne 0x421302
mov eax, edx
add eax, 4
add ecx, 1
cmp dword [eax], 0
je 0x4212f7
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x421321
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push ebp
push edi
call dword [0x4d54ec]
push edi
call dword [0x4d5514]
call dword [0x4d54f0]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a91d5
add esp, 0x1a8
ret