joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b07
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push eax
lea eax, [ebp - 0x48]
push 0x40
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x405c72
cmp dword [ebp - 4], 0x40
jne 0x405c72
cmp word [ebp - 0x48], 0x5a4d
jne 0x405c72
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
je 0x405c72
lea eax, [ebp - 4]
push ebx
push eax
push 0xf8
push 0x40d740
push dword [ebp + 8]
call esi
test eax, eax
je 0x405c72
cmp dword [ebp - 4], 0xf8
jne 0x405c72
cmp dword [0x40d740], 0x4550
jne 0x405c72
mov eax, dword [0x40d548]
mov ecx, dword [0x40d746]
add eax, ecx
lea eax, [eax + eax*4]
shl eax, 3
cmp ax, bx
je 0x405c72
movzx eax, ax
push eax
push 0x40
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [0x40d540], eax
je 0x405c72
push 1
push ebx
push ebx
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [0x40d568], eax
je 0x405c72
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 8]
push dword [0x40d540]
push dword [ebp + 8]
call esi
test eax, eax
je 0x405c72
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jne 0x405c72
push 1
push ebx
push ebx
push dword [ebp + 8]
call edi
mov ecx, dword [0x40d548]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
cmp eax, dword [0x40d794]
ja 0x405c72
mov ecx, dword [0x40d540]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
cmp dword [0x40d768], eax
jae 0x405c72
test byte [0x40d757], 0x20
jne 0x405c72
movzx eax, word [0x40d746]
push 2
push ebx
lea eax, [eax + eax*4]
push ebx
push dword [ebp + 8]
lea esi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 - 0x18]
mov dword [ebp - 8], eax
call edi
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 8]
add edx, ecx
cmp eax, edx
jne 0x405c72
cmp dword [esi - 0x20], ecx
ja 0x405c72
push 1
pop eax
jmp 0x405c74
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x70013e5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x4f0053
mov dword [ebp - 0x54], 0x540046
mov dword [ebp - 0x50], 0x410057
mov dword [ebp - 0x4c], 0x450052
mov dword [ebp - 0x48], 0x4d005c
mov dword [ebp - 0x44], 0x630069
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x6f0073
mov dword [ebp - 0x38], 0x740066
mov dword [ebp - 0x34], 0x43005c
mov dword [ebp - 0x30], 0x790072
mov dword [ebp - 0x2c], 0x740070
mov dword [ebp - 0x28], 0x67006f
mov dword [ebp - 0x24], 0x610072
mov dword [ebp - 0x20], 0x680070
mov word [ebp - 0x1c], 0x79
mov word [ebp - 0x1a], 0
mov dword [ebp - 0x18], 0x61004d
mov dword [ebp - 0x14], 0x680063
mov dword [ebp - 0x10], 0x6e0069
mov dword [ebp - 0xc], 0x470065
mov dword [ebp - 8], 0x690075
mov word [ebp - 4], 0x64
mov word [ebp - 2], 0
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x58]
push edx
push 0x70038ec
call fcn.07001362
add esp, 0xc
test eax, eax
je 0x70014b5
push section..data
push 0
push eax
call fcn.070015b6
leave
ret

Function at 0x70014b7
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov dword [ebp - 0x1b], 0
mov dword [ebp - 0x17], 0
mov dword [ebp - 0x13], 0
mov dword [ebp - 0xf], 0
mov dword [ebp - 0xb], 0
mov dword [ebp - 7], 0
push 0x7003cec
call fcn.0700221f
lea ebx, [ebp - 0x43c]
call 0x700150d
arpl word [ebp + 0x7a], sp
jo 0x700157e
xor al, 0x2e
arpl word [esi + 0x67], sp
add byte [eax], ch
add al, 0
add byte [ebx + 0x6a], dl
add al, ch
pop esp
or al, 0
add byte [ebp + 0x533e74c0], al
call fcn.070021dd
test eax, eax
je 0x700155c
call fcn.070013e5
test eax, eax
je 0x700155c
lea esi, [ebp - 0x3c]
push esi
call fcn.070012d3
push esi
push ebx
call fcn.070010dc
test eax, eax
je 0x700155c
lea edx, [ebp - 0x1b]
push edx
call fcn.07005540
lea edx, [ebp - 0x1b]
push edx
call fcn.07005767
pop edi
pop esi
pop ebx
leave
ret
push 0
mov eax, dword [0x7003cec]
mov edx, 0x99e680
sub edx, eax
call dword [eax + edx]

