joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x4e41e5
cmp di, 0x801
ja 0x4e41e5
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4e41e5
cmp bx, 0xc
ja 0x4e41e5
mov al, byte [esp + 0x30]
test al, al
je 0x4e40e4
push edi
call fcn.004e4620
add esp, 4
cmp ax, bx
je 0x4e40e4
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.004e41f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004e4010
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4e41e5
test ebx, ebx
jne 0x4e4179
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4e41db
test al, al
je 0x4e416c
push 0xffffffffffffffe1
jmp 0x4e416e
push 0x1f
push ebp
push edi
push esi
call fcn.004e3fc0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004e3fc0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.004e41f0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004e4010
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4e4146
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4e5870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x522c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0xc99ce4
lea ecx, [esp + 4]
call fcn.00512d4c
push 0xc618b0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.00512d4c
push 0xc618ac
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.00512d4c
push 0xc618a8
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00512d4c
push 0xc618a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00512d4c
push 0xc618a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.00512d4c
push 0xc6189c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.00512d4c
push 0xc61898
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.00512d4c
push 0xc61894
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.00512d4c
push 0xc61890
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.00512d4c
push 0xc6188c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.00512d4c
push 0xc61888
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.00512d4c
push 0xc61884
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.00512d4c
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4e59a0
cmp eax, 0xc
jle 0x4e59a0
mov ecx, dword [esp + 0x48]
push 0xc99ce4
call fcn.00512e1b
jmp 0x4e59ae
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.00512dcb
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.00512cde
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.00512cde
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.00512cde
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.00512cde
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00512cde
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.00512cde
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00512cde
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.00512cde
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.00512cde
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.00512cde
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.00512cde
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.00512cde
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00512cde
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4ed7a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xca6e80]
xor edx, edx
cmp eax, edx
jne 0x4ed7c6
xor eax, eax
mov byte [eax + 0xca6d80], al
inc eax
cmp eax, 0x100
jl 0x4ed7ae
mov dword [0xca6e80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xca6d80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ed857
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ed82a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ed7f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ed8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ed923
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ed90a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f42b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5230ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004f4bd0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xc3a284
call fcn.00512a1f
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4f4343
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00512a1f
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4f433c
push 0
mov ecx, eax
call fcn.004eb3e0
mov dword [esi + 0xc], eax
jmp 0x4f4345
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f4345
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5150be
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5150f6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00513139
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00513111
jmp 0x515102
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x516888
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5168ca
call fcn.0051ca04
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5168ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5168c1
xor eax, eax
jmp 0x5168d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005168d8
pop edi
pop esi
pop ebx
ret 4

Function at 0x51cf34
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x51cf62
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51cf80
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051ce9a
jmp 0x51cf80
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51cf80
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051ce9a
test edi, edi
mov eax, edi
jne 0x51cf6a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100014a0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x100c35d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call dword [0x100ca800]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call dword [0x100ca800]
push 0x7fff
push 0x7fff
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jne 0x1000152c
push esi
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov esi, dword [esp + 8]
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
mov ecx, ebx
jne 0x1000156b
lea edx, [esp + 8]
push edx
jmp 0x10001570
lea eax, [esp + 0xc]
push eax
call dword [0x100ca804]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x100015a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100c25d9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 4]
mov dword [esp + 4], 0
call dword [0x100ca800]
mov eax, dword [esp + 0x18]
push 0
push eax
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10001605
mov ecx, dword [esp + 4]
push ecx
jmp 0x10001607
push 0
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x10001780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c4662
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x10]
mov dword [esp + 0x18], 0
cmp dword [edi + 0xc], esi
jbe 0x100017c4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
cmp ebx, dword [edi + 0x10]
jbe 0x100017d8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea edx, [esp + 0x34]
push edx
mov esi, edi
call fcn.10008ce0
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x1000185b
lea ebx, [esp + 0x14]
call fcn.10008670
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
jne 0x10001817
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
lea ecx, [esp + 0x14]
sar esi, 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001940
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100c261a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 8], 0
call dword [0x100ca800]
push 1
push 0x23
mov dword [esp + 0x1c], 0
push 0x104
mov ecx, esi
mov dword [esp + 0x14], 1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push str.GlarysoftMalwareHunter
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100019cf
mov eax, dword [esi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10002cb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5638
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x100f2be0]
mov edx, dword [eax + 0x14]
mov ecx, 0x100f2be0
push 0xffffffffffffffff
mov dword [esp + 0x14], ecx
call edx
lea ecx, [ebp + 8]
mov dword [esp + 0x30], 0
mov eax, dword [0x100f2bd8]
mov ebx, dword [0x100f2bc0]
push ecx
lea edx, [esp + 0x20]
push edx
mov edi, 0x100f2bc0
mov dword [esp + 0x20], eax
call fcn.100087e0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x10002d27
cmp eax, ebx
je 0x10002d2d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp dword [esi + 4], eax
je 0x10002de8
lea eax, [ebp + 8]
mov esi, 0x100f2bc0
call fcn.10008780
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x100]
add esi, 0x100
test ecx, ecx
je 0x10002d6a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov edx, dword [esi]
test edx, edx
jne 0x10002d60
mov eax, dword [esi]
test eax, eax
jne 0x10002db6
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [0x100f2be0]
mov eax, dword [edx + 0x1c]
mov ecx, 0x100f2be0
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [0x100f2be0]
mov eax, dword [edx + 0x1c]
mov ecx, 0x100f2be0
call eax
mov eax, 0xfffffff7
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [0x100f2be0]
mov eax, dword [edx + 0x1c]
mov ecx, 0x100f2be0
call eax
mov eax, 0xfffffffa
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10006c50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100c2fa9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.10001630
push eax
push ebx
mov edi, str.Log_
mov dword [esp + 0x20], 0
call fcn.10008380
add esp, 8
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006cbb
mov eax, dword [ebx]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10006f70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100c4440
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
call fcn.10006c50
push eax
lea eax, [esp + 0x18]
push eax
mov edi, 0x100cb228
mov dword [esp + 0x288], 0
call fcn.10008380
add esp, 8
mov ecx, ebx
mov byte [esp + 0x280], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ebx, [esp + 0x10]
call fcn.10006bd0
lea ecx, [esp + 0x24]
mov byte [esp + 0x280], 3
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100070dd
mov ebx, dword [sym.imp.MSVCR90.dll__wcsicmp]
mov esi, dword [sym.imp.MSVCR90.dll_wcsrchr]
jmp 0x10007030
test byte [esp + 0x24], 0x10
jne 0x100070be
lea eax, [esp + 0x50]
push 0x5c
push eax
call esi
add esp, 8
test eax, eax
jne 0x10007051
lea eax, [esp + 0x50]
jmp 0x10007056
add eax, 2
je 0x100070be
push 0x2e
push eax
call esi
add esp, 8
test eax, eax
je 0x100070be
push str..log
push eax
call ebx
add esp, 8
test eax, eax
jne 0x100070be
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
je 0x100070be
lea eax, [esp + 0x50]
lea edx, [eax + 2]
jmp 0x10007090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007090
sub eax, edx
sar eax, 1
cmp eax, 0x11
jne 0x100070be
mov eax, 0x5f
cmp word [esp + 0x58], ax
jne 0x100070be
cmp word [esp + 0x5e], ax
jne 0x100070be
cmp word [esp + 0x64], ax
je 0x10007124
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10007030
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x18]
push 0
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.100c09bd
add esp, 0x274
ret
lea ebx, [esp + 0x20]
call fcn.10006c50
mov esi, dword [esp + 0x18]
push eax
push esi
lea edi, [esp + 0x58]
mov byte [esp + 0x288], 4
call fcn.10008380
add esp, 8
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100070e7