joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4102c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x444c82
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x20], esi
mov ebx, edx
mov word [esi + 4], di
mov dword [esp + 0x430], edi
cmp dword [eax + 0x18], 8
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edi
jb 0x41033b
mov eax, dword [eax + 4]
jmp 0x41033e
add eax, 4
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4103f5
push 0x3fe
lea edx, [esp + 0x2a]
push edi
push edx
mov word [esp + 0x30], di
call fcn.00433170
add esp, 0xc
cmp dword [ebx + 0x18], 8
mov dword [esp + 0x14], 0x3fe
mov dword [esp + 0x1c], 1
jb 0x410390
mov ebx, dword [ebx + 4]
jmp 0x410393
add ebx, 4
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4103ea
mov eax, dword [esp + 0x14]
cmp eax, 0x200
jae 0x4103c3
mov word [esp + eax*2 + 0x24], di
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4103d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401a90
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00431b07
add esp, 0x424
ret
Function at 0x412e00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x444c12
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.00433170
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x412ea0
mov edi, dword [edi + 4]
jmp 0x412ea3
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412efa
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x412ed1
mov word [esp + eax*2 + 0x24], bx
jmp 0x412ed9
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412ee0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401a90
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00431b07
add esp, 0x22c
ret 4
Function at 0x415a05
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push esi
mov esi, ecx
jne 0x415b48
mov eax, dword [esp + 0xc]
cmp eax, 0x110
jne 0x415a2e
push esi
call fcn.00415d80
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 2
jne 0x415a49
mov eax, esi
call fcn.0041bf90
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x111
jne 0x415ad8
mov eax, dword [esp + 0x10]
cmp ax, 0x9c42
jne 0x415a87
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esp + 0x18]
mov dword [edx], 0
mov eax, 1
pop esi
ret 0x18
cmp ax, 0x3ea
jne 0x415aa1
call fcn.00416070
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 2
jne 0x415abb
call fcn.004160c0
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 1
jne 0x415b48
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x464
jne 0x415b0f
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov dword [ecx + 0x20], 1
call fcn.00416910
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
je 0x415b48
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x113
jne 0x415b48
cmp dword [esp + 0x10], 0xfa1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
jne 0x415b31
mov eax, esi
call fcn.00416990
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
jne 0x415a25
xor eax, eax
pop esi
ret 0x18
Function at 0x416070
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x418], 0
je 0x4160ba
lea ecx, [esi + 0x58]
push ecx
push 1
mov dword [esi + 0x64], 8
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4160ba
mov dword [esi + 0x418], 0
xor eax, eax
ret

Function at 0x4160c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi + 0x2e], 1
cmp dword [esi + 0x480], 8
jb 0x4160ee
mov eax, dword [esi + 0x46c]
jmp 0x4160f4
lea eax, [esi + 0x46c]
mov edx, dword [esi + 4]
push 0x124
push eax
push 0x44bf78
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x41611a
mov eax, dword [esi + 4]
push 0
push eax
mov byte [esi + 0x2d], 1
call edi
xor eax, eax
mov byte [esi + 0x2e], al
pop edi
ret

Function at 0x416790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x447b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x30]
xor edi, edi
cmp eax, edi
je 0x4167df
lea ecx, [ebx + 0x24]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x30]
call fcn.0040b960
test al, al
jne 0x4167e6
mov byte [ebx + 0x2d], 1
xor al, al
jmp 0x4168e3
mov eax, dword [ebx + 4]
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb
push str.ck_W
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00401a90
mov dword [esp + 0x38], edi
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x416843
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ec
push edx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004169d0
mov ecx, dword [ebx + 0x30]
call fcn.0040c920
test al, al
jne 0x416888
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2d], 1
jb 0x416884
mov eax, dword [esp + 0x14]
push eax
call fcn.00431474
add esp, 4
xor al, al
jmp 0x4168e3
push 6
push 0x44c070
lea esi, [esp + 0x18]
call fcn.00401a90
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x4168a7
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push 0x3ec
push ecx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004169d0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2c], 1
jb 0x4168e1
mov edx, dword [esp + 0x14]
push edx
call fcn.00431474
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00431b07
add esp, 0x2c
ret
Function at 0x4172f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x424]
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, dword [esp + 0x430]
push edi
mov edi, edx
jb 0x417322
mov eax, dword [eax + 4]
jmp 0x417325
add eax, 4
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4173d2
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x4173d2
push 0x410
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], 0x40f
call fcn.00433170
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x417377
mov edi, dword [edi + 4]
jmp 0x41737a
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4173ba
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4173a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401a90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4173c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x4173d4
xor al, al
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00431b07
add esp, 0x420
ret 8

Function at 0x4173f0
Capabilities:
Set registry value

