joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dad80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe95f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
mov eax, dword [0x540cc0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1b0], ecx
mov ecx, dword [ebp - 0x1b0]
call sub.MFC71.DLL_CAsyncSocket::CAsyncSocket
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1b0]
mov dword [eax], 0x520128
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call dword [0x502480]
mov byte [ebp - 4], 1
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call sub.MFC71.DLL_CMutex::CMutex
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x1c
call sub.MFC71.DLL_CSingleLock::CSingleLock
mov byte [ebp - 4], 3
mov word [ebp - 0x1a8], 0x202
lea edx, [ebp - 0x1a4]
push edx
mov ax, word [ebp - 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call dword [0x502590]
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x18], edx
push 0
push 0x3f
push 2
push 0
mov ecx, dword [ebp - 0x1b0]
call sub.MFC71.DLL_CAsyncSocket::Create
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4db630
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x394
mov eax, dword [0x540cc0]
push edi
mov dword [esp + 0x394], eax
lea eax, [esp + 0x204]
push eax
push 0x101
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4db70b
mov ax, word [esp + 0x204]
cmp al, 1
jne 0x4db705
cmp ah, al
jne 0x4db705
push 0x200
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 4]
push 0x5c
push edx
call dword [sym.imp.MSVCR71.dll_strrchr]
add esp, 8
test eax, eax
je 0x4db6ec
push esi
mov byte [eax + 1], 0
lea eax, [esp + 8]
lea esi, [edi + 0x40]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.Downloads_
mov ecx, esi
call dword [0x502ce4]
lea ecx, [esp + 8]
lea esi, [edi + 0x5c]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x520198
mov ecx, esi
call dword [0x502ce4]
lea edx, [esp + 8]
push edx
lea ecx, [edi + 0x78]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x390]
call fcn.004f2f91
add esp, 0x394
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x394]
xor eax, eax
pop edi
call fcn.004f2f91
add esp, 0x394
ret
Function at 0x4dd560
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4feb03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebx + 0x24]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
je 0x4dd596
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
push 0x4a4
mov byte [ebp - 4], 1
call sub.MFC71.DLL_operator_new_1
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
cmp ecx, edi
mov byte [ebp - 4], 2
je 0x4dd5ca
mov eax, dword [ebx + 0x20]
lea edx, [eax + 1]
push eax
mov dword [ebx + 0x20], edx
call fcn.004dd9d0
mov esi, eax
jmp 0x4dd5cc
xor esi, esi
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebx + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
call fcn.004dcee0
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edx
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
push edi
push eax
push ebx
mov ecx, esi
call fcn.004deec0
push 1
mov ecx, esi
call fcn.004dddf0
mov esi, dword [esi]
push edi
push 4
push edi
push edi
call fcn.004e0eb0
push eax
call sub.MFC71.DLL_AfxBeginThread_1
push 0x1e
mov edi, eax
push esi
push ebx
mov ecx, edi
call fcn.004e1320
mov ecx, dword [edi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4dd636
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ddb40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4febdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x540cc0]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x478]
mov ecx, edi
mov dword [esp + 0x11c], eax
mov dword [esp + 0xc], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
test eax, eax
je 0x4ddb94
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
jmp 0x4ddd37
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x14]
push eax
call fcn.004db780
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddbd0
sub eax, edx
mov edx, 0x103
sub edx, eax
cmp edx, 1
jbe 0x4ddbec
mov ecx, 1
jmp 0x4ddc03
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddbf3
sub eax, edx
mov ecx, 0x103
sub ecx, eax
mov edi, dword [sym.imp.MSVCR71.dll_strncat]
push ecx
lea eax, [esp + 0x14]
push 0x5201f4
push eax
call edi
mov eax, dword [esi + 0x464]
add esp, 0xc
lea ecx, [eax + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x10]
mov dword [esp + 0x12c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddc45
sub eax, edx
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
mov ecx, 0x103
sub ecx, esi
cmp eax, ecx
jae 0x4ddc71
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
jmp 0x4ddc8a
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddc78
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x18]
push edx
call edi
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddca7
sub eax, edx
mov ecx, 0x103
sub ecx, eax
cmp ecx, 5
jbe 0x4ddcc3
mov ecx, 5
jmp 0x4ddce0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ddcd0
sub eax, edx
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x14]
push str..ISUP
push edx
call edi
add esp, 0xc
push 0x5201f4
push 0x5201f0
push 0x104
lea eax, [esp + 0x1c]
push eax
call fcn.004df310
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x520204
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
call fcn.004f2f91
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4de000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 2
push edi
jne 0x4de03d
mov ecx, dword [esi + 0x454]
test ecx, ecx
mov dword [esi + 8], 0xc
je 0x4de023
call fcn.004e9480
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0x488], eax
call edi
pop edi
mov dword [esi + 0x490], eax
pop esi
pop ecx
ret
cmp eax, 0xc
jne 0x4de11b
mov eax, dword [esi + 0x484]
cmp eax, 0xa
lea ecx, [eax + 1]
mov dword [esi + 0x484], ecx
jne 0x4de082
mov ecx, dword [esi + 0x480]
call fcn.004e09a0
mov ecx, esi
call fcn.004ddb40
mov ecx, dword [esi + 0x480]
push eax
call fcn.004e0a30
mov dword [esi + 0x484], 0
mov ecx, dword [esi + 0x454]
test ecx, ecx
je 0x4de091
call fcn.004e9ab0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0x488]
cmp eax, 0xc350
jbe 0x4de0ba
mov ecx, dword [esi + 0x454]
call fcn.004e9480
call ebx
mov dword [esi + 0x488], eax
mov eax, dword [esi + 0x498]
cmp eax, 5
lea edx, [eax + 1]
mov dword [esi + 0x498], edx
jne 0x4de11a
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x48c]
call ebx
mov ecx, eax
sub ecx, dword [esi + 0x490]
xor edx, edx
mov eax, edi
div ecx
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x4de0f9
fadd dword [0x520224]
fstp dword [esi + 0x494]
call ebx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x490], eax
mov dword [esi + 0x48c], edx
mov dword [esi + 0x498], 0
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x4de170
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 9
je 0x4de1b8
mov eax, dword [esi + 0x454]
test eax, eax
je 0x4de193
push 0x520228
push 5
push eax
call fcn.004e7ab0
add esp, 0xc
mov ecx, dword [esi + 0x480]
mov dword [esi + 8], 0xe
call fcn.004e09a0
mov ecx, esi
call fcn.004ddb40
mov ecx, dword [esi + 0x480]
push eax
call fcn.004e0a30
cmp dword [esi + 0x46c], 0xffffffff
je 0x4de1d0
mov eax, dword [esi + 0x468]
lea ecx, [esi + 0x468]
call dword [eax + 0x54]
mov ecx, esi
call fcn.004ddb40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop esi
ret

