joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5010f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x56ed48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0xa29a70
lea ecx, [esp + 4]
call fcn.0055ef6f
push 0x9ff02c
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0055ef6f
push 0x9ff028
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0055ef6f
push 0x9ff024
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0055ef6f
push 0x9ff020
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0055ef6f
push 0x9ff01c
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0055ef6f
push 0x9ff018
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0055ef6f
push 0x9ff014
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0055ef6f
push 0x9ff010
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0055ef6f
push 0x9ff00c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0055ef6f
push 0x9ff008
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0055ef6f
push 0x9ff004
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0055ef6f
push 0x9ff000
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0055ef6f
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x501220
cmp eax, 0xc
jle 0x501220
mov ecx, dword [esp + 0x48]
push 0xa29a70
call fcn.0055f03e
jmp 0x50122e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0055efee
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0055ef01
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0055ef01
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0055ef01
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0055ef01
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0055ef01
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0055ef01
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0055ef01
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0055ef01
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0055ef01
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0055ef01
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0055ef01
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0055ef01
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055ef01
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x510227
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56f5d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.0055dd22
mov eax, dword [0xa08c9c]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x90b754
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x510284
push ebx
call dword [0x573368]
inc eax
push eax
call fcn.0055ec42
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x573370]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x51b4e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x51b69d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x51b616
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x51b616
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x51b5fd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x51b5fd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0051c750
mov ebp, eax
test ebp, ebp
je 0x51b5f5
push ebp
mov ecx, esi
call fcn.0051dbe0
test eax, eax
je 0x51b5f5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x51b5f5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x51b5b6
xor eax, eax
jmp 0x51b5be
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0051e5b0
inc ebx
xor ebp, ebp
jmp 0x51b547
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x51b520
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0051ca60
test eax, eax
pop ebx
je 0x51b69d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0051c750
mov edi, eax
cmp edi, ebp
je 0x51b69d
push edi
mov ecx, esi
call fcn.0051dbe0
test eax, eax
je 0x51b69d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0051cca0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0051cd10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0051e5b0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x525b10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5708d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x90c774
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0055d0db
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0055d0db
mov edi, dword [0x5735d0]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x90c760
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x5734bc]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x5730ac]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00526630
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x52d900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 8], al
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0052da10
test al, al
jne 0x52d997
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x52d982
mov al, byte [ecx - 1]
cmp al, bl
je 0x52d978
cmp al, 0xff
je 0x52d978
dec al
pop esi
mov byte [ecx - 1], al
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
dec ecx
push ecx
call fcn.0055ec6b
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.00528a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
push ecx
mov ecx, esi
call fcn.0052e790
mov ecx, eax
call fcn.00528f60
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00528d90
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x52d9ee
mov al, byte [ecx - 1]
cmp al, bl
je 0x52d9e4
cmp al, 0xff
je 0x52d9e4
dec al
mov byte [ecx - 1], al
jmp 0x52d9ee
dec ecx
push ecx
call fcn.0055ec6b
add esp, 4
mov ecx, dword [esp + 0x28]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x52e570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57113b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x34]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], ebx
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [0x90c80c]
mov eax, dword [ecx + 4]
push edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + 8]
push ebx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0052a6f0
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x44]
add esi, 0x30
cmp eax, ebx
mov dword [esp + 0x28], ecx
je 0x52e665
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x52e665
lea ecx, [eax + 0x20]
cmp ecx, edx
jne 0x52e625
mov dword [esp + 0x40], eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x34], 2
je 0x52e618
lea edx, [esp + 0xc]
mov ecx, eax
push edx
call fcn.005316b0
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00530100
jmp 0x52e690
mov edi, eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x34], 3
je 0x52e690
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [eax + 8], ecx
push edx
lea ecx, [edi + 0xc]
call fcn.0052ec50
mov eax, dword [esp + 0x28]
mov dword [edi + 0x1c], eax
jmp 0x52e690
mov ecx, esi
call fcn.00530100
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
lea edx, [ecx + 0x20]
mov dword [esi + 0x1c], edx
cmp ecx, ebx
mov byte [esp + 0x34], 1
je 0x52e690
lea eax, [esp + 0xc]
push eax
call fcn.005316b0
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x1c]
inc edx
cmp eax, ebx
mov dword [esi + 0x2c], edx
je 0x52e6bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x52e6b3
cmp al, 0xff
je 0x52e6b3
dec al
mov byte [ecx], al
jmp 0x52e6bc
push ecx
call fcn.0055ec6b
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x533800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0055a7cb
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0055a3a0
mov edi, dword [0xa62ff0]
lea ecx, [esp + 8]
call fcn.0055a3a0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x53384c
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0055a43c
lea ecx, [esp + 0xc]
call fcn.0055a43c
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
xor edi, edi
mov dword [esi], 0x9daa2c
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], edi
mov eax, dword [esi + 0x20]
push edi
push edi
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
push edi
mov dword [esp + 0x28], edi
mov dword [ecx], edi
mov ecx, esi
call fcn.00533910
mov cl, byte [esp + 0x24]
xor eax, eax
test cl, 1
mov dword [esi], 0x90c82c
jne 0x5338ba
mov eax, 4
test cl, 2
jne 0x5338c1
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov ecx, dword [esi + 0x2c]
mov dword [ecx], edi
mov edx, dword [esi + 0x10]
mov dword [edx], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
mov eax, esi
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x537890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00537440
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005374c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005374c0
lea ecx, [esi + 0xc]
call fcn.0055ee8c
lea ecx, [esi + 0x10]
call fcn.0055ee8c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00538a50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00538a50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00538a50
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0055ef01
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0055ef01
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.004018e0
push eax
lea ecx, [ebp - 4]
call fcn.00402380
push 1
push 0xf060
lea ecx, [ebp - 4]
call fcn.004023d0
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00401960
cmp dword [ebp - 0xc], 0
je 0x4025bc
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x4025c3
mov dword [ebp - 0x10], 0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040f560
add esp, 8
push 0x80
mov ecx, 0x43e214
call fcn.004018b0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00401930
push 0
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
push 0x402990
push 0
push 0
call fcn.004226ed
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x43e1fc], eax
mov dword [ebp - 8], 1
lea ecx, [ebp - 4]
call fcn.004023a0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 4
call fcn.00402fa0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c3a0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403260
cmp eax, 1
jne 0x402886
mov ecx, dword [0x43e200]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
push edx
push 0x402990
push 0
push 0
call fcn.004226ed
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
jmp 0x402900
lea ecx, [ebp - 0x4c]
call fcn.0040bf00
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403480
cmp eax, 1
jne 0x4028bc
push 0
push 0
push 0x404
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4028f8
mov ecx, dword [0x43e200]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
push edx
push 0x402990
push 0
push 0
call fcn.004226ed
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
lea ecx, [ebp - 0x4c]
call fcn.0040bf20
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x28]
call fcn.0040c3d0
mov eax, dword [ebp - 0x50]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402a30
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x43370c]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x433710]
mov dword [ebp - 0xc], ecx
mov dx, word [0x433714]
mov word [ebp - 8], dx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402a71
mov al, 1
jmp 0x402b55
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402fc0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403060
lea ecx, [ebp - 0x14]
call fcn.00411410
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004044c0
add esp, 8
test eax, eax
je 0x402af8
mov dword [ebp - 0x18], 0
jmp 0x402ab4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x64
jge 0x402af8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411410
push eax
call fcn.00404340
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00411410
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004044c0
add esp, 8
test eax, eax
jne 0x402aea
jmp 0x402af8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403060
jmp 0x402aab
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411410
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x402b46
lea ecx, [ebp - 0x14]
call fcn.00411410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402b35
mov byte [ebp - 0x19], 1
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x19]
jmp 0x402b55
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x1a]
jmp 0x402b55
mov byte [ebp - 0x1b], 1
lea ecx, [ebp - 0x14]
call fcn.00401860
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422550
mov esp, ebp
pop ebp
ret
Function at 0x402b70
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.004227a0
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402cfe
mov dword [ebp - 0x668], 0
push 0x424
push 0
lea eax, [ebp - 0x664]
push eax
call fcn.004227a0
add esp, 0xc
mov ecx, dword [ebp - 0x238]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x670], eax
mov dword [ebp - 0x668], 0x428
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x670]
push eax
call sub.KERNEL32.dll_Module32FirstW
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0
je 0x402ce6
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x674]
call fcn.00402fc0
push str.yy_checker.dll
lea ecx, [ebp - 0x674]
call fcn.00403220
test eax, eax
jne 0x402cbd
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x678]
call fcn.00402fc0
lea ecx, [ebp - 0x678]
call fcn.00411410
push eax
call fcn.00402a30
add esp, 4
movzx eax, al
test eax, eax
jne 0x402cb2
mov byte [ebp - 0x679], 1
lea ecx, [ebp - 0x678]
call fcn.00401860
lea ecx, [ebp - 0x674]
call fcn.00401860
mov al, byte [ebp - 0x679]
jmp 0x402d0a
lea ecx, [ebp - 0x678]
call fcn.00401860
lea ecx, [ebp - 0x668]
push ecx
mov edx, dword [ebp - 0x670]
push edx
call sub.KERNEL32.dll_Module32NextW
mov dword [ebp - 0x66c], eax
lea ecx, [ebp - 0x674]
call fcn.00401860
jmp 0x402c2d
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 8], eax
jmp 0x402bcc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00422550
mov esp, ebp
pop ebp
ret

Function at 0x402d20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x433738
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x43e200], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
jne 0x402d4e
mov al, 1
jmp 0x402d50
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x403b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push str.http:__www.duowan.com
push 0x433924
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404340
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x43ce30]
xor eax, ebp
mov dword [ebp - 0x28], eax
cmp dword [ebp + 8], 0
je 0x404367
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40436e
mov al, 1
jmp 0x4044a6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4044a4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
and eax, 0xfffffffe
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
and ecx, 0xfffffffd
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4043d4
mov al, 1
jmp 0x4044a6
xor edx, edx
mov word [ebp - 0x238], dx
push 0x20a
push 0
lea eax, [ebp - 0x236]
push eax
call fcn.004227a0
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.00422a45
add esp, 0xc
push 0x1e
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.004227a0
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x18], ecx
mov edx, 0x614
mov word [ebp - 0x10], dx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4044a4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00402fc0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x240]
call fcn.00403060
lea ecx, [ebp - 0x240]
call fcn.00411410
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004044c0
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x241], al
lea ecx, [ebp - 0x240]
call fcn.00401860
mov al, byte [ebp - 0x241]
jmp 0x4044a6
mov al, 1
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00422550
mov esp, ebp
pop ebp
ret