joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c040
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4761dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov eax, dword [0x4cb030]
push ebp
mov dword [esp + 8], ecx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x1e0], eax
call dword [0x47f138]
mov eax, dword [str.cFileList.bin]
xor ebp, ebp
push eax
mov ecx, 0x4db7c0
mov dword [esp + 0x1f0], ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x10]
push 0x4807c8
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0x4807c4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x40c0d5
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c1fd
push ebx
lea ecx, [esp + 0x14]
call fcn.00407870
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 1
lea edx, [esp + 0x1c]
push 0xc4
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40c117
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c1fc
mov eax, dword [esp + 0xd4]
dec eax
push edi
je 0x40c149
dec eax
je 0x40c142
push ebp
push ebp
push str._ERROR_:Filelist_is_different_
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c1fb
mov edi, 0xe8
jmp 0x40c14e
mov edi, 0xc4
push 1
lea eax, [edi - 0xc4]
push eax
push esi
call dword [sym.imp.MSVCR71.dll_fseek]
add esp, 0xc
test eax, eax
push esi
jne 0x40c179
push 1
lea ecx, [esp + 0x20]
push edi
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40c190
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c1fb
cmp dword [esp + 0xd8], ebp
jle 0x40c1e2
lea esp, [esp]
lea ecx, [esp + 0x100]
call fcn.00407870
push esi
push 1
lea edx, [esp + 0x108]
push edi
push edx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x40c178
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
add ecx, 0x6c
call fcn.0040d7d0
mov eax, dword [esp + 0xd8]
inc ebp
cmp ebp, eax
jl 0x40c1a0
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x1e4]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1dc]
pop ebp
call fcn.00462cf9
add esp, 0x1e8
ret
Function at 0x40c7d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47629c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [0x4cb030]
push ebp
mov dword [esp + 0xc], ecx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xfc], eax
call dword [0x47f138]
mov eax, dword [str.FileList.bin]
xor ebp, ebp
push eax
mov ecx, 0x4db7c0
mov dword [esp + 0x10c], ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x10]
push 0x4807c8
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0x4807c4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x40c865
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c997
push ebx
lea ecx, [esp + 0x18]
call fcn.00407870
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 1
lea edx, [esp + 0x20]
push 0xc4
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40c8a7
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c996
mov eax, dword [esp + 0xd8]
dec eax
push edi
je 0x40c8d9
dec eax
je 0x40c8d2
push ebp
push ebp
push str._ERROR_:Filelist_is_different_
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c995
mov edi, 0xe8
jmp 0x40c8de
mov edi, 0xc4
push 1
lea eax, [edi - 0xc4]
push eax
push esi
call dword [sym.imp.MSVCR71.dll_fseek]
add esp, 0xc
test eax, eax
push esi
jne 0x40c909
push 1
lea ecx, [esp + 0x24]
push edi
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40c920
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x40c995
mov eax, dword [esp + 0xdc]
test eax, eax
jle 0x40c97c
jmp 0x40c930
push 0xe8
call sub.MFC71.DLL_operator_new_1
add esp, 4
test eax, eax
je 0x40c94a
mov ecx, eax
call fcn.00407870
jmp 0x40c94c
xor eax, eax
push esi
push 1
push edi
push eax
mov dword [esp + 0x24], eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x40c908
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
add ecx, 0x5c
call fcn.00409010
mov eax, dword [esp + 0xdc]
inc ebp
cmp ebp, eax
jl 0x40c930
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x100]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf8]
pop ebp
call fcn.00462cf9
add esp, 0x104
ret
Function at 0x40dd70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4763c9
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x30]
add ecx, 0x108
push ecx
push eax
sub esp, 0x1c
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.0043f370
add esp, 0x24
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x20
Function at 0x40f440
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x4b0]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x488], 8
jb 0x40f4e5
mov eax, dword [esi + 0x484]
mov ebx, dword [eax]
push 0
push ebx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f498
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
push ebp
je 0x40f4e6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp edi, ebx
jne 0x40f4d8
mov ecx, dword [esi + 0x488]
mov eax, dword [esi + 0x484]
sub ecx, edi
push ecx
lea edx, [eax + edi]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [esi + 0x488]
add esp, 0xc
sub eax, edi
push ebp
mov dword [esi + 0x488], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov eax, dword [esi + 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x40fbd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00462d10
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3ff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x1000
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fc46
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8ca
cmp eax, 0x16
ja case.0x40fc2e.10039
movzx edx, byte [eax + 0x40fc88]
jmp dword [edx*4 + 0x40fc80]
mov ecx, ebx
call fcn.0040fab0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je case.0x40fc2e.10038
jl 0x40fc71
mov ecx, dword [ebx + 0x48c]
call fcn.004120f0
add eax, esi
cmp eax, 0x4000
jge 0x40fc71
mov ecx, dword [ebx + 0x48c]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00411fa0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410300
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x410080
push 0
push 0
mov dword [esp + 0x1c], 0x65
call dword [sym.imp.MSVCR71.dll__beginthreadex]
mov dword [esi + 0x4a0], eax
add esp, 0x18
neg eax
sbb eax, eax
and eax, 9
add eax, 0xfffffff8
pop esi
pop ecx
ret
Function at 0x410a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47662a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
push 1
push str.Ran_Patch_GetFile2
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call sub.MFC71.DLL_CInternetSession::CInternetSession
mov eax, dword [ebp + 8]
push 0
push 0
push 0x4000002
push 1
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
call sub.MFC71.DLL_CInternetSession::OpenURL
push 0
mov esi, eax
push 0x80
mov byte [ebp - 0x438], 0
xor eax, eax
mov ecx, 0xff
lea edi, [ebp - 0x437]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
push 2
push 0
push 0
stosw word es:[edi], ax
push 0x40000000
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x11c]
test eax, eax
je 0x410ada
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [esi]
push 0x400
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edi, eax
nop
test edi, edi
jbe 0x410b53
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x410b03
cmp dword [eax], 0
jne 0x410b53
mov eax, dword [ebx + 0x11c]
test eax, eax
je 0x410b1c
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add edx, edi
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x20]
push ecx
push edi
lea edx, [ebp - 0x438]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi]
push 0x400
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
call dword [edx + 0x3c]
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410af0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00462bac
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4110f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47668d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], esi
call dword [0x47f138]
lea eax, [esp + 0xc]
push eax
push 0x48218c
lea ecx, [esp + 0x18]
push ecx
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
mov dword [esp + 0x18], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x4807da
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4111cd
mov edi, edi
push str.Content_Length:
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x4111f6
lea edx, [esp + 0xc]
push edx
push 0x48218c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x4807da
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x411170
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
lea ecx, [esp + 0xc]
push ecx
push 0x48218c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.MSVCR71.dll_atol]
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x411590
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
add esp, 0x190
ret

