joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4146f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5017b0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5470bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.CMainWnd::InitWindow____r_n
call ebx
lea edi, [esi + 0x30]
push str.closebtn
mov ecx, edi
call fcn.00465020
push str.wizardTab
mov ecx, edi
mov dword [esi + 0x770], eax
call fcn.00465020
push str.licenseshow
mov ecx, edi
mov dword [esi + 0x774], eax
call fcn.00465020
push str.showPathOpt
mov ecx, edi
mov dword [esi + 0x778], eax
call fcn.00465020
push str.moreconfiginfo
mov ecx, edi
mov dword [esi + 0x77c], eax
call fcn.00465020
push str.editDir
mov ecx, edi
mov dword [esi + 0x780], eax
call fcn.00465020
mov dword [esi + 0x784], eax
call fcn.0040baf0
lea eax, [ebp - 0x3c]
push eax
call fcn.0040c560
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x4147b5
mov edx, dword [edx]
mov ecx, dword [esi + 0x784]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x4147dd
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004024e0
push str.progress_tip
mov ecx, edi
call fcn.00465020
push str.Progress
mov ecx, edi
mov dword [esi + 0x788], eax
call fcn.00465020
mov dword [esi + 0x78c], eax
mov esi, dword [esi + 4]
call fcn.0040baf0
push str.CMainWnd::InitLicense____r_n
mov dword [eax + 0x1c], esi
call ebx
push str.editLicense
mov ecx, edi
call fcn.00465020
mov ebx, eax
test ebx, ebx
je 0x414842
push ecx
call fcn.004151c0
mov esi, eax
test esi, esi
je 0x414842
mov edx, dword [ebx]
mov ecx, ebx
push esi
call dword [edx + 0x2c]
push esi
call fcn.004269d7
add esp, 4
call fcn.004144e0
mov esi, eax
push esi
push str.drives_:__d__r_n
call fcn.00414560
add esp, 8
cmp esi, 1
jne 0x4148d9
push 0x13
xor eax, eax
mov dword [ebp - 0x10], 7
push 0x533a48
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.004020c0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], esi
push eax
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4148ae
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x10], 7
push str.btnInstall
mov ecx, edi
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00465020
test eax, eax
je 0x4148d9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414ac0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [edi], 1
sub eax, 0x401
je 0x414bde
sub eax, 1
je 0x414bc1
sub eax, 1
je 0x414b28
mov dword [edi], 0
push edi
push dword [ebp + 0x10]
mov ecx, esi
push ebx
push dword [ebp + 8]
call fcn.0046fd60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0x10
push dword [esi + 0x790]
call fcn.004ce9d0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x770]
mov dword [esi + 0x790], 0
test ecx, ecx
je 0x414b58
mov eax, dword [ecx]
push 1
call dword [eax + 0xf8]
test ebx, ebx
je 0x414b94
push 0x64
mov ecx, esi
call fcn.00415460
mov ecx, dword [esi + 0x774]
push 2
mov eax, dword [ecx]
call dword [eax + 0x204]
mov ecx, dword [esi + 4]
call fcn.00418580
push ecx
call fcn.0040baf0
mov ecx, eax
call fcn.0040d130
test eax, eax
je 0x414c1a
jmp 0x414ba7
mov ecx, dword [esi + 4]
sub esp, 0xc
mov edx, 0x533ab8
call fcn.00415b30
add esp, 0xc
push str.CMainWnd::Exit____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
push 0
push 0x10
mov ecx, esi
call fcn.0046bef0
jmp 0x414c1a
push 0
push 0x320
push 1
call fcn.004ce9d0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x790], eax
jmp 0x414c1a
cmp dword [esi + 0x788], 0
je 0x414c0e
push ebx
lea eax, [ebp - 0x84]
push str.ck_W
push eax
call fcn.00415600
mov ecx, dword [esi + 0x788]
lea edx, [ebp - 0x84]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x78c]
push ebx
call fcn.00470ac0
cmp dword [edi], 0
je 0x414b06
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414ea0
Capabilities:
Copy file
Delete file
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50184b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CMainWnd::onClose____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x774]
call fcn.0046eca0
cmp eax, 2
je 0x415072
push 1
push 1
mov ecx, esi
call fcn.0046c170
mov ecx, dword [esi + 4]
sub esp, 0xc
mov edx, 0x533b7c
call fcn.00415b30
add esp, 0xc
cmp eax, 1
je 0x414f17
xor al, al
jmp 0x415074
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d8530
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d8530
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004de87c
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.004055a0
push str._u7b
lea ecx, [ebp - 0x438]
mov dword [eax + 0x12c], 0x59
call fcn.00401f30
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 0
push eax
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x415019
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004055a0
mov ecx, eax
call fcn.00404bd0
call fcn.004055a0
mov ecx, eax
call fcn.00405cf0
call fcn.004055a0
mov ecx, eax
call fcn.00406300
call fcn.004055a0
mov ecx, eax
call fcn.004063b0
call fcn.004055a0
mov ecx, eax
call fcn.00406720
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x415090
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50188b
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.CMainWnd::OnInstall____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00417f00
test al, al
je 0x4150ff
push 0x5332d4
lea eax, [ebp - 0x210]
push str._s__
push eax
call fcn.004154f0
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x210]
call fcn.00415b30
add esp, 0xc
jmp 0x4151a2
push 0x84
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.004d8530
mov ecx, dword [edi + 0x784]
lea edx, [ebp - 0x294]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 0
call fcn.0046cd10
mov ecx, eax
call fcn.00418220
test al, al
jne 0x415159
mov ecx, dword [edi + 4]
sub esp, 0xc
mov edx, 0x533bec
call fcn.00415b30
add esp, 0xc
jmp 0x415197
mov ecx, dword [edi + 0x77c]
test ecx, ecx
je 0x415190
call fcn.0046dbc0
test al, al
je 0x415190
mov ecx, dword [edi + 0x77c]
push 1
mov esi, dword [ecx]
call fcn.0046dbc0
mov ecx, dword [edi + 0x77c]
test al, al
sete al
movzx eax, al
push eax
call dword [esi + 0x1bc]
mov ecx, edi
call fcn.00415310
lea ecx, [ebp - 0x294]
call fcn.0046c5c0
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.004264c2
mov esp, ebp
pop ebp
ret