Disassembly:
push ecx
cmp byte [ecx], 0
push esi
mov esi, dword [esp + 0xc]
je 0x417406
mov byte [ecx + 1], 1
xor al, al
pop esi
pop ecx
ret 4
cmp dword [eax + 0x18], 8
jb 0x417411
mov eax, dword [eax + 4]
jmp 0x417414
add eax, 4
push edi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0x44b33c
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417494
mov edi, dword [esp + 0x10]
test edi, edi
je 0x417494
mov ecx, dword [esi + 0x14]
add ecx, ecx
cmp dword [esi + 0x18], 8
jb 0x417457
mov edx, dword [esi + 4]
jmp 0x41745a
lea edx, [esi + 4]
cmp dword [ebx + 0x18], 8
jb 0x417465
mov eax, dword [ebx + 4]
jmp 0x417468
lea eax, [ebx + 4]
push ecx
push edx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x417487
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret 4
pop edi
xor al, al
pop esi
pop ecx
ret 4
Function at 0x4174a0
Capabilities:
Delete registry key

Disassembly:
push ecx
cmp dword [edi + 0x18], 8
push esi
mov dword [esp + 4], 0
lea esi, [edi + 4]
jb 0x4174b7
mov eax, dword [esi]
jmp 0x4174b9
mov eax, esi
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4174ee
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebx], 0
je 0x4174f3
mov byte [ebx + 1], 1
xor al, al
pop esi
pop ecx
ret
mov al, 1
pop esi
pop ecx
ret
cmp dword [edi + 0x18], 8
jb 0x4174fb
mov esi, dword [esi]
push esi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
sete al
pop esi
pop ecx
ret

Function at 0x417b30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x444b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov ebx, 1
xor ebp, ebp
test byte [0x457ef0], bl
mov esi, ecx
jne 0x417bcb
or dword [0x457ef0], ebx
mov dword [esp + 0x44c], ebp
call fcn.00419e30
mov dword [0x457ee0], eax
mov byte [eax + 0x2d], bl
mov eax, dword [0x457ee0]
mov dword [eax + 4], eax
mov eax, dword [0x457ee0]
mov dword [eax], eax
mov eax, dword [0x457ee0]
mov dword [eax + 8], eax
push 0x448930
mov dword [0x457ee4], ebp
call fcn.00431d74
add esp, 4
mov dword [esp + 0x44c], 0xffffffff
mov eax, dword [0x457ee0]
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x454]
lea eax, [esp + 0x24]
call fcn.00418f70
mov edi, eax
mov eax, dword [edi]
cmp eax, ebp
je 0x417bf3
cmp eax, 0x457edc
je 0x417bf8
call fcn.00431c40
mov ecx, dword [esp + 0x20]
cmp dword [edi + 4], ecx
je 0x417c14
lea edx, [esp + 0x454]
call fcn.00418e40
mov ecx, esi
jmp 0x417caf
push 0x40e
lea edx, [esp + 0x32]
push ebp
push edx
mov word [esp + 0x38], bp
call fcn.00433170
mov ecx, dword [esp + 0x460]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x417c6b
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x417c6f
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x417c6b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x417cb9
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x417c76
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00401a90
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x417c9f
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x454]
call fcn.00418e40
mov ecx, eax
mov eax, esi
push 0xffffffffffffffff
push ebp
call fcn.004019a0
mov al, 1
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00431b07
add esp, 0x43c
ret
Function at 0x418c20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x38
lea eax, [esp + 8]
push 0
push eax
call fcn.00433170
add esp, 0xc
mov dword [esp], 0x3c
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x3c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x418c9c
mov edx, 0x20
cmp edx, dword [esp + 0x20]
sbb eax, eax
neg eax
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret

Function at 0x418cb0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x444ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
mov edi, ecx
xor ebp, ebp
push eax
lea ebx, [ebp + 1]
xor eax, eax
mov edx, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x25
call fcn.0040a400
push 0xffffffffffffffff
cmp eax, 0xffffffff
push ebp
mov eax, edi
jne 0x418d26
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
mov ecx, esi
mov word [esi + 4], bp
call fcn.004019a0
jmp 0x418e1b
mov ebx, 7
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004019a0
mov dword [esp + 0x40], ebp
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
jb 0x418d54
mov eax, dword [eax]
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x418d90
push 0xffffffffffffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push ebp
mov eax, edi
mov ecx, esi
mov word [esi + 4], bp
call fcn.004019a0
cmp dword [esp + 0x30], 8
jb 0x418e1b
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x418e13
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00430f12
add esp, 4
cmp dword [edi + 0x18], 8
mov ebx, eax
mov eax, dword [esp + 0x10]
jb 0x418dba
mov eax, dword [eax]
mov edi, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
jbe 0x418de2
cmp eax, edi
ja 0x418de2
lea edx, [esp + 0x18]
push edx
mov edx, ebx
mov word [ebx + eax*2], bp
call fcn.00401970
push ebx
call fcn.00431479
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
push ebp
lea eax, [esp + 0x20]
mov ecx, esi
mov word [esi + 4], bp
call fcn.004019a0
cmp dword [esp + 0x30], 8
jb 0x418e1b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00431474
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00431b07
add esp, 0x34
ret
Function at 0x41a450
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44547a
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push esi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [edi], ebx
mov eax, 7
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x10], edi
mov word [edi + 0xc], bx
lea esi, [edi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], ebx
mov word [edi + 0x44], bx
push ebx
mov byte [esp + 0x644], 2
call fcn.00431db5
push eax
call fcn.00431d86
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00433170
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x41a58a
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.00433170
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x41a569
cmp eax, ebx
je 0x41a569
push esi
lea edx, [esp + 0x224]
mov word [esp + eax*2 + 0x224], bx
call fcn.00401970
jmp 0x41a58a
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a570
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401a90
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x41a5c1
lea ebp, [eax - 1]
cmp ebp, dword [esi + 0x14]
jbe 0x41a59e
call fcn.00431c40
cmp dword [esi + 0x18], 8
jb 0x41a5a9
mov eax, dword [esi + 4]
jmp 0x41a5ac
lea eax, [esi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x41a5c1
push 1
push 0x44b338
mov ecx, esi
call fcn.0040a5f0
cmp dword [edi + 0x38], ebx
jne 0x41a5d2
push 3
push 0x44b784
call fcn.00401a90
push 9
push str.2345.com_
mov ecx, esi
call fcn.0040a5f0
mov dword [edi + 4], ebx
mov eax, edi
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.00431b07
add esp, 0x634
ret

Function at 0x41a610
Capabilities:
Delete file

Disassembly:
push ebp
push edi
xor edi, edi
cmp dword [esi + 0x54], edi
mov ebp, 8
je 0x41a632
cmp dword [esi + 0x58], ebp
jb 0x41a628
mov eax, dword [esi + 0x44]
jmp 0x41a62b
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x58], ebp
jb 0x41a643
mov eax, dword [esi + 0x44]
push eax
call fcn.00431474
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], edi
mov word [esi + 0x44], di
cmp dword [esi + 0x3c], ebp
jb 0x41a662
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00431474
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], edi
mov word [esi + 0x28], di
cmp dword [esi + 0x20], ebp
jb 0x41a681
mov edx, dword [esi + 0xc]
push edx
call fcn.00431474
add esp, 4
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 7
mov word [esi + 0xc], di
pop edi
pop ebp
ret
Function at 0x41b895
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push esi
mov esi, ecx
jne 0x41b9f1
mov eax, dword [esp + 0xc]
cmp eax, 0x110
jne 0x41b8bd
call fcn.0041bbd0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 2
jne 0x41b8d8
mov eax, esi
call fcn.0041bf90
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x111
jne 0x41b981
mov eax, dword [esp + 0x10]
cmp ax, 0x9c42
jne 0x41b916
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esp + 0x18]
mov dword [edx], 0
mov eax, 1
pop esi
ret 0x18
cmp ax, 0x3ea
jne 0x41b930
call fcn.0041bed0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 2
jne 0x41b94a
call fcn.0041bed0
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 1
jne 0x41b963
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, 1
pop esi
ret 0x18
cmp ax, 0x3ed
jne 0x41b9f1
call fcn.0041bf20
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x464
jne 0x41b9b8
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x20], 1
call fcn.0041c980
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
je 0x41b9f1
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x113
jne 0x41b9f1
cmp dword [esp + 0x10], 0xfa1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
jne 0x41b9da
mov eax, esi
call fcn.0041ca00
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
jne 0x41b8b4
xor eax, eax
pop esi
ret 0x18
Function at 0x41bed0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x41c], 0
je 0x41bf1a
lea ecx, [esi + 0x5c]
push ecx
push 1
mov dword [esi + 0x68], 8
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x41bf1a
mov dword [esi + 0x41c], 0
xor eax, eax
ret

Function at 0x41bf20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi + 0x2e], 1
cmp dword [esi + 0x464], 8
jb 0x41bf4e
mov eax, dword [esi + 0x450]
jmp 0x41bf54
lea eax, [esi + 0x450]
mov edx, dword [esi + 4]
push 0x24
push eax
push 0x44c5c8
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x41bf77
mov eax, dword [esi + 4]
push 0
push eax
mov byte [esi + 0x2d], 1
call edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
pop edi
je 0x41bf86
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov byte [esi + 0x2e], al
ret