Function at 0x4de3c0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x520204
push esi
call fcn.004dde30
mov eax, dword [esi + 0x454]
add esp, 0xc
test eax, eax
mov edi, 0xe
mov dword [esi + 8], edi
je 0x4de400
push 0x520228
push 5
push eax
call fcn.004e7ab0
add esp, 0xc
mov ecx, dword [esi + 0x480]
mov dword [esi + 8], edi
call fcn.004e09a0
mov ecx, esi
call fcn.004ddb40
mov ecx, dword [esi + 0x480]
push eax
call fcn.004e0a30
mov eax, dword [esi + 0x468]
lea ecx, [esi + 0x468]
call dword [eax + 0x54]
pop edi
pop esi
ret 4
Function at 0x4ded50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4fede8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call dword [0x502480]
lea ebp, [esi + 4]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call dword [0x502480]
lea ecx, [esi + 8]
call dword [0x502480]
lea ecx, [esi + 0xc]
call dword [0x502480]
lea ecx, [esi + 0x10]
call dword [0x502480]
lea ecx, [esi + 0x14]
call dword [0x502480]
lea ecx, [esi + 0x18]
call dword [0x502480]
lea ecx, [esi + 0x2c]
call dword [0x502480]
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x1c], 7
call fcn.00408b00
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x3c], ebx
push 0x515c28
mov ecx, ebp
mov byte [esp + 0x20], 8
mov dword [esi + 0x20], ebx
mov word [esi + 0x1c], bx
mov dword [esi + 0x24], ebx
call dword [0x502590]
push 0x515c28
lea ecx, [esi + 8]
call dword [0x502590]
push 0x515c28
lea ecx, [esi + 0x10]
call dword [0x502590]
push 0x515c28
lea ecx, [esi + 0x14]
call dword [0x502590]
push 0x515c28
mov ecx, esi
call dword [0x502590]
push 0x515c28
lea ecx, [esi + 0x18]
call dword [0x502590]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x28], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4deec0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fee29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov eax, dword [0x540cc0]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x460]
test eax, eax
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x41c], esi
jne 0x4def31
push 0x40
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x418], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x4def22
mov ecx, eax
call fcn.004ded50
jmp 0x4def24
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x460], eax
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x460]
push edi
call fcn.004dd970
mov ecx, dword [esi + 0x460]
call fcn.004de440
mov eax, dword [esi + 0x464]
test eax, eax
jne 0x4def88
push 0x40
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x418], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x4def79
mov ecx, eax
call fcn.004ded50
jmp 0x4def7b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x464], eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x464]
push ebx
call fcn.004dd970
mov ecx, dword [esi + 0x464]
call fcn.004de440
push edi
mov edi, dword [sym.imp.MSVCR71.dll__snprintf]
push 0x520204
lea eax, [esi + 0x1c]
push 0x103
push eax
call edi
push ebx
push 0x520204
lea ecx, [esi + 0x120]
push 0x103
push ecx
call edi
mov eax, dword [esi + 0x460]
add esp, 0x20
lea ecx, [eax + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0x520204
lea edx, [esi + 0x349]
push 0x103
push edx
call edi
mov eax, dword [esi + 0x454]
mov edi, dword [ebp + 0x10]
add esp, 0x10
test eax, eax
mov dword [esi + 0x18], edi
jne 0x4df03d
push 0x8c4
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x418], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x4df02e
push esi
mov ecx, eax
call fcn.004e9e90
jmp 0x4df030
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x454], eax
mov ecx, dword [esi + 0x454]
push edi
push 0
push 0
push ebx
call fcn.004e9390
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x468]
push 0
lea edi, [esi + 0x468]
push 0x40
push ebx
mov ecx, edi
mov dword [ebp - 4], 3
call dword [eax + 0x28]
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esi + 0x454]
push eax
mov dword [esi + 0x14], eax
call fcn.004e7640
mov eax, dword [esi + 0x454]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x438], ecx
mov ecx, dword [esi + 0x480]
mov dword [esi + 8], 2
call fcn.004e09a0
mov ecx, esi
call fcn.004ddb40
mov ecx, dword [esi + 0x480]
push eax
call fcn.004e0a30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x488], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004f2f91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4df3f0
Capabilities:
Create directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x540cc0]
mov ecx, dword [esp + 0x110]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
mov dword [esp + 0x110], eax
mov al, byte [ecx]
test al, al
push esi
push edi
lea esi, [esp + 0x10]
je 0x4df46d
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, ecx
mov ecx, esi
sub edi, ecx
lea esp, [esp]
cmp al, 0x2f
je 0x4df438
cmp al, 0x5c
jne 0x4df45f
lea edx, [esp + 0x10]
cmp esi, edx
mov byte [esi], 0
jbe 0x4df449
cmp byte [esi - 1], 0x3a
je 0x4df45f
push 0
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jne 0x4df45f
call ebp
cmp eax, 0xb7
jne 0x4df479
mov cl, byte [edi + esi]
mov al, byte [edi + esi + 1]
mov byte [esi], cl
inc esi
test al, al
jne 0x4df430
push 0
lea edx, [esp + 0x14]
push edx
mov byte [esi], 0
call ebx
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004f2f91
add esp, 0x10c
ret 4
Function at 0x4e0a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC71.DLL_CFile::CFile
mov eax, dword [esp + 0x24]
push 0
push 0x3002
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC71.DLL_CFile::Open
test eax, eax
lea ecx, [esp + 4]
jne 0x4e0a9a
mov dword [esp + 0x1c], 0xffffffff
call fcn.004f234e
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esp + 4]
push 0
push 0
push 0
call dword [edx + 0x30]
mov eax, dword [esi + 0x114]
push 0x441
push eax
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::Write
lea ecx, [esp + 4]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004f234e
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4eac50
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], edi
xor edx, edx
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
sub edx, 0x61c88647
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x4eac86
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret

Function at 0x4eace0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x10], edi
mov edx, 0xc6ef3720
mov dword [esp + 0x24], esi
mov edi, 0x20
lea esp, [esp]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
sub ecx, esi
add edx, 0x61c88647
dec edi
jne 0x4ead20
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret

Function at 0x4eae50
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x5c], ecx
ret
Function at 0x4ed080
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x418], 2
jne 0x4ed15d
mov ecx, dword [esi + 0x468]
mov eax, dword [esi + 0x460]
mov edx, dword [esi + 0x494]
push edi
lea edi, [eax + ecx]
cmp edi, edx
jb 0x4ed15c
sub eax, edx
add eax, ecx
test eax, eax
mov dword [esp + 8], eax
fild dword [esp + 8]
jge 0x4ed0c7
fadd dword [0x520224]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
fstp dword [esp + 8]
call edi
sub eax, dword [esi + 0x498]
jne 0x4ed0eb
pop edi
mov dword [esi + 0x48c], 0
pop esi
add esp, 8
ret
push ebx
call edi
sub eax, dword [esi + 0x498]
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x4ed106
fadd dword [0x520224]
fdivr dword [esp + 0xc]
mov ebx, dword [esi + 0x468]
mov eax, dword [esi + 0x46c]
sub eax, ebx
test eax, eax
mov dword [esp + 0x10], eax
fst dword [esi + 0x48c]
fst dword [esi + 0x490]
fild dword [esp + 0x10]
jge 0x4ed136
fadd dword [0x520224]
fdiv st(1)
call fcn.004f2ff8
fstp st(0)
mov ecx, dword [esi + 0x460]
add ecx, ebx
mov dword [esi + 0x49c], eax
mov dword [esi + 0x494], ecx
call edi
mov dword [esi + 0x498], eax
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x4eeea0
Capabilities:
Enumerate internet cache

