joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4389c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4820c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x24]
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
mov ebp, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [edi + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], ebp
call fcn.00438040
mov ebx, dword [eax]
cmp ebx, dword [edi + 0x10]
je 0x438a76
mov eax, dword [ebx + 0x14]
cmp eax, ebp
jge 0x438a24
mov ebp, eax
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x438a4b
lea ecx, [ecx]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.004389c0
mov esi, dword [esi]
cmp esi, dword [ebx + 0x1c]
jne 0x438a30
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push eax
mov dword [edx], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x30]
push esi
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x43a040
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48223a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi + 0x24]
push edi
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
je 0x43a10c
mov edi, dword [eax + 0xc]
push 0x488000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2c], 1
call fcn.00405620
add esp, 4
mov ebp, eax
push edi
mov byte [esp + 0x2c], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._sDownloads_d__ld.ini
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x14
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call fcn.00461b50
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 4]
jne 0x43a083
mov eax, dword [esi + 4]
mov ebp, dword [eax + 4]
cmp byte [ebp + 0x15], bl
mov edi, ebp
jne 0x43a13f
lea esp, [esp]
mov ecx, dword [edi + 8]
push ecx
mov ecx, esi
call fcn.00437b70
mov edi, dword [edi]
push ebp
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov al, byte [edi + 0x15]
add esp, 4
cmp al, bl
mov ebp, edi
je 0x43a120
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.00439b90
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov ecx, dword [esi + 0x1c]
mov ebp, dword [ecx + 4]
mov al, byte [ebp + 0x29]
add esi, 0x18
cmp al, bl
mov edi, ebp
jne 0x43a1af
lea ebx, [ebx]
mov edx, dword [edi + 8]
push edx
mov ecx, esi
call fcn.00437bb0
mov edi, dword [edi]
push ebp
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov al, byte [edi + 0x29]
add esp, 4
cmp al, bl
mov ebp, edi
je 0x43a190
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
push eax
mov dword [esi + 8], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x43abe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x940
mov eax, dword [0x4ac3b8]
push ebx
push esi
lea esi, [ecx + 4]
push edi
mov ecx, esi
mov dword [esp + 0x944], eax
call fcn.00448180
test eax, eax
jne 0x43ac37
push 0x2711
push str.websystem.kele55.com
mov ecx, esi
call fcn.00447f70
test eax, eax
je 0x43ad80
lea ecx, [esp + 0x18]
call fcn.0044e000
mov eax, 1
xor ebx, ebx
lea ecx, [esp + 0x10]
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov byte [esp + 0x1c], al
mov word [esp + 0x1e], ax
mov word [esp + 0x20], bx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
xor eax, eax
mov word [esp + 0x40], bx
mov ecx, 0x3f
lea edi, [esp + 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x958], ebx
call fcn.00405620
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push 0x4887ac
push edx
mov byte [esp + 0x964], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x954], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x80
lea eax, [esp + 0x48]
push eax
push 0x4887a8
push str.Login
push str.Time
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x144], bl
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
add esp, 4
push 1
mov dword [esp + 0x30], edx
stosw word es:[edi], ax
push 0x800
lea edx, [esp + 0x148]
push edx
lea ecx, [esp + 0x3c]
stosb byte es:[edi], al
call fcn.00449b40
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x958], 2
call fcn.0044e1a0
test eax, eax
lea ecx, [esp + 0x30]
je 0x43ad6a
call fcn.00449b60
cmp eax, ebx
jle 0x43ad66
push eax
lea ecx, [esp + 0x144]
push ecx
mov ecx, esi
call fcn.004482f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x954], bl
call fcn.00402410
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x94c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x944]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43adb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x940
mov eax, dword [0x4ac3b8]
push ebx
push esi
lea esi, [ecx + 4]
push edi
mov ecx, esi
mov dword [esp + 0x944], eax
call fcn.00448180
test eax, eax
jne 0x43ae07
push 0x2711
push str.websystem.kele55.com
mov ecx, esi
call fcn.00447f70
test eax, eax
je 0x43af52
lea ecx, [esp + 0x18]
call fcn.0044e000
mov eax, 1
xor ebx, ebx
lea ecx, [esp + 0x10]
mov word [esp + 0x18], 2
mov word [esp + 0x1a], ax
mov byte [esp + 0x1c], al
mov word [esp + 0x1e], ax
mov word [esp + 0x20], bx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
xor eax, eax
mov word [esp + 0x40], bx
mov ecx, 0x3f
lea edi, [esp + 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x958], ebx
call fcn.00405620
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push 0x4887ac
push edx
mov byte [esp + 0x964], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x954], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x80
lea eax, [esp + 0x48]
push eax
push 0x4887a8
push str.Bottom
push str.Time
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x144], bl
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
add esp, 4
push 1
mov dword [esp + 0x30], edx
stosw word es:[edi], ax
push 0x800
lea edx, [esp + 0x148]
push edx
lea ecx, [esp + 0x3c]
stosb byte es:[edi], al
call fcn.00449b40
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x958], 2
call fcn.0044e1a0
test eax, eax
lea ecx, [esp + 0x30]
je 0x43af3c
call fcn.00449b60
cmp eax, ebx
jle 0x43af38
push eax
lea ecx, [esp + 0x144]
push ecx
mov ecx, esi
call fcn.004482f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x954], bl
call fcn.00402410
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x94c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x944]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43af80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482392
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
push esi
push edi
je 0x43b047
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x43b047
call fcn.004460a0
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], 0
call fcn.00405620
add esp, 4
mov edi, eax
push str.HTMLNotice
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00444770
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._sdataHTML_I64d_s.html
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x43b03d
push esi
push ebx
push 1
push ebp
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, ebx
je 0x43b05e
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43b090
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482392
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
push esi
push edi
je 0x43b141
mov edi, dword [esp + 0x20]
test edi, edi
jle 0x43b141
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x18], 0
call fcn.00405620
mov ecx, dword [eax]
push str.login
push ecx
lea edx, [esp + 0x28]
push str._s_skin_s.gif
push edx
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x14
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x43b137
push esi
push edi
push 1
push ebx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, edi
je 0x43b157
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43d090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.0043c3f0
mov ecx, dword [edi + 4]
cmp eax, ecx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], eax
je 0x43d0f9
cmp ebx, dword [eax + 0x14]
jl 0x43d0f9
jg 0x43d0f3
cmp ebp, dword [eax + 0x10]
jb 0x43d0f9
lea eax, [esp + 0x18]
jmp 0x43d101
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, ecx
jne 0x43d129
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x43d17a
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
lea ebx, [ebx]
cmp dword [eax + 8], edi
jne 0x43d14a
cmp dword [eax + 0xc], edx
je 0x43d153
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x43d140
jmp 0x43d176
cmp eax, ecx
je 0x43d176
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov eax, dword [esi + 0x20]
add esp, 4
dec eax
mov dword [esi + 0x20], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x43d21c
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov esi, ecx
mov cl, byte [eax + 0x29]
test cl, cl
jne 0x43d1b0
cmp ebx, dword [eax + 0x14]
jg 0x43d1a6
jl 0x43d1a0
cmp ebp, dword [eax + 0x10]
jae 0x43d1a6
mov esi, eax
mov eax, dword [eax]
jmp 0x43d1a9
mov eax, dword [eax + 8]
mov cl, byte [eax + 0x29]
test cl, cl
je 0x43d194
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.0043c3f0
cmp eax, esi
mov edx, eax
je 0x43d20e
mov cl, byte [edx + 0x29]
test cl, cl
jne 0x43d20a
mov ecx, dword [edx + 8]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x43d1ed
mov edx, ecx
mov ecx, dword [edx]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x43d20a
mov edi, edi
mov edx, ecx
mov ecx, dword [edx]
mov bl, byte [ecx + 0x29]
test bl, bl
je 0x43d1e0
jmp 0x43d20a
mov ecx, dword [edx + 4]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x43d208
cmp edx, dword [ecx + 8]
jne 0x43d208
mov edx, ecx
mov ecx, dword [ecx + 4]
mov bl, byte [ecx + 0x29]
test bl, bl
je 0x43d1f7
mov edx, ecx
cmp edx, esi
jne 0x43d1c2
push esi
push eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.0043cc00
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x43ebf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x482763
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0043d920
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x14], 1
call fcn.0043ddc0
mov dword [edi + 4], eax
mov byte [eax + 0x91], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
mov ecx, esi
mov dword [esi + 0xc], 0xffffffff
call fcn.0040c890
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4424a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4424e5
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x441fa0
push 0
push 0
mov dword [esi + 0x78], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x74], eax
jne 0x4424e5
mov dword [esi + 0x78], 1
pop esi
pop ecx
ret
mov eax, 1
pop esi
pop ecx
ret
Function at 0x443050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482a2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4ac3b8]
push ebx
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x18], edx
jg 0x443098
jl 0x4430f3
cmp ecx, ebx
jbe 0x4430f3
cmp eax, 2
jl 0x4430b1
jg 0x4430a7
cmp ecx, 0x540be400
jb 0x4430b1
mov eax, 1
jmp 0x44323d
push eax
push ecx
lea eax, [esp + 0x14]
push eax
mov ecx, edx
mov dword [esp + 0x28], ebx
call fcn.00442fa0
push 0x488918
lea ecx, [esp + 0x10]
mov dword [esp + 0xe8], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4430fa
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x44323d
lea ecx, [esp + 0x30]
call fcn.00405140
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov word [esp + 0x50], bx
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
push esi
push 0x20
lea edx, [esp + 0x38]
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCR71.dll_fread]
push 1
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call edi
add esp, 0x10
cmp eax, 0x20
jne 0x443210
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
call fcn.00405180
test eax, eax
je 0x443210
push esi
push 0x10
lea ecx, [esp + 0x28]
push 1
push ecx
call edi
add esp, 0x10
cmp eax, 0x10
jne 0x443210
cmp word [esp + 0x24], 0
jbe 0x4431f2
push esi
push 0x80
lea edx, [esp + 0x58]
xor eax, eax
push 1
mov ecx, 0x20
lea edi, [esp + 0x5c]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 0x80
jne 0x4431f2
lea eax, [esp + 0x50]
push 0x40
push eax
call fcn.00405260
mov ecx, dword [esp + 0x18]
cdq
add esp, 8
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
adc eax, edx
add ecx, 8
lea edx, [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
push edx
push eax
call sub.MFC71U.DLL_CStringArray::SetAtGrow
movzx ecx, word [esp + 0x24]
inc ebx
cmp ebx, ecx
jl 0x443185
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x10]
jne 0x44320e
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x14]
jne 0x44320e
mov dword [esp + 0x1c], 1
xor ebx, ebx
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov esi, dword [esp + 0x20]
add esp, 4
cmp esi, ebx
jne 0x443231
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
add ecx, 8
call sub.MFC71U.DLL_CPtrArray::SetSize
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd4]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x443260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482a4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4ac3b8]
push ebx
push esi
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
jg 0x4432a4
jl 0x443303
cmp ecx, edi
jbe 0x443303
cmp eax, 2
jl 0x4432bd
jg 0x4432b3
cmp ecx, 0x540be400
jb 0x4432bd
mov eax, 1
jmp 0x443450
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
mov dword [esp + 0x38], edi
call fcn.00442fa0
push 0x4888e4
lea ecx, [esp + 0x14]
mov dword [esp + 0xe8], edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x44330a
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x443450
lea ecx, [esp + 0x30]
call fcn.00405140
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov word [esp + 0x50], di
mov dword [esp + 0x24], ecx
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
push 0
push 0x30
push esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [ebx + 0x10]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x4433e2
xor eax, eax
test esi, esi
mov ecx, 0x20
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
jl 0x443473
cmp esi, dword [ebx + 0x10]
jge 0x443473
mov edx, dword [ebx + 0xc]
lea ecx, [edx + esi*4]
push 0x40
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
mov edi, dword [esp + 0x20]
push edi
push 0x80
lea ecx, [esp + 0x64]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x1c
cmp eax, 0x80
jne 0x4433e6
inc word [esp + 0x1c]
lea edx, [esp + 0x50]
push 0x40
push edx
call fcn.00405260
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cdq
add esp, 8
add ecx, eax
mov eax, dword [ebx + 0x10]
adc edi, edx
inc esi
cmp esi, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jl 0x443354
mov edi, dword [esp + 0x14]
movzx eax, word [esp + 0x1c]
cmp eax, dword [ebx + 0x10]
jne 0x443436
push 0
push 0
push edi
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [sym.imp.MSVCR71.dll_fwrite]
push edi
push 0x20
lea ecx, [esp + 0x44]
push 1
push ecx
call esi
add esp, 0x1c
cmp eax, 0x20
jne 0x443436
push edi
push 0x10
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x28], 1
call esi
add esp, 0x10
cmp eax, 0x10
mov esi, 1
je 0x44343a
mov esi, dword [esp + 0x2c]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd4]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call sub.MFC71U.DLL_AfxThrowInternetException
int3