joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f4a3
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4b55c9
call fcn.00485088
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42f4c5
xor eax, eax
jmp 0x42f63c
cmp ecx, 0x80
jg 0x42f4be
cmp ecx, 1
jge 0x42f4dc
push 0x80070057
call fcn.0040dfb0
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f4f5
cmp ecx, 2
jl 0x42f4d2
movzx eax, word [eax + 4]
cmp ax, 0x5c
jne 0x42f4be
xor edi, edi
test ecx, ecx
jle 0x42f543
push edi
mov ecx, esi
call fcn.0042e1e4
movzx eax, ax
cmp ax, 0x3a
jne 0x42f511
cmp edi, 1
jne 0x42f4be
cmp ax, 0x2a
je 0x42f4be
cmp ax, 0x3f
je 0x42f4be
cmp ax, 0x22
je 0x42f4be
cmp ax, 0x3c
je 0x42f4be
cmp ax, 0x3e
je 0x42f4be
cmp ax, 0x7c
je 0x42f4be
cmp ax, 0x2f
je 0x42f4be
mov eax, dword [esi]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x42f4fb
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, 4
jge 0x42f56a
cmp ecx, 1
jle 0x42f4be
jl 0x42f4d2
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f4be
cmp ecx, 2
jl 0x42f586
cmp ecx, 1
jl 0x42f4d2
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f4be
cmp ecx, 1
jle 0x42f5c1
mov ecx, dword [0x4c2244]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4c2248]
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], 0
jl 0x42f4d2
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42f4be
lea ecx, [ebp - 0x38]
call fcn.0042ec63
push dword [esi]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f60a
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.004198bb
lea ecx, [ebp - 0x38]
call fcn.0042f2d3
test eax, eax
je 0x42f617
cmp eax, 0x50
je 0x42f60a
cmp eax, 0xb7
je 0x42f60a
lea ecx, [ebp - 0x38]
call fcn.0042f27d
jmp 0x42f4be
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042df88
test eax, eax
je 0x42f5fd
mov eax, dword [0x4ec6b0]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.00468750
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
je 0x42f600
call fcn.0042f27d
xor eax, eax
inc eax
call fcn.0048510b
ret 4

