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

Disassembly:
push 0x2c
mov eax, 0x4b59d9
call fcn.0048548a
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42f518
xor eax, eax
jmp 0x42f68f
cmp ecx, 0x80
jg 0x42f511
cmp ecx, 1
jge 0x42f52f
push 0x80070057
call fcn.0040dfb0
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f548
cmp ecx, 2
jl 0x42f525
movzx eax, word [eax + 4]
cmp ax, 0x5c
jne 0x42f511
xor edi, edi
test ecx, ecx
jle 0x42f596
push edi
mov ecx, esi
call fcn.0042e237
movzx eax, ax
cmp ax, 0x3a
jne 0x42f564
cmp edi, 1
jne 0x42f511
cmp ax, 0x2a
je 0x42f511
cmp ax, 0x3f
je 0x42f511
cmp ax, 0x22
je 0x42f511
cmp ax, 0x3c
je 0x42f511
cmp ax, 0x3e
je 0x42f511
cmp ax, 0x7c
je 0x42f511
cmp ax, 0x2f
je 0x42f511
mov eax, dword [esi]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x42f54e
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, 4
jge 0x42f5bd
cmp ecx, 1
jle 0x42f511
jl 0x42f525
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f511
cmp ecx, 2
jl 0x42f5d9
cmp ecx, 1
jl 0x42f525
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x42f511
cmp ecx, 1
jle 0x42f614
mov ecx, dword [0x4c22ac]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4c22b0]
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], 0
jl 0x42f525
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 0x42f511
lea ecx, [ebp - 0x38]
call fcn.0042ecb6
push dword [esi]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f65d
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.004198bb
lea ecx, [ebp - 0x38]
call fcn.0042f326
test eax, eax
je 0x42f66a
cmp eax, 0x50
je 0x42f65d
cmp eax, 0xb7
je 0x42f65d
lea ecx, [ebp - 0x38]
call fcn.0042f2d0
jmp 0x42f511
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042dfdb
test eax, eax
je 0x42f650
mov eax, dword [0x4ec6b0]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.004688ab
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
je 0x42f653
call fcn.0042f2d0
xor eax, eax
inc eax
call fcn.0048550d
ret 4

Function at 0x42f6f5
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.0042ef24
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42f779
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x42f775
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42f764
push esi
mov ecx, edi
call fcn.0042f697
push esi
call fcn.00484d27
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x42f750
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00484647
leave
ret 4
Function at 0x42f7e7
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, 0x4b5a41
call fcn.00485421
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.0042d0ce
mov esi, 0x200
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov ebx, edx
call fcn.0041d37e
mov ecx, dword [ebp - 0x14]
push esi
push eax
push ebx
push dword [ebp - 0x28]
call fcn.0042d145
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d354
mov eax, dword [0x4ec6b0]
shl eax, 0x14
cdq
xor esi, esi
mov dword [ebp - 0x20], esi
cmp ebx, edx
ja 0x42f879
jb 0x42f872
cmp dword [ebp - 0x28], eax
ja 0x42f879
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.00484550
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 0x42f8d0
cmp word [ebp + 0x208], 0x7a
ja 0x42f8d0
mov eax, dword [ebp + 0x208]
add eax, 0xffffffe0
movzx eax, ax
mov ebx, dword [ebp + 0x424]
lea ecx, [ebx - 0x61]
cmp cx, 0x19
ja 0x42f8e5
add ebx, 0xffe0
cmp bx, ax
jne 0x42f8ed
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.00484550
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 0x42f96d
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 0x42f982
movzx eax, bx
push eax
lea eax, [ebp - 0x18]
push str._c:Program_Files360360safe
push eax
call fcn.0041cc03
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042f788
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.0042eba9
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.00484647
add ebp, 0x414
leave
ret 0xc
Function at 0x43069b
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 0x4306c0
xor eax, eax
jmp 0x430769
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x430713
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 0x430713
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
jne 0x4306fa
push edi
jmp 0x43070d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
jne 0x430717
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x430768
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0048a600
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.0042846c
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x430752
push edi
push dword [ebp + 0x10]
call fcn.00428356
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 0x430766
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 0x43076f
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.00484550
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 0x4307cf
cmp word [ebp - 0x80], 0x7a
ja 0x4307cf
mov eax, dword [ebp - 0x80]
add eax, 0xffffffe0
movzx eax, ax
movzx eax, ax
push eax
push 0x4c2350
push 0x400
add esi, 0x140
push esi
call fcn.00430579
mov ecx, dword [ebp + 0x188]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00484647
add ebp, 0x18c
leave
ret
Function at 0x4308d8
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, 0x4b5b00
call fcn.00485454
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.00484550
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 0x43093b
cmp dword [ebp + 8], 1
jne 0x43093b
inc edi
call fcn.00417eb5
fld dword [0x4c239c]
push esi
push 2
push esi
push ecx
fstp dword [esp]
push dword [eax + 8]
lea ecx, [ebp - 0x30]
call fcn.00430092
fld dword [0x4c2398]
fstp dword [ebp - 0x24]
fld dword [0x4c2394]
fstp dword [ebp - 0x20]
cmp dword [ebx + 0x944], esi
je 0x43097c
fld dword [0x4c2390]
fstp dword [ebp - 0x24]
cmp edi, esi
je 0x430989
fld dword [0x4c238c]
fstp dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0x91919191
call fcn.004303e6
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
mov dword [ebp - 0x1c], esi
call fcn.00464a5b
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.00464a2b
cmp eax, esi
je 0x4309be
mov dword [ebp - 0x18], eax
mov ecx, ebx
call fcn.0043076f
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
push 0x800
lea esi, [ebx + 0x140]
push esi
call fcn.004305d0
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.00430480
push dword [ebp - 0x1c]
call fcn.004649de
push dword [ebp - 0x38]
call fcn.004647f1
push dword [ebp - 0x30]
call fcn.004649ae
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.00484647
add ebp, 0x120
leave
ret 4

Function at 0x431019
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.00430eeb
push dword [esi + 4]
mov ecx, esi
call fcn.0042fde3
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.0042d273
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.0042d0af
push 0
push dword [esi + 4]
mov ecx, edi
call fcn.00430e9b
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 0x431a9b
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.00484550
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.00484647
add ebp, 0x194
leave
ret

Function at 0x4322aa
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, 0x4b5c52
call fcn.00485421
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.00484550
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 0x432381
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 0x432336
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.00484550
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 0x4323a6
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.00484647
add ebp, 0x414
leave
ret
push esi
lea eax, [ebp]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x43236f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
lea eax, [ebp - 0x10]
push eax
call fcn.0043217d
pop ecx
push edi
test eax, eax
je 0x432370
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 0x43237c
call fcn.0040dd20
xor eax, eax
inc eax
jmp 0x432383
Function at 0x432973
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4b5d0e
call fcn.00485421
push 0x20a
mov dword [ebp - 0x10], 0x105
call fcn.00480d3a
jmp 0x4329c6
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 0x4329cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x432a14
push esi
call fcn.00485811
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.00480d3a
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x432992
jmp 0x432a1f
push esi
call fcn.00484d27
pop ecx
test eax, eax
jle 0x432a14
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.0043293f
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4ebf34
call fcn.0043284c
lea ecx, [ebp - 0x24]
call fcn.00431f4c
test esi, esi
je 0x432a1f
push esi
call fcn.00485811
pop ecx
call fcn.004854f9
ret

