joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c80c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb00f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4c8103
mov eax, dword [esi]
jmp 0x4c8105
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x4c8121
push 0x535c78
push edi
push eax
call fcn.004e2fe6
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x4c818e
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4c818e
mov eax, dword [esi]
test eax, eax
je 0x4c8175
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c8185
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4c8890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb0df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4c88d3
mov eax, dword [esi]
jmp 0x4c88d5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x4c88f6
push 0x535c78
push edi
push eax
call fcn.004e2fe6
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x4c8963
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4c8963
mov eax, dword [esi]
test eax, eax
je 0x4c894a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c895a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4cefc0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4fb6f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push edi
push 0
push 0x53b3ec
push 6
mov edi, ecx
push str..zip
push 0x53b3e0
push 1
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileDialog::CFileDialog
lea ecx, [esp + 0x14]
mov dword [esp + 0x218], 0
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x4cf18f
lea eax, [esp + 4]
push ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileDialog::GetPathName
lea ecx, [esp + 0xc]
push 4
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x531878
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4cf16a
push esi
push 0
lea edx, [esp + 0x18]
push str.skin_
push edx
call fcn.00422130
add esp, 0xc
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 2
call sub.MFC42.DLL_CString::ReverseFind
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xc]
mov bl, 3
mov byte [esp + 0x220], bl
mov ecx, dword [eax - 8]
cmp esi, ecx
jge 0x4cf145
mov eax, ecx
lea ecx, [esp + 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 4
call fcn.004e2330
lea ecx, [esp + 0x18]
mov byte [esp + 0x220], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4cf145
push 0
push 0
push 0x53b3d4
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x160]
call fcn.004d16c0
test eax, eax
je 0x4cf145
mov edx, dword [edi + 0x180]
push eax
push 9
push 0x110b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x220], 1
call sub.MFC42.DLL_CString::CString
pop esi
jmp 0x4cf17d
push 0x30
push 0x52f46c
push 0x53b3b0
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 8]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
pop ebx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x218], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x218], 0xffffffff
call fcn.004e22a0
mov ecx, dword [esp + 0x210]
pop edi
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x4d16c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fbc6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push edi
mov edi, ecx
mov dword [esp + 0x14], 0xffff0003
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0x27
mov eax, dword [edi + 0x4c]
push ecx
mov dword [esp + 0x14], eax
mov eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0xc]
xor ebx, ebx
push 4
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x531878
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete byte [esp + 0x54]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x54], bl
je 0x4d1895
push esi
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x50], 1
je 0x4d17b0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 4]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], vtable.CBitmap.0
jmp 0x4d17b2
xor esi, esi
mov eax, dword [esp + 0xc]
mov ecx, edi
push eax
push esi
mov byte [esp + 0x58], bl
call fcn.004d0fd0
neg eax
sbb eax, eax
push 0x5c
and eax, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x58]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push 0x2e
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 6
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 7
call fcn.004e2330
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CString::CString
push 0x208
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x1100
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4d1e40
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fbd30
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x4d1e7b
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x60]
mov dword [esp + 0x58], ebp
push eax
push 0x530e88
push 7
push ebp
push 0x530e78
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x4d1ecf
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4d1fe7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp eax, ebp
jge 0x4d1f12
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4d1fe7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push ebx
push 0xffffffffffffffff
push esi
call fcn.00403460
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x53d5d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
mov word [esp + 0x48], bp
call fcn.0041d250
push 0x53d5d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
mov word [esp + 0x38], bp
call fcn.0041d250
mov ebx, 3
push 0x53d5d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
mov word [esp + 0x28], bp
call fcn.0041d250
mov word [esp + 0x14], bx
mov dword [esp + 0x1c], 0xe
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call dword [edx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call esi
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x44]
push edx
call esi
cmp ebx, ebp
pop ebx
push edi
jge 0x4d1ffd
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4d1fe7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4d2019
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x4d94c0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x4d954f
cmp dword [esp + 0x30], ebx
jne 0x4d94eb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esi + 0xc]
push ebx
push ebx
push 0x12
push eax
mov dword [esi + 4], 1
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
call edi
test eax, eax
je 0x4d952e
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4d9506
mov ecx, dword [esi + 8]
push 1
push ecx
call ebp
cmp eax, ebx
je 0x4d953f
cmp eax, 0xffffffff
jne 0x4d9506
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
lea eax, [esi + 0xc]
push eax
push ebx
push edi
push 0x4d95b0
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4d9599
test edi, edi
je 0x4d9587
push 0xffffffffffffffff
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x4dd6c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fce6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0xc]
push str.cookie.ini
push eax
call fcn.00422130
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x1b8], 0
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
je 0x4dd817
mov edx, dword [esp + 8]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x53d5d0
push 0x533148
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x53d5d0
push str.totalTime
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x53d5d0
push str.score
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x53d5d0
push 0x53bfc0
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::operator_2
mov dword [esi + 0x2c], 1
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1a4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x4df200
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4df20f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x53c070]
test eax, eax
je 0x4df21d
call fcn.004df0b0
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x4df311
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x543910]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543910]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x543910]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543910]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x543910]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543910]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x543910]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543910]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4df237
pop edi
pop ebx
test edx, edx
je 0x4df331
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x543910]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x4df315
not eax
pop esi
ret 0xc
Function at 0x4e1c60
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4e1cd3
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x4e1cd3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x52f86c
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov esi, eax
test esi, esi
je 0x4e1cd3
mov edx, esi
sub edx, ebx
test edx, edx
jle 0x4e1cc9
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
inc edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
jne 0x4e1c8a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x4e1ce0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], 0x44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x4e1d60
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e1d3f
mov ecx, dword [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov eax, 1
pop esi
add esp, 0x54
ret 8
xor eax, eax
add esp, 0x54
ret 8

Function at 0x4e1ea0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4e1eda
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e1ed5
call fcn.004e2070
test eax, eax
je 0x4e1ecc
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
mov ecx, esi
call fcn.004e1f90
jmp 0x4e1eda
call fcn.004e1fc0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xc], eax
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x4e1e60
push 0
push 0
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4e1f3f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e1f2f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x4e3280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4e32f1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x4e32f1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x4e32da
jmp 0x4e32f1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4e40e0
Capabilities:
Parse url

Disassembly:
sub esp, 0x948
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.004e4f60
test eax, eax
jl 0x4e42c0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x159]
mov byte [esp + 0x158], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x95c]
push edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x15c]
push 0x10000000
push edi
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4e41a7
mov ecx, esi
call fcn.004e5300
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x948
ret 0xc
mov al, byte [esp + 0x158]
test al, al
jne 0x4e41c2
mov byte [esp + 0x158], 0x2f
mov byte [esp + 0x159], 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.004e50a0
mov edi, eax
test edi, edi
jl 0x4e42b7
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
mov ecx, esi
call fcn.004e5110
test eax, eax
jl 0x4e4298
mov eax, dword [esp + 0x964]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x168]
push 0
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebp
call fcn.004e4760
test eax, eax
jl 0x4e4298
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push 0
call fcn.004e4950
mov edi, eax
cmp edi, 1
je 0x4e429c
xor ebx, ebx
test edi, edi
jge 0x4e4242
cmp edi, 0x80092002
jne 0x4e42b7
mov ebx, 1
mov ecx, dword [esp + 0x960]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e42ae
push ebx
push edi
push esi
mov ecx, ebp
call fcn.004e42d0
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e42b3
mov edi, eax
jmp 0x4e42b7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x948
ret 0xc
mov edi, 0x800401ea
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004e5300
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x948
ret 0xc