Function at 0x42f6a2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0042eed1
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42f726
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x42f722
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42f711
push esi
mov ecx, edi
call fcn.0042f644
push esi
call fcn.00484927
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x42f6fd
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00484247
leave
ret 4
Function at 0x42f794
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x4b5631
call fcn.0048501f
mov dword [ebp - 0x14], ecx
mov edi, 0x4ecda4
push edi
lea ecx, [ebp - 0x10]
call fcn.0040ba90
push dword [ebp + 0x41c]
mov ecx, dword [ebp - 0x14]
and dword [ebp - 4], 0
call fcn.0042d07b
mov esi, 0x200
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov ebx, edx
call fcn.0041d32c
mov ecx, dword [ebp - 0x14]
push esi
push eax
push ebx
push dword [ebp - 0x28]
call fcn.0042d0f2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
mov eax, dword [0x4ec6b0]
shl eax, 0x14
cdq
xor esi, esi
mov dword [ebp - 0x20], esi
cmp ebx, edx
ja 0x42f826
jb 0x42f81f
cmp dword [ebp - 0x28], eax
ja 0x42f826
mov dword [ebp - 0x20], 1
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.00484150
add esp, 0xc
push 0x104
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp + 0x208], 0x61
movzx eax, word [ebp + 0x208]
jb 0x42f87d
cmp word [ebp + 0x208], 0x7a
ja 0x42f87d
mov eax, dword [ebp + 0x208]
add eax, 0xffffffe0
movzx eax, ax
mov ebx, dword [ebp + 0x424]
lea ecx, [ebx - 0x61]
cmp cx, 0x19
ja 0x42f892
add ebx, 0xffe0
cmp bx, ax
jne 0x42f89a
xor esi, esi
inc esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040ba90
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040ba90
push 0x208
xor edi, edi
lea eax, [ebp]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00484150
add esp, 0xc
push edi
push 0x26
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42f91a
push str.360360safe
lea ecx, [ebp - 0x1c]
call fcn.0040b680
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov word [ebp], bx
call fcn.0040c8e0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040dd20
jmp 0x42f92f
movzx eax, bx
push eax
lea eax, [ebp - 0x18]
push str._c:Program_Files360360safe
push eax
call fcn.0041cbb1
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042f735
push esi
push ecx
mov edi, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004198bb
mov ecx, dword [ebp - 0x14]
push ebx
push edi
push dword [ebp - 0x20]
push dword [ebp + 0x420]
call fcn.0042eb56
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00484247
add ebp, 0x414
leave
ret 0xc
Function at 0x430648
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x43066d
xor eax, eax
jmp 0x430716
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x4306c0
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x4306c0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
jne 0x4306a7
push edi
jmp 0x4306ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
jne 0x4306c4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x430715
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0048a200
add esp, 0xc
push esi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x10]
xor ebx, ebx
call fcn.00428417
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4306ff
push edi
push dword [ebp + 0x10]
call fcn.00428301
pop ecx
pop ecx
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x430713
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43071c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x7e]
push eax
mov esi, ecx
call fcn.00484150
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x80], 0x61
movzx eax, word [ebp - 0x80]
jb 0x43077c
cmp word [ebp - 0x80], 0x7a
ja 0x43077c
mov eax, dword [ebp - 0x80]
add eax, 0xffffffe0
movzx eax, ax
movzx eax, ax
push eax
push 0x4c22e8
push 0x400
add esi, 0x140
push esi
call fcn.00430526
mov ecx, dword [ebp + 0x188]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00484247
add ebp, 0x18c
leave
ret
Function at 0x430885
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x30
mov eax, 0x4b56f0
call fcn.00485052
mov eax, dword [ebp + 0x128]
mov edi, 0x11c
xor esi, esi
push edi
mov dword [ebp - 0x28], eax
lea eax, [ebp]
push esi
push eax
mov ebx, ecx
mov dword [ebp - 4], esi
call fcn.00484150
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
cmp dword [ebp + 4], 5
jne 0x4308e8
cmp dword [ebp + 8], 1
jne 0x4308e8
inc edi
call fcn.00417eb5
fld dword [0x4c2334]
push esi
push 2
push esi
push ecx
fstp dword [esp]
push dword [eax + 8]
lea ecx, [ebp - 0x30]
call fcn.0043003f
fld dword [0x4c2330]
fstp dword [ebp - 0x24]
fld dword [0x4c232c]
fstp dword [ebp - 0x20]
cmp dword [ebx + 0x944], esi
je 0x430929
fld dword [0x4c2328]
fstp dword [ebp - 0x24]
cmp edi, esi
je 0x430936
fld dword [0x4c2324]
fstp dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0x91919191
call fcn.00430393
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
mov dword [ebp - 0x1c], esi
call fcn.00464902
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.004648d2
cmp eax, esi
je 0x43096b
mov dword [ebp - 0x18], eax
mov ecx, ebx
call fcn.0043071c
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
push 0x800
lea esi, [ebx + 0x140]
push esi
call fcn.0043057d
shr dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x14]
push esi
call fcn.0043042d
push dword [ebp - 0x1c]
call fcn.00464885
push dword [ebp - 0x38]
call fcn.00464698
push dword [ebp - 0x30]
call fcn.00464855
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00484247
add ebp, 0x120
leave
ret 4

Function at 0x430fc6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov dword [0x4ebf20], eax
call fcn.00430e98
push dword [esi + 4]
mov ecx, esi
call fcn.0042fd90
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x940]
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.0042d220
mov eax, dword [esi + 0x38]
sub eax, 0x31
push eax
mov eax, dword [esi + 0x34]
dec eax
dec eax
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x169
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd3
push eax
mov ecx, edi
call fcn.0042d05c
push 0
push dword [esi + 4]
mov ecx, edi
call fcn.00430e48
push 0
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 8
Function at 0x431a48
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp + 0x190]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00484247
add ebp, 0x194
leave
ret

