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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42c0f5
and dword [esi], 0
and dword [ebp + 0x10], 0
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0
jbe 0x42c131
mov eax, 0x8000
cmp dword [ebp + 0xc], eax
jae 0x42c10f
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 8]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x42c131
mov ecx, dword [ebp + 0x10]
add dword [esi], ecx
test eax, eax
setne al
push eax
call fcn.0040e013
pop ecx
pop esi
pop ebp
ret 0xc

Function at 0x42f9ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x42fb38
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x42fa28
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x42fa2d
inc esi
cmp esi, dword [ebp - 8]
jb 0x42fa1f
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x42fb19
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x42faac
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x42fa59
cmp cl, 0xff
jne 0x42fadb
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, dword [ebp + 0xc]
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x42faec
movzx edi, byte [edx + 0x445e60]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x42fa9c
cmp bl, 0xff
jne 0x42fae9
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x42fa74
dec ecx
shl edx, cl
and edx, 7
je 0x42fa46
movzx ecx, byte [edx + 0x445e60]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x445e58], 0
mov cl, byte [ebx + 4]
je 0x42fad8
test cl, cl
je 0x42fad8
cmp cl, 0xff
jne 0x42fa46
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x42fa1a
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x42fa1a
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x42fcef
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x42ffd6
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
movzx ecx, byte [eax + str.cw]
mov byte [ecx + 0x455fd8], al
inc eax
cmp eax, 0x100
jb 0x42ffde
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, 0xff
movzx ebx, byte [edi + str.cw]
mov eax, ebx
and al, 0x80
neg al
lea ecx, [ebx + ebx]
sbb eax, eax
and eax, 0x1b
xor eax, ecx
and eax, esi
mov ecx, eax
mov edx, ecx
xor edx, ebx
mov dword [ebp - 8], edx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
mov eax, edi
shl eax, 2
mov dword [eax + 0x453fd8], edx
mov edx, ebx
shl edx, 8
mov edi, edx
or edi, ebx
or edx, ecx
shl edi, 8
or edi, ecx
shl edx, 8
or edx, dword [ebp - 8]
shl edi, 8
or edi, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 8]
shl edx, 8
shl ecx, 8
mov dword [eax + 0x4543d8], edi
mov edi, dword [ebp - 0x10]
movzx ebx, byte [edi + str.cw]
or edx, ebx
or ecx, ebx
mov dword [eax + 0x4547d8], edx
shl ecx, 8
or ecx, ebx
mov dword [eax + 0x454bd8], ecx
movzx ecx, byte [edi + 0x455fd8]
mov edx, ecx
and dl, 0x80
neg dl
lea ebx, [ecx + ecx]
mov dword [ebp - 0x18], ecx
sbb edx, edx
and edx, 0x1b
xor edx, ebx
and edx, esi
mov ebx, edx
and bl, 0x80
neg bl
mov dword [ebp - 0x10], edx
sbb ebx, ebx
and ebx, 0x1b
add edx, edx
xor ebx, edx
and ebx, esi
mov edx, ebx
and bl, 0x80
neg bl
mov dword [ebp - 0x14], edx
sbb ebx, ebx
add edx, edx
and ebx, 0x1b
xor ebx, edx
and ebx, esi
mov edx, ebx
xor edx, ecx
mov dword [ebp - 8], edx
mov edx, ebx
xor edx, dword [ebp - 0x10]
xor edx, ecx
mov dword [ebp - 0xc], edx
shl edx, 8
mov ecx, ebx
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
or edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x10]
shl edx, 8
or edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
mov dword [eax + 0x454fd8], edx
mov edx, dword [ebp - 4]
shl edx, 8
or edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, dword [ebp - 0xc]
mov dword [eax + 0x4553d8], edx
mov edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
shl ecx, 8
or ecx, dword [ebp - 0xc]
shl edx, 8
or edx, dword [ebp - 0xc]
shl ecx, 8
or ecx, dword [ebp - 4]
shl edx, 8
or edx, dword [ebp - 4]
shl ecx, 8
or ecx, dword [ebp - 8]
inc edi
cmp edi, 0x100
mov dword [eax + 0x4557d8], edx
mov dword [eax + 0x455bd8], ecx
mov dword [ebp - 0x10], edi
jb 0x430000
mov dword [0x4573c8], 0x430b4b
mov dword [0x4573d0], 0x430ba4
mov dword [0x4573cc], 0x430c27
call fcn.0040ff12
test eax, eax
pop edi
pop esi
pop ebx
je 0x4301b0
mov dword [0x4573c8], 0x43183f
mov dword [0x4573d0], 0x431844
mov dword [0x4573cc], 0x431849
leave
ret
Function at 0x4301b2
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
add ecx, 0x10
xor esi, esi
test eax, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
jbe 0x4301e9
mov ebx, dword [edx]
mov dword [ecx + esi*4], ebx
inc esi
add edx, 4
cmp esi, eax
jb 0x4301dc
cmp esi, edi
jae 0x4302b9
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov ebx, dword [ecx + esi*4 - 4]
test edx, edx
mov dword [ebp - 8], eax
jne 0x430259
mov edi, 0xff
mov eax, ebx
and eax, edi
mov dh, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
mov dl, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + str.cw]
mov edi, dword [ebp - 8]
movzx edi, byte [edi + 0x450420]
shl edx, 8
or edx, eax
movzx eax, bh
movzx eax, byte [eax + str.cw]
shl edx, 8
xor eax, edi
or edx, eax
mov ebx, edx
jmp 0x4302a1
cmp dword [ebp + 8], 6
jbe 0x4302a1
cmp edx, 4
jne 0x4302a1
mov eax, ebx
shr eax, 0x10
mov edi, 0xff
and eax, edi
movzx eax, byte [eax + str.cw]
mov edx, ebx
shr edx, 0x18
mov ah, byte [edx + str.cw]
movzx edx, bh
movzx edx, byte [edx + str.cw]
shl eax, 8
and ebx, edi
or eax, edx
movzx edx, byte [ebx + str.cw]
shl eax, 8
or eax, edx
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp - 4], 4
xor eax, ebx
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x4301fb
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4314b6
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 4]
mov eax, edi
call fcn.0042c3c8
test al, al
je 0x4314cd
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.0043286e
test eax, eax
pop ecx
je 0x4314e8
push esi
push 0x431469
mov esi, eax
call fcn.0040ed7c
jmp 0x4314ea
xor eax, eax
push ebx
mov ebx, eax
call fcn.0040c01b
mov eax, edi
call fcn.004193db
pop ebx
pop edi
pop esi
jmp fcn.0040ee27