Function at 0x4151c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x533c08
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4151f3
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4151fc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x41521b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
add eax, 2
push eax
mov dword [ebp - 4], eax
call fcn.00426ac3
mov edi, eax
add esp, 4
test edi, edi
jne 0x41524f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 4]
push 0
push edi
call fcn.004d8530
push dword [ebp - 8]
push ebx
push edi
call fcn.004d7fb0
mov ecx, edi
call fcn.00413fe0
push edi
mov esi, eax
call fcn.004269d7
add esp, 0x1c
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5018db
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CMainWnd::StartInstall____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x774]
push 1
mov eax, dword [ecx]
call dword [eax + 0x204]
mov ecx, dword [esi + 0x770]
test ecx, ecx
je 0x41536d
mov eax, dword [ecx]
push 0
call dword [eax + 0xf8]
mov ecx, dword [esi + 0x784]
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0046cd10
mov edx, eax
mov dword [ebp - 0x1c], 7
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [edx], ax
jne 0x4153ac
xor ecx, ecx
jmp 0x4153c0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4153b1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004020c0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0046c5c0
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00415510
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4153fe
push 1
call fcn.0041c33b
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
push dword [ebp - 0x18]
call fcn.0041c836
add esp, 8
test eax, eax
je 0x415417
push eax
call fcn.0041c30e
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp eax, 8
jb 0x41543a
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004024e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret

Function at 0x4166e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3c
lea eax, [ebp - 0x40]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [edi + 0x14], 8
jb 0x416715
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], 0x5341bc
jb 0x416727
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
jne 0x416765
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x416765
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x4167e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41680e
mov eax, dword [esi]
jmp 0x416810
mov eax, esi
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0xc]
push eax
push edx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edx
push eax
push edx
push ecx
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416844
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426ac3
mov ecx, dword [ebp - 0xc]
mov edi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push edi
call fcn.004d8530
add esp, 0x10
test edi, edi
je 0x4168c3
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 0x10]
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4168a0
push edi
mov ecx, esi
call fcn.00406830
push edi
call fcn.004269d7
add esp, 4
xor eax, eax
test ebx, ebx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret 8