Function at 0x700156d
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov dword [ebp - 4], 0
lea ebx, [ebp - 4]
push 0
push 0
push ebx
push 0
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
test eax, eax
je 0x70015b1
mov eax, dword [ebx]
test eax, eax
je 0x70015b1
push 0
push 0
push ebx
push dword [ebp + 8]
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
pop ebx
leave
ret 4
Function at 0x7001e46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
inc bl
mov dl, byte [edi + ebx]
add al, dl
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add cl, dl
mov cl, byte [edi + ecx]
xor byte [esi], cl
inc esi
dec dword [ebp + 0x10]
jne 0x7001e58
popal
leave
ret 0xc
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
push str.Shell32.lib
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SetCurrentProcessExplicitAppUserModelID
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call sub.MPR.dll_WNetCloseEnum
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetACP]
test edi, edi
mov dword [0x4c6cdc], eax
je 0x417c92
test esi, esi
je 0x417c81
mov edx, dword [0x4c5abc]
push 0x4c57ac
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x4c6cdc]
pop edi
pop esi
add esp, 8
ret

Function at 0x4ba3b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2378
cmp edx, dword [eax]
je 0x4ba3d7
add eax, 8
inc ecx
cmp eax, 0x4c2408
jl 0x4ba3c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2378]
jne 0x4ba505
mov eax, dword [0x4c6cfc]
cmp eax, 1
je 0x4ba4df
test eax, eax
jne 0x4ba408
cmp dword [0x4c22a4], 1
je 0x4ba4df
cmp edx, 0xfc
je 0x4ba505
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba43f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bada0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba482
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf90c
push edi
call fcn.004bd100
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bada0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004badb0
lea eax, [ebp - 0xa0]
push 0x4bf8ec
push eax
call fcn.004badb0
push dword [esi + 0x4c237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004badb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd074
add esp, 0x2c
pop edi
jmp 0x4ba505
lea eax, [ebp + 8]
lea esi, [esi + 0x4c237c]
push 0
push eax
push dword [esi]
call fcn.004bb230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4f2c56
Capabilities:
Encode data using xor

Disassembly:
jmp 0x52a6b1
aaa
mov ecx, 0x62e9b1d5
sub edx, dword [ebx]
fisttp qword [ebx + 0x15134b10]
dec ecx
scasb al, byte es:[edi]
push es
mov dh, 0xba
and al, 0x2a
dec ebx
clc
insd dword es:[edi], dx
dec eax
daa
loopne 0x4f2c40
and dword [esi + eax*4 - 0x6ae5cf77], eax
jbe 0x4f2c69
in eax, 0xd
invalid
push dword [esp]
pop ebp
push 0x5b434aff
mov dword [esp], ebp
push esp
pop ebp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
pop esp
jmp 0x501671
ret
mov dword [esp + 0x18], ecx
jmp 0x58956a
push eax
mov dword [esp], 0x2989332d
mov dword [esp], ecx
mov dword [esp], ebp
mov dword [esp], 0xec2b7
pop ecx
jmp 0x5ddeeb
mov ebx, dword [esp]
push edx
mov edx, esp
add edx, 4
push edi
push 0x6dbef764
pop edi
xor edi, 0x6dbef760
add edx, edi
pop edi
xchg dword [esp], edx
mov esp, dword [esp]
jmp 0x5ab700
push dword [esp]
push dword [esp]
mov ecx, dword [esp]
add esp, 4
add esp, 4
add esp, 4
jmp 0x59848a
push dword [esp]
push dword [esp]
mov eax, dword [esp]
add esp, 4
add esp, 4
add esp, 4
jmp 0x59d369
push dword [esp]
mov esi, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
pop esp
jmp 0x4f4989
mov edx, dword [esp]
push 0x67bac1b5
mov dword [esp], edx
mov edx, esp
push eax
push 4
pop eax
add edx, eax
pop eax
add edx, 4
xchg dword [esp], edx
pop esp
jmp 0x58baa2
add ecx, 0x5b4d7e44
sub ecx, 0x77ff4bcc
add ecx, eax
push edi
mov edi, 0x77ff4bcc
add ecx, edi
pop edi
push eax
mov eax, 0x5b4d7e44
sub ecx, eax
mov eax, dword [esp]
add esp, 4
jmp 0x52884f
Function at 0x4013c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 8
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx + 0x7c], 0
jne 0x4013d8
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + edx + 0x78]
test eax, eax
je 0x4013d2
mov ecx, dword [eax + edx + 0x24]
add ecx, edx
push ebx
mov ebx, dword [eax + edx + 0x20]
mov dword [ebp - 4], ecx
add ebx, edx
mov ecx, dword [eax + edx + 0x1c]
push esi
mov esi, dword [eax + edx + 0x18]
add ecx, edx
push edi
mov dword [ebp - 8], ecx
xor edi, edi
xor ecx, ecx
dec esi
mov eax, dword [ebx + ecx*4]
add eax, edx
cmp byte [eax], 0x47
jne 0x40145c
cmp byte [eax + 1], 0x65
jne 0x40145c
cmp byte [eax + 2], 0x74
jne 0x40145c
cmp byte [eax + 3], 0x50
jne 0x40145c
cmp byte [eax + 4], 0x72
jne 0x40145c
cmp byte [eax + 5], 0x6f
jne 0x40145c
cmp byte [eax + 6], 0x63
jne 0x40145c
cmp byte [eax + 7], 0x41
jne 0x40145c
cmp byte [eax + 8], 0x64
jne 0x40145c
cmp byte [eax + 9], 0x64
jne 0x40145c
cmp byte [eax + 0xa], 0x72
jne 0x40145c
cmp byte [eax + 0xb], 0x65
jne 0x40145c
cmp byte [eax + 0xc], 0x73
jne 0x40145c
cmp byte [eax + 0xd], 0x73
je 0x40146a
inc ecx
cmp ecx, esi
jbe 0x401404
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42196c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov eax, dword [0x4236ac]
mov byte [eax], 1
mov eax, 0x41df94
call fcn.0040cf64
mov esi, dword [0x4235b4]
mov eax, esi
mov edx, 0x421ab8
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421b4c
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421bac
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421c50
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov eax, esi
call fcn.00405854
call fcn.0040464c
mov eax, esi
mov edx, 0x421ce4
call fcn.00405640
call fcn.00405854
call fcn.0040464c
mov ebx, 5
mov eax, esi
mov dx, 0x2e
call fcn.00405744
call fcn.00405030
call fcn.0040464c
push 0x1f4
call sub.kernel32.dll_Sleep
dec ebx
jne 0x421a0b
mov eax, esi
call fcn.00405854
call fcn.0040464c
push 0
push 0x421d54
push 0x421d6c
push 0x421e0c
push 0
push 0
call sub.shell32.dll_ShellExecuteW
push 0
push 0x421e20
push 0x421e40
push 0x421e0c
push 0
push 0
call sub.shell32.dll_ShellExecuteW
push 0x1f4
call sub.kernel32.dll_Sleep
mov eax, esi
mov edx, 0x421f08
call fcn.00405640
call fcn.00405854
call fcn.0040464c
push 0x3e8
call sub.kernel32.dll_Sleep
push 1
push 0x421f70
call sub.kernel32.dll_WinExec
pop esi
pop ebx
call fcn.004075e4
add byte [eax], al
mov al, 4
add al, byte [eax]
Function at 0x4160a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x4160ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4160c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4160b0
mov eax, 1
add ebx, ebx
jne 0x4160d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4160c8
jne 0x4160e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4160c8
xor ecx, ecx
sub eax, 3
jb 0x4160f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41616a
mov ebp, eax
add ebx, ebx
jne 0x416103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416134
inc ecx
add ebx, ebx
jne 0x416120
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416115
jne 0x416131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416115
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416145
jmp 0x4160b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416154
add edi, ecx
jmp 0x4160b6
pop esi
mov edi, esi
mov ecx, 0x2be
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416172
cmp byte [edi], 6
jne 0x416172
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x416177
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4161e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x161b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1621c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4161a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16220]
or eax, eax
je 0x4161e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4161c1
call dword [esi + 0x16230]
mov ebp, dword [esi + 0x16224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41621a
sub esp, 0xffffff80
jmp 0x409134
Function at 0x4045c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x523060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
call fcn.004552e0
push 4
call fcn.00455600
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004c29b0
lea eax, [ebp - 0x94]
push eax
call fcn.0044fe70
add esp, 0x18
push 0x5130e0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.00456c20
call fcn.004500a0
sub eax, 1
je 0x4046b6
sub eax, 3
jne 0x4046ca
lea ecx, [ebp - 0x94]
call fcn.004e1580
push eax
call fcn.004555b0
add esp, 4
push 0x5130f0
push 0x81
call fcn.00450080
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4046ca
push esi
call fcn.00450080
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4046ad
push esi
call fcn.00450080
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4046ad
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00455610
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4046ca
lea ecx, [ebp - 0x94]
call fcn.004e1580
push eax
call fcn.004555b0
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00456a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041141b
mov esp, ebp
pop ebp
ret
Function at 0x4046f0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7b8
mov eax, dword [0x523060]
xor eax, esp
mov dword [esp + 0x7b4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.ZZDS_InsClass
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40476d
push 0x51311c
push str.ZZDS_InsClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4048ef
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x7b4]
xor ecx, esp
call fcn.0041141b
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 1
mov esi, eax
jle 0x404833
push 0x51313c
push dword [esi + 4]
call fcn.004c4a52
add esp, 8
test eax, eax
jne 0x404833
call fcn.004049c0
lea eax, [esp + 0x10]
push eax
call fcn.00405070
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
push ecx
call fcn.004049c0
add esp, 4
mov ecx, eax
call fcn.00405130
cmp dword [esp + 0xc], 2
jle 0x4047ff
push 0x513144
push dword [esi + 8]
call fcn.004c4a52
add esp, 8
test eax, eax
jne 0x4047ff
sub esp, 8
call fcn.004049c0
add esp, 4
mov ecx, eax
call fcn.00405400
mov eax, dword [esp + 0x24]
cmp eax, 8
jb 0x4048ef
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00401ec0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x7b4]
xor ecx, esp
call fcn.0041141b
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 3
call fcn.00412940
add esp, 4
mov ecx, edi
call fcn.004045c0
push 0x790
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004c29b0
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.00407b80
push 0
push accept
push accept
push accept
push accept
push 0x100
push 0x10080000
push 0x51311c
push 0
lea ecx, [esp + 0x4c]
call fcn.00456090
lea ecx, [esp + 0x28]
call fcn.00455f20
lea ecx, [esp + 0x28]
call fcn.00456530
call fcn.00412900
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CMainWnd.2.0
mov dword [esp + 0x38], vtable.CMainWnd.5.0
mov dword [esp + 0x48], vtable.CMainWnd.1.0
mov dword [esp + 0x4c], vtable.CMainWnd.3.0
mov dword [esp + 0x50], vtable.CMainWnd.0
mov dword [esp + 0x54], vtable.CMainWnd.4.0
call fcn.00407880
mov ecx, dword [esp + 0x7bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041141b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405070
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x523060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0
push 0x26
push eax
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x51314c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x513150
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x4050e8
xor ecx, ecx
jmp 0x405100
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4050f1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00401d60
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0041141b
mov esp, ebp
pop ebp
ret 4
Function at 0x405400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x523060]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [ecx + 4]
push str.ZhuanZhuan.exe
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00406cf0
add esp, 0xc
lea eax, [esp + 4]
cmp dword [esp + 0x18], 8
cmovae eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x18]
cmp eax, 8
jb 0x405461
inc eax
lea ecx, [esp + 4]
push eax
push dword [esp + 8]
call fcn.00401ec0
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041141b
mov esp, ebp
pop ebp
ret 4

Function at 0x405480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4006
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x523060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 4]
push str.ZhuanZhuan.exe
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.00406cf0
add esp, 0xc
push str.uninst.exe
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.00406cf0
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push 0x51314c
push eax
call esi
push 0x51319c
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
call fcn.0040a6f0
push 0x51319c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s.lnk
push eax
call fcn.00406e00
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x438]
cmovae esi, dword [ebp - 0x438]
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
push eax
push esi
call fcn.0040a490
push 0x51319c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x5131c8
push eax
call fcn.00406e00
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x450]
cmovae esi, dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
cmovae ecx, dword [ebp - 0x450]
push eax
push esi
call fcn.0040a490
add esp, 0x30
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x51319c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s.lnk
push eax
call fcn.00406e00
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x420]
push eax
cmovae esi, dword [ebp - 0x438]
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
push esi
call fcn.0040a490
mov eax, dword [ebp - 0x43c]
add esp, 0x18
cmp eax, 8
jb 0x40563c
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00401ec0
xor eax, eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x440], 0
cmp eax, 8
jb 0x405677
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00401ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041141b
mov esp, ebp
pop ebp
ret