Function at 0x4327eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f4e8]
jne 0x4327f5
repz ret
jmp fcn.00435128

Function at 0x4361c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44f500]
je 0x4361db
inc edi
cmp edi, 0x17
jb 0x4361cc
cmp edi, 0x17
jae 0x43635b
push ebp
push 3
call fcn.0043be6e
cmp eax, 1
pop ecx
je 0x436327
push 3
call fcn.0043be6e
test eax, eax
pop ecx
jne 0x43620f
cmp dword [0x44f0e0], 1
je 0x436327
cmp ebx, 0xfc
je 0x43635a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4533b8
push ebp
call fcn.00438efa
add esp, 0xc
test eax, eax
je 0x436245
push esi
push esi
push esi
push esi
push esi
call fcn.004328e2
add esp, 0x14
push 0x104
mov esi, 0x4533d1
push esi
push 0
mov byte [0x4534d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x436289
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00438efa
add esp, 0xc
test eax, eax
je 0x436289
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004328e2
add esp, 0x14
push esi
call fcn.00432760
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4362ce
push esi
call fcn.00432760
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4536cc
push 0x442a74
sub ecx, eax
push ecx
push eax
call fcn.00436d66
add esp, 0x14
test eax, eax
je 0x4362ce
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004328e2
add esp, 0x14
jmp 0x4362d0
xor esi, esi
push 0x442a70
push ebx
push ebp
call fcn.0043bdfd
add esp, 0xc
test eax, eax
je 0x4362f0
push esi
push esi
push esi
push esi
push esi
call fcn.004328e2
add esp, 0x14
push dword [edi*8 + 0x44f504]
push ebx
push ebp
call fcn.0043bdfd
add esp, 0xc
test eax, eax
je 0x436312
push esi
push esi
push esi
push esi
push esi
call fcn.004328e2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043bc40
add esp, 0xc
jmp 0x43635a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43635a
cmp ebp, 0xffffffff
je 0x43635a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44f504]
push dword [esi]
call fcn.00432760
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x401180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401199
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4011d0
lea ebx, [ebx]
cmp esi, edx
jae 0x4011d4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4011c0
cmp esi, edx
jb 0x4011db
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 8], 1
jne 0x403eb4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040dc80
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.0040ca44
xor ecx, ecx
push str.lander.exe
mov word [eax + 2], cx
lea eax, [ebp - 0x210]
push eax
push str._s_s
lea eax, [esi + 0x630]
push 0xffffffffffffffff
push eax
call fcn.00409360
add esp, 0x1c
push 0x40
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.0040dc80
add esp, 0xc
mov dword [ebp - 0x268], 0x44
lea eax, [ebp - 0x220]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x220], xmm0
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esi + 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403f34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x920
push dword [esi + 0x1180]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
mov dword [0x427350], eax
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret
Function at 0x404360
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 0x117c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd0], eax
mov edi, edi
push 0x427338
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x427350]
mov eax, dword [0x4274f0]
push 0x404150
mov dword [0x4274f4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x4274f4]
xor ebx, ebx
mov edx, dword [0x4274f0]
sub eax, edx
sar eax, 2
test eax, eax
je 0x4044e4
mov ecx, dword [0x4274fc]
jmp 0x4043e0
cmp dword [edi + 0x117c], 0
jne 0x4044e4
mov dword [0x427500], ecx
cmp eax, ebx
jbe 0x404543
push 0
push 0x404230
push dword [edx + ebx*4]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [0x427500]
xor esi, esi
mov ecx, dword [0x4274fc]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4044cb
jmp 0x404430
cmp dword [edi + 0x117c], 0
jne 0x4044cb
cmp eax, esi
jbe 0x404543
push 0x64
lea eax, [ebp - 0xcc]
push eax
push dword [ecx + esi*4]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, str.Internet_Explorer_Server
lea ecx, [ebp - 0xcc]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x404488
test dx, dx
je 0x404484
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x404488
add ecx, 4
add eax, 4
test dx, dx
jne 0x404462
xor eax, eax
jmp 0x40448d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4044b2
mov eax, dword [0x427500]
mov ecx, dword [0x4274fc]
sub eax, ecx
sar eax, 2
cmp eax, esi
jbe 0x404543
mov eax, dword [ecx + esi*4]
mov dword [edi + 0x117c], eax
mov eax, dword [0x427500]
inc esi
mov ecx, dword [0x4274fc]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x404430
mov eax, dword [0x4274f4]
inc ebx
mov edx, dword [0x4274f0]
sub eax, edx
sar eax, 2
cmp ebx, eax
jb 0x4043e0
push 0x427338
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xd0]
cmp eax, 0xea60
ja 0x40452d
cmp dword [edi + 0x117c], 0
je 0x404390
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0040bc5d
int3
Function at 0x405710
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.00403e30
test eax, eax
jne 0x405724
xor eax, eax
pop edi
pop esi
pop ecx
ret
push 0
push 0
push esi
push 0x403f60
push 0
push 0
mov dword [esi + 0x11a8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov dword [esi + 0x11a4], eax
call fcn.00404360
test eax, eax
jne 0x40571e
mov ecx, esi
call fcn.004042d0
test eax, eax
je 0x40571e
mov ecx, esi
call fcn.00406e60
cmp dword [esi + 8], 1
mov ecx, esi
jne 0x405774
call fcn.00405e00
jmp 0x405779
call fcn.004057a0
mov edi, eax
test edi, edi
je 0x405798
push dword [esi + 0x1184]
push 1
push 0x920
push dword [esi + 0x1180]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x406bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a168
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov dword [ebp - 0x474], 1
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], eax
mov word [ebp - 0x43c], ax
push 0x206
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0040dc80
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.0040ca44
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
cmp word [ebp - 0x21c], cx
je 0x406caf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406ca0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00408800
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call fcn.0040dc80
add esp, 0xc
mov dword [ebp - 0x470], 0
lea eax, [ebp - 0x470]
push eax
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x406d64
cmp word [ebp - 0x424], 0
jne 0x406d33
xor ecx, ecx
lea eax, [ebp - 0x424]
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.00408800
jmp 0x406d7a
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406d40
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.00408800
jmp 0x406d7a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x454]
call fcn.004086e0
push 0xc
push str.zhangyu365_
lea ecx, [ebp - 0x454]
call fcn.004080d0
push ecx
lea edx, [ebp - 0x454]
lea ecx, [ebp - 0x46c]
call fcn.004093f0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x406dd2
cmp dword [esi + 0x14], 8
jb 0x406db7
push dword [esi]
call fcn.0040bdac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00408070
cmp dword [ebp - 0x458], 8
jb 0x406de9
push dword [ebp - 0x46c]
call fcn.0040bdac
add esp, 4
cmp dword [ebp - 0x428], 8
jb 0x406e00
push dword [ebp - 0x43c]
call fcn.0040bdac
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], 7
cmp dword [ebp - 0x440], 8
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
jb 0x406e34
push dword [ebp - 0x454]
call fcn.0040bdac
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret 4
Function at 0x4098d0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11dc
call fcn.00416bd0
mov eax, dword [0x425010]
xor eax, esp
mov dword [esp + 0x11d8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00401840
push esi
lea ecx, [esp + 0x34]
call fcn.00406920
dec eax
je 0x4099dc
dec eax
jne 0x409a1a
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x427420
push 0x67
push edi
call esi
push 0x64
push 0x427358
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00409a40
mov ecx, edi
call fcn.00409ac0
test eax, eax
je 0x409a1a
push dword [0x427354]
push 6
push 0x920
push dword [esp + 0x11bc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x4099d6
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4099a0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4099c5
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x14]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x4099a0
mov esi, dword [esp + 0x1c]
jmp 0x409a1c
lea ecx, [esp + 0x30]
call fcn.00405710
test eax, eax
jne 0x409a0f
push dword [0x427350]
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409a0f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x11d8], 0
xor esi, esi
lea ecx, [esp + 0x30]
call fcn.00401d80
mov ecx, dword [esp + 0x11e4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bdb1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x409ac0
Capabilities:
Hide graphical window

Disassembly:
push edi
push 0
mov edi, ecx
push edi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push SysReAllocString
push 0x427420
push 0x427358
push 0
mov dword [0x4274e8], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push edi
push 0
push eax
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xc80000
push 0x427420
push 0x427358
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x427354], eax
pop edi
test eax, eax
jne 0x409b2b
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x427354]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
ret