Function at 0x416a60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 0x14]
push ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x416af2
cmp word [ebx + 8], 2
push esi
jne 0x416ac2
cmp word [ebx + 0xa], 4
jne 0x416ac2
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x416ac2
nop dword [eax]
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.004169e0
mov dword [edi], eax
test eax, eax
je 0x416ae4
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x416aa0
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x10]
call fcn.004df88a
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop esi
pop edi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x416b02.11001
jmp dword [eax*4 + 0x416b30]
pop edi
mov eax, 0x2af9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov eax, 0x2afa
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov eax, 0x2afb
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x54d024], 0
mov ax, cx
push ebx
push esi
push edi
mov word [ebp - 0x23a], ax
mov dword [ebp - 0x238], 0x5341e4
mov dword [ebp - 0x234], 0x416e10
mov dword [ebp - 0x230], str.getnameinfo
mov dword [ebp - 0x22c], 0x417110
mov dword [ebp - 0x228], 0x5341fc
mov dword [ebp - 0x224], fcn.00416dc0
je 0x4173bd
movzx eax, ax
jmp 0x4174e9
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4174d8
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x118]
push 0x10c
push eax
call fcn.004df895
add esp, 0xc
lea eax, [ebp - 0x118]
push str.ws2_32
push 0x10c
push eax
call fcn.004dfa0c
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x417439
push 0x5341e4
push edi
call ebx
test eax, eax
jne 0x417491
push edi
call esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x118]
push 0x10c
push eax
call fcn.004df895
add esp, 0xc
lea eax, [ebp - 0x118]
push str.wship6
push 0x10c
push eax
call fcn.004dfa0c
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4174d8
push 0x5341e4
push edi
call ebx
test eax, eax
jne 0x417491
push edi
call esi
jmp 0x4174d8
xor esi, esi
push dword [ebp + esi*8 - 0x238]
push edi
call ebx
mov dword [ebp + esi*8 - 0x234], eax
test eax, eax
je 0x4174d1
inc esi
cmp esi, 3
jl 0x417493
mov eax, dword [ebp - 0x234]
mov dword [0x547e78], eax
mov eax, dword [ebp - 0x22c]
mov dword [0x547e80], eax
mov eax, dword [ebp - 0x224]
mov dword [fcn.00416dc0], eax
jmp 0x4174d8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [ebp - 0x23a]
mov dword [0x54d024], 1
mov ecx, dword [ebp - 4]
mov eax, dword [eax*8 + 0x547e78]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x4176f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2ac], 0
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x2a8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4177d7
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4177d7
push edi
push ebx
push 0
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x532988
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4177d7
mov ecx, dword [ebp - 0x2a8]
movsx eax, word [ecx + 0xc]
push eax
movsx eax, word [ecx + 0xe]
push eax
movsx eax, word [ecx + 8]
push eax
movsx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x94]
push str._d._d._d._d
push eax
call fcn.0041a8a0
add esp, 0x18
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00401f30
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x532808
mov word [esi], ax
call fcn.004020c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret

Function at 0x4178b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push eax
push 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x417930
mov eax, dword [esi]
jmp 0x417932
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 1
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4179a9
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4179a9
push edi
push ebx
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
push esi
push dword [ebp - 0x224]
mov ecx, edi
call fcn.00417810
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x417f00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x417f35
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x417f8b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push str.ZhuanZhuan.exe
push eax
call fcn.004de58d
add esp, 8
test eax, eax
je 0x417f88
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x417f60
jmp 0x417f8a
mov bl, 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x417fc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501c80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x41811c
test edi, edi
je 0x41811c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x5088e0
push 1
push 0
push 0x508960
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41811c
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x41811c
mov eax, dword [ebp - 0x2c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x41811c
mov eax, dword [ebp - 0x2c]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x41811c
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f30
push 2
push 0xffffffffffffffff
push 0x5343dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00419c90
cmp eax, 0xffffffff
je 0x4180c2
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fba0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x4180a6
mov edx, dword [edx]
mov eax, dword [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00401ef0
test esi, esi
js 0x41810e
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], 0
push 0x508910
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x41810e
mov eax, dword [ebp - 0x30]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x41810e
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.00401ef0
mov al, bl
jmp 0x41811e
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.00401ef0
mov al, bl
jmp 0x41811e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret