joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4122a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513fa3
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x55509c]
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 ebx, ecx
mov dword [ebp - 0xc8], ebx
mov ecx, dword [ebx + 0x76c]
test ecx, ecx
je 0x412429
cmp dword [ebx + 0x77c], 0
je 0x412429
call fcn.00443620
test al, al
je 0x412429
mov ecx, dword [ebx + 0x77c]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00426460
push eax
lea ecx, [ebp - 0x28]
call fcn.004035e0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00425c60
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412344
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jle 0x412400
push 3
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406e90
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
sbb esi, esi
call fcn.0040a770
and esi, 1
je 0x412400
mov ecx, dword [ebx + 0x768]
test ecx, ecx
je 0x4123a3
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov esi, dword [ebx + 0x758]
xor ecx, ecx
mov eax, dword [ebx + 0x75c]
xor edi, edi
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x4123e7
mov edx, dword [esi]
test edx, edx
je 0x4123df
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
inc edi
add esi, 4
cmp edi, ebx
jne 0x4123c6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00411800
jmp 0x412414
mov ecx, dword [ebx + 0x768]
test ecx, ecx
je 0x412414
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x412429
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402280
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.00413012
mov esp, ebp
pop ebp
ret
Function at 0x4143bd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0041618c
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
test eax, eax
je 0x414472
push ebx
mov ebx, 0x519bc4
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00497749
lea eax, [ebp - 0x20c]
push str.LittlePicView
push eax
call fcn.00497749
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00497749
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x41444b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041b987
pop ecx
cmp word [ebp - 0x20c], si
je 0x414463
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402180
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413012
mov esp, ebp
pop ebp
ret 4

Function at 0x414484
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0041618c
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
test eax, eax
je 0x414539
push ebx
mov ebx, 0x519bc4
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00497749
lea eax, [ebp - 0x20c]
push str.LittlePictureUser
push eax
call fcn.00497749
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00497749
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x414512
lea eax, [ebp - 0x20c]
push eax
call fcn.0041b987
pop ecx
cmp word [ebp - 0x20c], si
je 0x41452a
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402180
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413012
mov esp, ebp
pop ebp
ret 4
Function at 0x414557
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5140b6
call fcn.004b5150
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0041aa79
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0041aaad
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x414597
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4145f9
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.LittlePicture
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4145d4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4145f9
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0041aa8c
call fcn.004b512a
ret 8

Function at 0x414728
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5140f3
call fcn.004b5184
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0048cfa0
lea eax, [edi + 0x84]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x414785
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004035e0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x4147cb
mov eax, dword [esi]
jmp 0x4147cd
mov eax, esi
push ebx
push eax
call fcn.0049777a
pop ecx
pop ecx
test eax, eax
jne 0x414819
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x4147fd
call fcn.00414635
jmp 0x414802
call fcn.004146ef
push eax
mov ecx, esi
call fcn.00408c90
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00416729
mov eax, esi
call fcn.004b513f
ret 0x10
Function at 0x41497e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0048cfa0
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.0041618c
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004977ba
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0048d8ea
add esp, 0x14
test eax, eax
jne 0x414a5d
mov ecx, esi
jmp 0x414b9f
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004977ba
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.004977ba
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.004977ba
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x414b99
cmp dword [ebp - 0xc38], edi
je 0x414b99
test ecx, ecx
je 0x414b99
push str.LittlePicView
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x51d97c
push eax
call fcn.00407340
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414b70
lea eax, [ebp - 0x414]
push eax
call fcn.0041b987
pop ecx
cmp word [ebp - 0x414], di
je 0x414b88
lea eax, [ebp - 0x414]
push eax
call fcn.004977dc
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00402180
jmp 0x414ba5
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.004143bd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413012
mov esp, ebp
pop ebp
ret 4
Function at 0x414bb8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0048cfa0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0048cfa0
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.0041618c
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004977ba
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0048d8ea
add esp, 0x14
test eax, eax
jne 0x414c97
mov ecx, esi
jmp 0x414dd9
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004977ba
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.004977ba
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.004977ba
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.00497749
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x414dd3
cmp dword [ebp - 0xc38], edi
je 0x414dd3
test ecx, ecx
je 0x414dd3
push str.LittlePictureUser
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x51d97c
push eax
call fcn.00407340
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414daa
lea eax, [ebp - 0x414]
push eax
call fcn.0041b987
pop ecx
cmp word [ebp - 0x414], di
je 0x414dc2
lea eax, [ebp - 0x414]
push eax
call fcn.004977dc
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00402180
jmp 0x414ddf
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.00414484
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413012
mov esp, ebp
pop ebp
ret 4
Function at 0x414e88
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.0048cfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x414edf
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
add esi, 0xe4
push eax
mov ecx, esi
call fcn.00402180
mov edi, 0x519bc4
push edi
call fcn.004977dc
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00401f30
cmp dword [esi + 0x14], 8
jb 0x414f13
mov eax, dword [esi]
jmp 0x414f15
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414f35
mov edi, str.C:Program_Files_
push edi
call fcn.004977dc
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00402180
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413012
mov esp, ebp
pop ebp
ret
Function at 0x415a9f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5585b8]
test al, al
jne 0x415b38
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0048cfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x415b2f
lea eax, [ebp - 0x20c]
push eax
call fcn.0049c628
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0048d0fa
pop ecx
pop ecx
test eax, eax
jne 0x415b27
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.0048d0fa
pop ecx
pop ecx
test eax, eax
je 0x415b2f
mov byte [0x5585b8], bl
jmp 0x415b35
mov bl, byte [0x5585b8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413012
mov esp, ebp
pop ebp
ret
Function at 0x415f81
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x514190
call fcn.004b5184
mov ebx, ecx
call fcn.00414609
lea edi, [ebx + 0x9c]
push eax
mov ecx, edi
call fcn.004167d0
mov esi, str.LittlePicInfo.ini
push esi
call fcn.004977dc
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00401f30
push str.littlegf
push 0x51dbe0
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004146c5
and dword [ebp - 4], 0
lea esi, [ebx + 0xb4]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x415ff7
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402060
push str.littlegf
mov ecx, esi
call fcn.00416827
test eax, eax
jne 0x416073
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048cfa0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x416024
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.littlegf
push eax
push edi
push 0x51dbe0
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x416055
xor eax, eax
jmp 0x416062
lea eax, [ebp - 0x218]
push eax
call fcn.004977dc
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402180
jmp 0x416078
mov edi, str.littlegf
push edi
mov ecx, esi
call fcn.00416827
test eax, eax
jne 0x41613b
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048cfa0
add esp, 0xc
lea eax, [ebx + 0x54]
lea ecx, [ebp - 0x230]
push eax
call fcn.004140bf
push str.LittlePicInfo.ini
mov byte [ebp - 4], 1
call fcn.004977dc
pop ecx
push eax
push str.LittlePicInfo.ini
lea ecx, [ebp - 0x230]
call fcn.00401f30
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x51dbe0
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41610c
xor eax, eax
jmp 0x416119
lea eax, [ebp - 0x218]
push eax
call fcn.004977dc
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402180
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00416729
push edi
mov ecx, esi
call fcn.00416827
test eax, eax
jne 0x416177
push edi
push 0x51dbe0
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00414728
push eax
mov ecx, esi
call fcn.00408c90
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00416729
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00416729
call fcn.004b513f
ret
Function at 0x41aaf9
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x51d804
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x41ab79
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x41ab78
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x41ad7b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41b987
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004977dc
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413046
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004977ba
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x41ba01
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x41b9f8
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b9ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41b9ff
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x41b9cb
jmp 0x41ba01
xor edi, edi
push esi
call fcn.00451e30
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ba11
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x5148a1
call fcn.004b5184
lea eax, [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.004140bf
xor ebx, ebx
mov esi, 0x51e1c4
inc ebx
push esi
mov byte [ebp - 4], bl
call fcn.004977dc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00401f30
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41bb8e
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41bb8e
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x41ba71
cmp word [ebp - 0x27a], 0
je 0x41ba71
cmp word [ebp - 0x27a], ax
jne 0x41bab0
cmp word [ebp - 0x278], 0
je 0x41ba71
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x41bacd
mov eax, edi
jmp 0x41bada
lea eax, [ebp - 0x27c]
push eax
call fcn.004977dc
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402180
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x41bb44
call fcn.004140bf
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e20
push 0x519bc4
call fcn.004977dc
pop ecx
push eax
push 0x519bc4
lea ecx, [ebp - 0x28]
call fcn.00401f30
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004140bf
call fcn.0041ba11
jmp 0x41bb6f
call fcn.004140bf
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e20
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004140bf
call fcn.0041bbda
add esp, 0x18
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00416729
push edi
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00416729
jmp 0x41ba71
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41bbc0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00416729
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.00416729
call fcn.004b513f
ret
Function at 0x41c60b
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x514a01
call fcn.004b5184
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.0048cfa0
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.0048cfa0
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x41c6e9
cmp word [edi], dx
jne 0x41c67a
mov eax, edx
jmp 0x41c681
push edi
call fcn.004977dc
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00402180
cmp dword [ebp - 0x30], 0
je 0x41c6e9
mov edi, 0x51aae8
push edi
call fcn.004977dc
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402180
xor edi, edi
cmp word [esi], di
jne 0x41c6b2
mov eax, edi
jmp 0x41c6b9
push esi
call fcn.004977dc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f30
mov esi, 0x51e264
push esi
call fcn.004977dc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f30
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e20
jmp 0x41c705
xor edi, edi
cmp word [esi], di
jne 0x41c6f4
mov eax, edi
jmp 0x41c6fb
push esi
call fcn.004977dc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CreateRunProcess__s_
call fcn.00425020
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41c74a
mov esi, edi
jmp 0x41c775
cmp byte [ebp + 0x10], 0
je 0x41c762
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00416729
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00416729
mov eax, esi
call fcn.004b513f
ret