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

Disassembly:
push 0xffffffffffffffff
push 0x4763cd
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 [0x47e138]
lea eax, [esp + 0xc]
push eax
push 0x481174
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 0x47f7ba
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4111fd
mov edi, edi
push str.Content_Length:
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x411226
lea edx, [esp + 0xc]
push edx
push 0x481174
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 0x47f7ba
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4111a0
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 0x481174
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 0x4115c0
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 0x412670
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
cmp ebx, 2
jae 0x412687
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 0x4126a3
fadd dword [0x47efc8]
fdivr dword [0x481718]
sub esp, 8
fadd dword [0x4a3d38]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
add esp, 8
call fcn.00462ed4
xor ecx, ecx
test eax, eax
jbe 0x41279c
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 0x412746
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 0x4126f1
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 0x4126d2
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
Function at 0x4162e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4da9e8]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x41630e
mov ecx, dword [0x4da9dc]
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 [0x4da9ec], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x4163e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x481a3c
push esi
call edi
cmp eax, ebx
mov dword [0x4da9cc], eax
je 0x4163e3
push str.MonitorFromWindow
push esi
call edi
cmp eax, ebx
mov dword [0x4da9d0], eax
je 0x4163e3
push str.MonitorFromRect
push esi
call edi
cmp eax, ebx
mov dword [0x4da9d4], eax
je 0x4163e3
push str.MonitorFromPoint
push esi
call edi
cmp eax, ebx
mov dword [0x4da9d8], eax
je 0x4163e3
push str.EnumDisplayMonitors
push esi
call edi
cmp eax, ebx
mov dword [0x4da9e0], eax
je 0x4163e3
push str.GetMonitorInfoA
push esi
call edi
cmp eax, ebx
mov dword [0x4da9dc], eax
je 0x4163e3
push str.EnumDisplayDevicesA
push esi
call edi
cmp eax, ebx
mov dword [0x4da9e4], eax
je 0x4163e3
mov eax, 1
mov dword [0x4da9e8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x4da9cc], ebx
mov dword [0x4da9d0], ebx
mov dword [0x4da9d4], ebx
mov dword [0x4da9d8], ebx
mov dword [0x4da9dc], ebx
mov dword [0x4da9e0], ebx
mov dword [0x4da9e4], ebx
mov dword [0x4da9e8], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416d80
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0xbc
push ebx
mov ebx, dword [esp + 0xc4]
push esi
push ebx
call fcn.00417390
mov ecx, eax
call fcn.00416820
test bl, bl
je 0x416e42
lea eax, [esp + 8]
push eax
call fcn.00417390
mov ecx, eax
call fcn.004168a0
lea ecx, [esp + 0x10]
push ecx
call fcn.00417390
mov ecx, eax
call fcn.004168f0
lea edx, [esp + 0x18]
push edx
call fcn.00417390
mov ecx, eax
call fcn.00416940
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.00417390
mov ecx, eax
call fcn.004167e0
test eax, eax
je 0x416f2f
call fcn.00417390
mov ecx, eax
call fcn.004167e0
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0
call fcn.00417390
mov ecx, eax
call fcn.004167a0
pop esi
pop ebx
add esp, 0xbc
ret
call fcn.00417390
mov ecx, eax
call fcn.004167e0
test eax, eax
jne 0x416e98
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x40], 2
jne 0x416e98
cmp dword [esp + 0x34], 4
jbe 0x416e98
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x416cf0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
call fcn.00417390
mov ecx, eax
call fcn.004167a0
lea ecx, [esp + 0x10]
push ecx
call fcn.00417390
mov ecx, eax
call fcn.004168a0
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov bl, 1
test bl, al
jne 0x416ed1
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.00417390
mov ecx, eax
call fcn.004168f0
test byte [esp + 0xc], bl
jne 0x416f00
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.00417390
mov ecx, eax
call fcn.00416940
test byte [esp + 0x1c], bl
jne 0x416f2f
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 0x417810
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4767f9
push eax
mov eax, dword [0x4c0e50]
mov dword fs:[0], esp
sub esp, 0x58
push ebx
xor ebx, ebx
cmp eax, 0x4c0e58
mov dword [0x4c0e64], eax
je 0x41785d
cmp eax, 0x4c0e4c
je 0x41785d
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x417858
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [0x4c0e64]
add esp, 4
mov eax, dword [eax + 4]
jmp 0x417830
mov ecx, 0x4c0e48
call fcn.00406170
cmp byte [0x4db6e9], bl
je 0x41790f
cmp byte [0x4db6e8], bl
je 0x41790f
push esi
push edi
lea ecx, [esp + 0xc]
call dword [0x47e138]
mov eax, dword [0x4db708]
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 0x4db5e0
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 0x41b210
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 0x41b28f
jmp 0x41b250
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x114]
test eax, eax
mov byte [edi], 0
je 0x41b29b
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 0x41b250
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 0x41bc40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
call fcn.0041b720
mov eax, dword [esp + 0x20]
push 0x482a48
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [ebx + 4], eax
je 0x41bca4
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 0x41bcad
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 0x47eb20
mov ecx, ebx
call fcn.0041b910
mov eax, 1
pop ebx
add esp, 0x18
ret 4
Function at 0x41bcd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x310
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x41bcec
xor eax, eax
pop esi
add esp, 0x310
ret 4
lea eax, [esp + 0x110]
lea edx, [esi + 0x13c]
mov ecx, eax
push edi
mov edi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x41bd12
mov byte [eax], cl
inc eax
dec edi
jne 0x41bd03
jmp 0x41bd16
test edi, edi
jne 0x41bd17
dec eax
mov edi, dword [esp + 0x31c]
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [eax], 0
call fcn.0041b440
mov al, byte [esp + 0x10]
test al, al
je 0x41bd42
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041b910
push ebx
push edi
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.0041b390
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x41bd87
mov ebx, dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 1
jne 0x41bd80
add eax, 8
push eax
lea edx, [esp + 0x220]
push edx
call ebx
add esp, 8
test eax, eax
je 0x41bd87
mov edi, dword [edi]
cmp edi, dword [esi + 0xc]
jne 0x41bd62
cmp edi, dword [esi + 0xc]
jne 0x41bd9a
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x118]
mov edx, dword [esi + 4]
push ebp
push 0
add ecx, 0x114
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [edi + 8]
mov ebx, dword [eax + 0x108]
push ebx
call sub.MFC71.DLL_operator_new
mov ecx, dword [esi + 4]
push ecx
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.MSVCR71.dll_fread]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10c]
push eax
mov dword [esp + 0x38], eax
call sub.MFC71.DLL_operator_new
add esp, 0x24
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00463390
test eax, eax
push ebp
je 0x41be23
call sub.MFC71.DLL_operator_delete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC71.DLL_operator_delete
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
call sub.MFC71.DLL_operator_delete
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov edi, dword [edi + 8]
add esp, 4
add edi, 8
mov edx, 0x100
lea eax, [esi + 0x1c]
mov cl, byte [edi]
test cl, cl
je 0x41be53
mov byte [eax], cl
inc eax
inc edi
dec edx
jne 0x41be42
xor ecx, ecx
jmp 0x41be59
xor ecx, ecx
cmp edx, ecx
jne 0x41be5a
dec eax
mov edx, dword [esp + 0x10]
mov byte [eax], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x120], eax
mov dword [esi + 0x134], eax
mov al, byte [esp + 0x18]
test al, al
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ecx
mov dword [esi + 0x128], ecx
mov dword [esi + 0x130], edx
mov dword [esi + 0x138], ecx
je 0x41bea6
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.0041b910
pop ebp
pop ebx
pop edi
lea eax, [esi + 0x14]
pop esi
add esp, 0x310
ret 4
Function at 0x41bf60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47695c
mov eax, dword fs:[0]
push eax
mov eax, 0x3f0c
mov dword fs:[0], esp
call fcn.00462a40
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call dword [0x47e138]
push 0x100
mov dword [esp + 0x3f28], esi
call sub.MFC71.DLL_operator_new
mov edi, eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x41bfed
lea eax, [esp + 0x18]
push eax
call fcn.004226c0
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
add esp, 4
push eax
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004228b0
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00422950
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c096
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c018
mov esi, dword [esp + 0x3f2c]
push 0x47f7ba
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c11b
lea edx, [esp + 0x18]
push edx
call fcn.004226c0
mov eax, dword [ebp + 8]
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0xc
mov edi, eax
lea esp, [esp]
push edi
push 0x3e80
lea eax, [esp + 0xa4]
push 1
push eax
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c071
push esi
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004228b0
add esp, 0xc
cmp esi, 0x3e80
je 0x41c040
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00422950
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
movzx eax, byte [esi + edi]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call ebp
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c0c0
sub eax, edx
cmp eax, 1
jne 0x41c0e0
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], 0
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call dword [0x47e378]
inc esi
cmp esi, 0x20
jl 0x41c0a1
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov esi, dword [esp + 0x3f2c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3f1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3f18
ret 4
Function at 0x41c150
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4769a7
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00462a40
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call dword [0x47e138]
mov esi, 1
push 0x100
mov dword [esp + 0x3f00], esi
call sub.MFC71.DLL_operator_new
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ebp
call fcn.00422d20
cmp dword [edi + 0x14], esi
mov ebx, 2
mov byte [esp + 0x3efc], bl
jne 0x41c1ee
lea ecx, [esp + 0x1c]
call fcn.00422a90
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push eax
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x24]
call fcn.00422ac0
push 0x10
push ebp
lea ecx, [esp + 0x24]
call fcn.00422c70
cmp dword [edi + 0x14], ebx
jne 0x41c28d
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x41c21a
mov esi, dword [esp + 0x3f04]
push 0x47f7ba
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c313
lea ecx, [esp + 0x1c]
call fcn.00422a90
mov eax, dword [edi + 8]
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
add esp, 8
mov ebp, eax
lea ecx, [ecx]
push ebp
push 0x3e80
lea edx, [esp + 0x7c]
push 1
push edx
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c267
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.00422ac0
cmp esi, 0x3e80
je 0x41c240
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
add esp, 4
push 0x10
push ecx
lea ecx, [esp + 0x24]
call fcn.00422c70
mov ebp, dword [esp + 0x10]
lea ebx, [edi + 0x1c]
mov edi, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c2a0
movzx eax, byte [esi + ebp]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call edi
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c2b8
sub eax, edx
cmp eax, 1
jne 0x41c2d8
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], 0
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call dword [0x47e378]
inc esi
cmp esi, 0x10
jl 0x41c2a0
push ebp
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov esi, dword [esp + 0x3f04]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3efc], 1
mov dword [esp + 0x18], 1
call fcn.00422d60
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3ef4]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ef0
ret 4
Function at 0x41c360
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4769cc
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee0
mov dword fs:[0], esp
call fcn.00462a40
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call dword [0x47e138]
push 0x100
mov dword [esp + 0x3efc], esi
call sub.MFC71.DLL_operator_new
mov edi, eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x41c3ed
lea eax, [esp + 0x18]
push eax
call fcn.00422df0
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
add esp, 4
push eax
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00423470
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00423530
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c490
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c418
mov esi, dword [esp + 0x3f00]
push 0x47f7ba
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c513
lea edx, [esp + 0x18]
push edx
call fcn.00422df0
mov eax, dword [ebp + 8]
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0xc
mov edi, eax
lea esp, [esp]
push edi
push 0x3e80
lea eax, [esp + 0x78]
push 1
push eax
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c46b
push esi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00423470
add esp, 0xc
cmp esi, 0x3e80
je 0x41c440
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00423530
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c4a0
movzx eax, byte [esi + edi]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call ebp
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c4b8
sub eax, edx
cmp eax, 1
jne 0x41c4d8
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], 0
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call dword [0x47e378]
inc esi
cmp esi, 0x10
jl 0x41c4a0
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov esi, dword [esp + 0x3f00]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3ef0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3eec
ret 4