Disassembly:
sub esp, 0x460
mov eax, dword [0x540cc0]
push ebp
mov dword [esp + 0x460], eax
lea eax, [esp + 4]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x5214e8
mov dword [esp + 0x10], 0x450
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebp, eax
test ebp, ebp
jne 0x4eeef0
pop ebp
mov ecx, dword [esp + 0x45c]
call fcn.004f2f91
add esp, 0x460
ret 4
push edi
mov edi, dword [esp + 0x46c]
push ebx
push esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x20]
mov dl, byte [ecx]
xor eax, eax
test dl, dl
mov esi, ecx
je 0x4eef27
mov edi, edi
cmp byte [eax + ecx], 0x2f
jne 0x4eef1e
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx + 1]
inc eax
test dl, dl
jne 0x4eef10
mov al, byte [esi]
cmp al, 0x40
je 0x4eef43
lea ecx, [ecx]
test al, al
je 0x4eef3e
mov al, byte [esi + 1]
inc esi
cmp al, 0x40
jne 0x4eef30
jmp 0x4eef43
cmp byte [esi], 0x40
jne 0x4eef6e
push edi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0
inc esi
push esi
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp eax, 0xffffffff
lea ecx, [esp + 0x14]
setne bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
jne 0x4eefaa
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x1c], 0x450
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x4eef00
xor eax, eax
mov ecx, dword [esp + 0x46c]
pop esi
pop ebx
pop edi
pop ebp
call fcn.004f2f91
add esp, 0x460
ret 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4eef8f
mov esi, dword [esp + 0x18]
add esi, 8
push eax
mov ecx, esi
call dword [0x502590]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
jmp 0x4eef91