Function at 0x432257
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0xc
mov eax, 0x4b5842
call fcn.0048501f
push 5
pop ecx
push 0x1f4
xor ebx, ebx
lea eax, [ebp + 0x21c]
push ebx
mov esi, str._unknown_
lea edi, [ebp + 0x208]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00484150
add esp, 0xc
push dword [ebp + 0x41c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x43232e
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4322e3
push 0x104
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x14]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
mov esi, 0x208
push esi
lea eax, [ebp]
push ebx
push eax
call fcn.00484150
add esp, 0xc
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
lea eax, [ebp + 0x208]
push eax
push str.360tray.exe
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x432353
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00484247
add ebp, 0x414
leave
ret
push esi
lea eax, [ebp]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x43231c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
lea eax, [ebp - 0x10]
push eax
call fcn.0043212a
pop ecx
push edi
test eax, eax
je 0x43231d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
push ebx
push esi
call fcn.0040e370
pop ecx
pop ecx
lea ecx, [esi - 0x10]
test eax, eax
je 0x432329
call fcn.0040dd20
xor eax, eax
inc eax
jmp 0x432330
Function at 0x432920
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4b58fe
call fcn.0048501f
push 0x20a
mov dword [ebp - 0x10], 0x105
call fcn.0048093a
jmp 0x432973
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x43297c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4329c1
push esi
call fcn.0048540f
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.0048093a
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x43293f
jmp 0x4329cc
push esi
call fcn.00484927
pop ecx
test eax, eax
jle 0x4329c1
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], esi
call fcn.004328ec
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4ebf34
call fcn.004327f9
lea ecx, [ebp - 0x24]
call fcn.00431ef9
test esi, esi
je 0x4329cc
push esi
call fcn.0048540f
pop ecx
call fcn.004850f7
ret

Function at 0x4329d2
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x394], eax
push edi
xor edi, edi
xor eax, eax
cmp dword [0x4ebf30], edi
je 0x432a00
inc eax
jmp 0x432b14
push esi
mov esi, 0x206
push esi
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
call fcn.00484150
xor eax, eax
push esi
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push edi
push eax
call fcn.00484150
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
jne 0x432a57
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x432b13
lea eax, [ebp + 0x18c]
push ebx
push eax
call fcn.00484927
pop ecx
push 0x5c
pop ebx
jmp 0x432aed
cmp word [ebp + 0x18e], bx
jne 0x432afb
cmp word [ebp + 0x190], 0x3f
jne 0x432afb
cmp word [ebp + 0x192], bx
jne 0x432afb
lea esi, [ebp + eax*2 + 0x18c]
cmp word [esi], bx
jne 0x432afb
xor eax, eax
mov word [esi], ax
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, ebx
mov word [esi], cx
test eax, eax
je 0x432b2a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.00432920
pop ecx
pop ecx
push edi
lea eax, [ebp + 0x18c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x432b32
lea eax, [ebp + 0x18c]
push eax
call fcn.00484927
pop ecx
dec eax
cmp word [ebp + 0x18c], bx
je 0x432a6d
xor esi, esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [0x4ebf30], 1
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp + 0x394]
xor ecx, ebp
pop edi
call fcn.00484247
add ebp, 0x398
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432afb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0x12
neg esi
sbb esi, esi
inc esi
jmp 0x432afd
Function at 0x432b44
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00484950
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x432b6c
leave
ret
push edi
mov edi, dword [ebp - 4]
shr edi, 2
call fcn.004329d2
test eax, eax
je 0x432ba2
push esi
xor esi, esi
test edi, edi
jbe 0x432b9f
mov eax, dword [ebp + esi*4 - 0x1004]
test eax, eax
je 0x432b9a
push eax
call fcn.00432257
pop ecx
cmp eax, 1
je 0x432ba5
inc esi
cmp esi, edi
jb 0x432b83
xor eax, eax
pop esi
pop edi
leave
ret
xor eax, eax
inc eax
jmp 0x432ba1