Function at 0x412640
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
cmp ebx, 2
jae 0x412657
or eax, 0xffffffff
pop ebx
add esp, 8
ret 0xc
test ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, dword [edi + ebx*4 - 4]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
jge 0x412673
fadd dword [0x47ffe0]
fdivr dword [0x482730]
sub esp, 8
fadd dword [0x4a4db0]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
add esp, 8
call fcn.004631a4
xor ecx, ecx
test eax, eax
jbe 0x41276c
mov dword [esp + 0x10], eax
push ebp
sub ecx, 0x61c88647
mov eax, ecx
shr eax, 2
and eax, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
lea ecx, [ebx - 1]
xor eax, eax
test ecx, ecx
jbe 0x412716
mov ecx, dword [edi + eax*4 + 4]
mov ebx, esi
shr ebx, 5
lea edx, [ecx*4]
xor edx, ebx
mov ebp, esi
shl ebp, 4
mov ebx, ecx
shr ebx, 3
xor ebx, ebp
mov ebp, dword [esp + 0x1c]
add edx, ebx
mov ebx, eax
and ebx, 3
xor ebx, ebp
mov ebp, dword [esp + 0x24]
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [edi + eax*4]
xor ebx, esi
mov esi, dword [esp + 0x10]
xor esi, ecx
add ebx, esi
xor edx, ebx
mov ebx, dword [esp + 0x20]
add ebp, edx
mov dword [edi + eax*4], ebp
inc eax
lea ecx, [ebx - 1]
cmp eax, ecx
mov esi, ebp
jb 0x4126c1
mov ecx, dword [edi]
mov ebp, esi
shr ebp, 5
lea edx, [ecx*4]
xor edx, ebp
mov ebp, esi
shr ecx, 3
shl ebp, 4
xor ecx, ebp
mov ebp, dword [esp + 0x1c]
and eax, 3
xor eax, ebp
mov ebp, dword [edi]
add edx, ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x10]
xor eax, esi
mov esi, ecx
xor esi, ebp
add eax, esi
mov esi, dword [edi + ebx*4 - 4]
xor edx, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi + ebx*4 - 4], esi
mov dword [esp + 0x14], eax
jne 0x4126a2
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
Function at 0x4161d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4dba08]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x4161fe
mov ecx, dword [0x4db9fc]
xor eax, eax
cmp ecx, ebx
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, 2
sete cl
push str.USER32
mov dword [0x4dba0c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x4162d3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x482a68
push esi
call edi
cmp eax, ebx
mov dword [0x4db9ec], eax
je 0x4162d3
push str.MonitorFromWindow
push esi
call edi
cmp eax, ebx
mov dword [0x4db9f0], eax
je 0x4162d3
push str.MonitorFromRect
push esi
call edi
cmp eax, ebx
mov dword [0x4db9f4], eax
je 0x4162d3
push str.MonitorFromPoint
push esi
call edi
cmp eax, ebx
mov dword [0x4db9f8], eax
je 0x4162d3
push str.EnumDisplayMonitors
push esi
call edi
cmp eax, ebx
mov dword [0x4dba00], eax
je 0x4162d3
push str.GetMonitorInfoA
push esi
call edi
cmp eax, ebx
mov dword [0x4db9fc], eax
je 0x4162d3
push str.EnumDisplayDevicesA
push esi
call edi
cmp eax, ebx
mov dword [0x4dba04], eax
je 0x4162d3
mov eax, 1
mov dword [0x4dba08], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x4db9ec], ebx
mov dword [0x4db9f0], ebx
mov dword [0x4db9f4], ebx
mov dword [0x4db9f8], ebx
mov dword [0x4db9fc], ebx
mov dword [0x4dba00], ebx
mov dword [0x4dba04], ebx
mov dword [0x4dba08], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416c70
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0xbc
push ebx
mov ebx, dword [esp + 0xc4]
push esi
push ebx
call fcn.00417280
mov ecx, eax
call fcn.00416710
test bl, bl
je 0x416d32
lea eax, [esp + 8]
push eax
call fcn.00417280
mov ecx, eax
call fcn.00416790
lea ecx, [esp + 0x10]
push ecx
call fcn.00417280
mov ecx, eax
call fcn.004167e0
lea edx, [esp + 0x18]
push edx
call fcn.00417280
mov ecx, eax
call fcn.00416830
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x3b
call esi
push 0
lea ecx, [esp + 0x14]
push ecx
push 8
push 0x35
call esi
push 0
lea edx, [esp + 0x1c]
push edx
push 0x18
push 0x33
call esi
call fcn.00417280
mov ecx, eax
call fcn.004166d0
test eax, eax
je 0x416e1f
call fcn.00417280
mov ecx, eax
call fcn.004166d0
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0
call fcn.00417280
mov ecx, eax
call fcn.00416690
pop esi
pop ebx
add esp, 0xbc
ret
call fcn.00417280
mov ecx, eax
call fcn.004166d0
test eax, eax
jne 0x416d88
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x40], 2
jne 0x416d88
cmp dword [esp + 0x34], 4
jbe 0x416d88
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x416be0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
call fcn.00417280
mov ecx, eax
call fcn.00416690
lea ecx, [esp + 0x10]
push ecx
call fcn.00417280
mov ecx, eax
call fcn.00416790
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov bl, 1
test bl, al
jne 0x416dc1
mov edx, dword [esp + 0x14]
and edx, 0xfffffff3
push 0
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
push edx
push 8
push 0x3b
call esi
lea eax, [esp + 8]
push eax
call fcn.00417280
mov ecx, eax
call fcn.004167e0
test byte [esp + 0xc], bl
jne 0x416df0
mov ecx, dword [esp + 0xc]
and ecx, 0xfffffff3
push 0
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xc]
push ecx
push 8
push 0x35
call esi
lea edx, [esp + 0x18]
push edx
call fcn.00417280
mov ecx, eax
call fcn.00416830
test byte [esp + 0x1c], bl
jne 0x416e1f
mov eax, dword [esp + 0x1c]
and eax, 0xfffffff3
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push 0x33
call esi
pop esi
pop ebx
add esp, 0xbc
ret
Function at 0x417730
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476ab9
push eax
mov eax, dword [0x4c1e68]
mov dword fs:[0], esp
sub esp, 0x58
push ebx
xor ebx, ebx
cmp eax, 0x4c1e70
mov dword [0x4c1e7c], eax
je 0x41777d
cmp eax, 0x4c1e64
je 0x41777d
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x417778
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [0x4c1e7c]
add esp, 4
mov eax, dword [eax + 4]
jmp 0x417750
mov ecx, 0x4c1e60
call fcn.00417470
cmp byte [0x4dc709], bl
je 0x41782f
cmp byte [0x4dc708], bl
je 0x41782f
push esi
push edi
lea ecx, [esp + 0xc]
call dword [0x47f138]
mov eax, dword [0x4dc770]
push eax
lea ecx, [esp + 0x10]
push str.notepad__s
push ecx
mov dword [esp + 0x78], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push 0x4dc600
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x41b3d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push 1
lea ebx, [edi + 4]
push 0x114
push ebx
call ebp
mov ecx, dword [esp + 0x24]
add edi, 8
push edi
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x18
test eax, eax
je 0x41b44f
jmp 0x41b410
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x114]
test eax, eax
mov byte [edi], 0
je 0x41b45b
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
mov ecx, dword [esi + 4]
push ecx
push 1
push 0x114
push ebx
call ebp
mov edx, dword [esp + 0x30]
push edi
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x24
test eax, eax
jne 0x41b410
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x41be00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
call fcn.0041b8e0
mov eax, dword [esp + 0x20]
push 0x483acc
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [ebx + 4], eax
je 0x41be64
push esi
push edi
push eax
push 1
lea ecx, [esp + 0x14]
push 0x15
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
mov edi, str.RANPACKAGEFILESYSTEM
lea esi, [esp + 0xc]
mov ecx, 0x15
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x41be6d
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
pop ebx
add esp, 0x18
ret 4
push 0x47fb30
mov ecx, ebx
call fcn.0041bad0
mov eax, 1
pop ebx
add esp, 0x18
ret 4