Function at 0x432a25
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 0x432a53
inc eax
jmp 0x432b67
push esi
mov esi, 0x206
push esi
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
call fcn.00484550
xor eax, eax
push esi
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push edi
push eax
call fcn.00484550
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 0x432aaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x432b66
lea eax, [ebp + 0x18c]
push ebx
push eax
call fcn.00484d27
pop ecx
push 0x5c
pop ebx
jmp 0x432b40
cmp word [ebp + 0x18e], bx
jne 0x432b4e
cmp word [ebp + 0x190], 0x3f
jne 0x432b4e
cmp word [ebp + 0x192], bx
jne 0x432b4e
lea esi, [ebp + eax*2 + 0x18c]
cmp word [esi], bx
jne 0x432b4e
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 0x432b7d
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.00432973
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 0x432b85
lea eax, [ebp + 0x18c]
push eax
call fcn.00484d27
pop ecx
dec eax
cmp word [ebp + 0x18c], bx
je 0x432ac0
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.00484647
add ebp, 0x398
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0x12
neg esi
sbb esi, esi
inc esi
jmp 0x432b50
Function at 0x432b97
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00484d50
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x432bbf
leave
ret
push edi
mov edi, dword [ebp - 4]
shr edi, 2
call fcn.00432a25
test eax, eax
je 0x432bf5
push esi
xor esi, esi
test edi, edi
jbe 0x432bf2
mov eax, dword [ebp + esi*4 - 0x1004]
test eax, eax
je 0x432bed
push eax
call fcn.004322aa
pop ecx
cmp eax, 1
je 0x432bf8
inc esi
cmp esi, edi
jb 0x432bd6
xor eax, eax
pop esi
pop edi
leave
ret
xor eax, eax
inc eax
jmp 0x432bf4

Function at 0x4338b8
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.0042aa28
push edi
push dword [edi + 0x10]
jmp 0x43395e
lea ecx, [ebp - 0x78]
call fcn.0042a418
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00484550
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0042a418
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 0x433952
lea ecx, [ebp - 0x78]
call fcn.0042a418
lea ecx, [ebp - 0x70]
push ecx
push dword [eax]
lea ecx, [esi + 0xd0]
call fcn.00429d11
lea ecx, [ebp - 0x78]
call fcn.0042a226
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x80]
call fcn.0042aa28
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0042a27d
test al, al
je 0x4338f0
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.00484647
add ebp, 0x19c
leave
ret 4
Function at 0x435592
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, 0x4b616e
call fcn.00485421
mov esi, dword [ebp + 0x40c]
push dword [esi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4356fe
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00484550
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.00484d27
pop ecx
test eax, eax
jbe 0x435629
cmp dword [ebp - 0x10], 2
jne 0x43565e
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.00484d27
pop ecx
test eax, eax
jbe 0x4356fe
cmp dword [ebp - 0x10], 2
je 0x4356fe
lea eax, [ebp]
push 0x4c277c
push eax
call fcn.0048af94
pop ecx
pop ecx
test eax, eax
je 0x4356fe
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.0042cf85
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
push 0x4c277c
push 0
call fcn.0048af94
pop ecx
pop ecx
test eax, eax
jne 0x435676
push 0x400
push eax
lea eax, [ebp]
push eax
call fcn.00484550
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.00484d27
pop ecx
lea eax, [ebp]
push eax
lea ecx, [esi + 0xcc]
call fcn.0040c8e0
xor eax, eax
inc eax
jmp 0x435700
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.00484647
add ebp, 0x404
leave
ret 4

Function at 0x4367e9
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, dword [esp + 8]
je 0x436804
push 5
push dword [esi - 0x76]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x43681a
push 0
push dword [esi - 0x76]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x664], 0
je 0x436822
push 1
lea ecx, [esi - 0x7a]
call fcn.0043667f
xor eax, eax
inc eax
pop esi
ret 8

Function at 0x437c1f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x437c2f
lea esi, [ecx - 0x96]
jmp 0x437c31
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x437c65
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x437c56
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x437c6b
cmp dword [ebp + 0xc], 0
jne 0x437c65
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x437c83
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x96]
call fcn.00437065
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4395c0
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 0x4c292c
push eax
call fcn.0048ad5e
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4395f3
or eax, 0xffffffff
jmp 0x43965e
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.0048b2fc
add esp, 0x14
jmp 0x439641
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.0048b2fc
add esp, 0x1c
test eax, eax
jne 0x43961a
lea eax, [ebp - 0x45c]
push eax
push ebx
call fcn.00402f40
push edi
call fcn.0048ac1c
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret

Function at 0x4396c0
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.00484550
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 0x4c298c
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 0x4c2988
push eax
call fcn.00489a35
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp + 0x190]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00484647
add ebp, 0x194
leave
ret