Function at 0x433865
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
mov esi, dword [ebp + 0x1a4]
push edi
lea edi, [esi + 0x48]
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x78]
call fcn.0042a9d3
push edi
push dword [edi + 0x10]
jmp 0x43390b
lea ecx, [ebp - 0x78]
call fcn.0042a3c3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00484150
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0042a3c3
push dword [eax + 0x1c]
lea eax, [ebp - 0x70]
push dword [esi + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4338ff
lea ecx, [ebp - 0x78]
call fcn.0042a3c3
lea ecx, [ebp - 0x70]
push ecx
push dword [eax]
lea ecx, [esi + 0xd0]
call fcn.00429cbc
lea ecx, [ebp - 0x78]
call fcn.0042a1d1
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x80]
call fcn.0042a9d3
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0042a228
test al, al
je 0x43389d
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.00484247
add ebp, 0x19c
leave
ret 4
Function at 0x43553f
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 4
mov eax, 0x4b5d5e
call fcn.0048501f
mov esi, dword [ebp + 0x40c]
push dword [esi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4356ab
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00484150
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [esi + 0xc0]
lea eax, [ebp]
push 0x200
push eax
push 0
push str.newitems
mov ebx, str.Products
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484927
pop ecx
test eax, eax
jbe 0x4355d6
cmp dword [ebp - 0x10], 2
jne 0x43560b
push dword [esi + 0xc0]
lea eax, [ebp]
push 0x200
push eax
push 0
push str.items
push ebx
call edi
lea eax, [ebp]
push eax
call fcn.00484927
pop ecx
test eax, eax
jbe 0x4356ab
cmp dword [ebp - 0x10], 2
je 0x4356ab
lea eax, [ebp]
push 0x4c2714
push eax
call fcn.0048ab94
pop ecx
pop ecx
test eax, eax
je 0x4356ab
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0042cf32
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
push 0x4c2714
push 0
call fcn.0048ab94
pop ecx
pop ecx
test eax, eax
jne 0x435623
push 0x400
push eax
lea eax, [ebp]
push eax
call fcn.00484150
add esp, 0xc
push dword [esi + 0xc0]
lea eax, [ebp]
push 0x200
push eax
push 0
push str.name
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp]
push eax
call fcn.00484927
pop ecx
lea eax, [ebp]
push eax
lea ecx, [esi + 0xcc]
call fcn.0040c8e0
xor eax, eax
inc eax
jmp 0x4356ad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00484247
add ebp, 0x404
leave
ret 4

Function at 0x436796
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, dword [esp + 8]
je 0x4367b1
push 5
push dword [esi - 0x76]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4367c7
push 0
push dword [esi - 0x76]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x664], 0
je 0x4367cf
push 1
lea ecx, [esi - 0x7a]
call fcn.0043662c
xor eax, eax
inc eax
pop esi
ret 8

Function at 0x437bcc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x437bdc
lea esi, [ecx - 0x96]
jmp 0x437bde
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x437c12
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x437c03
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x437c18
cmp dword [ebp + 0xc], 0
jne 0x437c12
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x437c30
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x96]
call fcn.00437012
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x43956d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push 0x4c28c4
push eax
call fcn.0048a95e
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4395a0
or eax, 0xffffffff
jmp 0x43960b
lea eax, [ebp - 0x45c]
push esi
push eax
call fcn.00402e70
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0048aefc
add esp, 0x14
jmp 0x4395ee
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00402ea0
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0048aefc
add esp, 0x1c
test eax, eax
jne 0x4395c7
lea eax, [ebp - 0x45c]
push eax
push ebx
call fcn.00402f40
push edi
call fcn.0048a81c
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00484247
leave
ret

Function at 0x43966d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x190], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.IsHideMedalWall
push 0x4c2924
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push 0x4c2920
push eax
call fcn.00489635
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp + 0x190]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00484247
add ebp, 0x194
leave
ret