joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44430a
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49950a
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 0x4443b8
mov edi, dword [eax + 0xc]
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4d8288
mov byte [esp + 0x2c], 1
call fcn.004022e0
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]
add esp, 0x14
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x10]
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.00447060
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 4]
jne 0x444333
mov ecx, dword [esi + 4]
mov ebp, dword [ecx + 4]
cmp byte [ebp + 0x15], bl
mov edi, ebp
jne 0x4443e4
mov edx, dword [edi + 8]
push edx
mov ecx, esi
call fcn.00441a30
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 0x4443c5
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 eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea edi, [esi + 0xc]
push ecx
mov ecx, edi
call fcn.00443e40
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 edx, dword [esi + 0x1c]
mov ebp, dword [edx + 4]
mov al, byte [ebp + 0x29]
add esi, 0x18
cmp al, bl
mov edi, ebp
jne 0x44444f
nop
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00441a70
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 0x444430
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
push ecx
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 0x445200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.0041b220
mov esi, eax
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
lea ebx, [edi + 0xc]
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.00444e50
mov edi, dword [edi + 4]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x44527a
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x14]
jl 0x44527a
jg 0x445274
mov edx, dword [esp + 0x30]
cmp edx, dword [eax + 0x10]
jb 0x44527a
lea eax, [esp + 0xc]
jmp 0x445282
mov dword [esp + 0x30], edi
lea eax, [esp + 0x30]
mov eax, dword [eax]
cmp eax, edi
jne 0x4452d0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esi + 4], esi
je 0x4452b1
lea ebx, [ebx]
mov edi, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
cmp edi, esi
mov eax, edi
jne 0x4452a0
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
add eax, 0x18
lea ecx, [esp + 0x14]
cmp ecx, eax
je 0x445300
mov esi, dword [eax + 4]
mov edi, dword [esi]
call fcn.0041b240
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push ecx
push esi
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00445010
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esi]
cmp edi, esi
je 0x445333
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0x3c]
jne 0x44532c
mov edx, dword [edi + 0xc]
push ebx
push ebp
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [edi]
cmp edi, esi
jne 0x445316
pop ebp
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esi + 4], esi
je 0x445351
mov edi, edi
mov edi, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
cmp edi, esi
mov eax, edi
jne 0x445340
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [esp + 0x24]
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x445c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4997d8
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.00444e50
mov ecx, dword [edi + 4]
cmp eax, ecx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], eax
je 0x445c69
cmp ebx, dword [eax + 0x14]
jl 0x445c69
jg 0x445c63
cmp ebp, dword [eax + 0x10]
jb 0x445c69
lea eax, [esp + 0x18]
jmp 0x445c71
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, ecx
jne 0x445c99
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 0x445cea
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
lea ebx, [ebx]
cmp dword [eax + 8], edi
jne 0x445cba
cmp dword [eax + 0xc], edx
je 0x445cc3
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x445cb0
jmp 0x445ce6
cmp eax, ecx
je 0x445ce6
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 0x445d8c
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov esi, ecx
mov cl, byte [eax + 0x29]
test cl, cl
jne 0x445d20
cmp ebx, dword [eax + 0x14]
jg 0x445d16
jl 0x445d10
cmp ebp, dword [eax + 0x10]
jae 0x445d16
mov esi, eax
mov eax, dword [eax]
jmp 0x445d19
mov eax, dword [eax + 8]
mov cl, byte [eax + 0x29]
test cl, cl
je 0x445d04
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00444e50
cmp eax, esi
mov edx, eax
je 0x445d7e
mov cl, byte [edx + 0x29]
test cl, cl
jne 0x445d7a
mov ecx, dword [edx + 8]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x445d5d
mov edx, ecx
mov ecx, dword [edx]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x445d7a
mov edi, edi
mov edx, ecx
mov ecx, dword [edx]
mov bl, byte [ecx + 0x29]
test bl, bl
je 0x445d50
jmp 0x445d7a
mov ecx, dword [edx + 4]
mov bl, byte [ecx + 0x29]
test bl, bl
jne 0x445d78
cmp edx, dword [ecx + 8]
jne 0x445d78
mov edx, ecx
mov ecx, dword [ecx + 4]
mov bl, byte [ecx + 0x29]
test bl, bl
je 0x445d67
mov edx, ecx
cmp edx, esi
jne 0x445d32
push esi
push eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00445770
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 0x44a450
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x44a495
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x449f40
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 0x44a495
mov dword [esi + 0x78], 1
pop esi
pop ecx
ret
mov eax, 1
pop esi
pop ecx
ret
Function at 0x44b270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499e0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4d757c]
xor eax, ebp
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 0x44b2ba
jl 0x44b30f
cmp ecx, ebx
jbe 0x44b30f
cmp eax, 2
jl 0x44b2d3
jg 0x44b2c9
cmp ecx, 0x540be400
jb 0x44b2d3
mov eax, 1
jmp 0x44b45b
push eax
push ecx
lea eax, [esp + 0x14]
push eax
mov ecx, edx
mov dword [esp + 0x28], ebx
call fcn.0044b1c0
mov ecx, dword [esp + 0xc]
push 0x4ae6f8
push ecx
mov dword [esp + 0xec], ebx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x44b316
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x44b45b
lea ecx, [esp + 0x30]
call fcn.004057b0
xor eax, eax
mov word [esp + 0x50], bx
mov ecx, 0x1f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
xor edx, edx
push esi
mov dword [esp + 0x24], edx
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCR71.dll_fread]
push 0x20
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x38]
mov dword [esp + 0x30], edx
push 1
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call edi
add esp, 0x10
cmp eax, 0x20
jne 0x44b42e
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.004057f0
test eax, eax
je 0x44b42e
push esi
push 0x10
lea edx, [esp + 0x28]
push 1
push edx
call edi
add esp, 0x10
cmp eax, 0x10
jne 0x44b42e
cmp word [esp + 0x24], 0
jbe 0x44b410
push esi
xor eax, eax
mov ecx, 0x20
lea edi, [esp + 0x54]
push 0x80
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 0x80
jne 0x44b410
push 0x40
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0x4d8288
call fcn.004015c0
mov ecx, dword [esp + 0x10]
cdq
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 0x44b3a1
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x10]
jne 0x44b42c
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x14]
jne 0x44b42c
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 0x44b44f
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]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 8
Function at 0x44b480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499e2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4d757c]
push ebx
xor eax, ebp
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 0x44b4c6
jl 0x44b51f
cmp ecx, edi
jbe 0x44b51f
cmp eax, 2
jl 0x44b4df
jg 0x44b4d5
cmp ecx, 0x540be400
jb 0x44b4df
mov eax, 1
jmp 0x44b668
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
mov dword [esp + 0x38], edi
call fcn.0044b1c0
mov ecx, dword [esp + 0x10]
push 0x4b7c4c
push ecx
mov dword [esp + 0xec], edi
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x44b526
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x44b668
lea ecx, [esp + 0x30]
call fcn.004057b0
xor edx, edx
mov dword [esp + 0x18], edx
mov word [esp + 0x50], di
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x20], edx
mov ecx, 0x1f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
push edx
push 0x30
push esi
mov dword [esp + 0x30], edx
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 0x44b5fa
nop
xor eax, eax
test esi, esi
mov ecx, 0x20
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
jl 0x44b68d
cmp esi, dword [ebx + 0x10]
jge 0x44b68d
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + esi*4]
push 0x40
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.MSVCR71.dll_wcsncpy]
mov edi, dword [esp + 0x20]
push edi
push 0x80
lea eax, [esp + 0x64]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x1c
cmp eax, 0x80
jne 0x44b5fe
inc word [esp + 0x1c]
push 0x40
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0x4d8288
call fcn.004015c0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cdq
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 0x44b570
mov edi, dword [esp + 0x14]
movzx edx, word [esp + 0x1c]
cmp edx, dword [ebx + 0x10]
jne 0x44b64e
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 eax, [esp + 0x44]
push 1
push eax
call esi
add esp, 0x1c
cmp eax, 0x20
jne 0x44b64e
push edi
push 0x10
lea ecx, [esp + 0x20]
push 1
push ecx
mov dword [esp + 0x28], 1
call esi
add esp, 0x10
cmp eax, 0x10
mov esi, 1
je 0x44b652
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]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 8
call sub.MFC71U.DLL_AfxThrowInternetException
int3
Function at 0x44ba90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d757c]
mov ecx, dword [esp + 0x1c]
xor eax, esp
test ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
je 0x44bb99
test eax, eax
je 0x44bb99
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x30]
lea eax, [ebp + ebp]
cmp esi, eax
jle 0x44bb97
push ebx
push esi
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44bb96
mov ecx, esi
mov edx, ecx
push edi
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor esi, esi
test ebp, ebp
rep stosb byte es:[edi], al
mov byte [esp + 0x14], 0x30
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], 0x32
mov byte [esp + 0x17], 0x33
mov byte [esp + 0x18], 0x34
mov byte [esp + 0x19], 0x35
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0x37
mov byte [esp + 0x1c], 0x38
mov byte [esp + 0x1d], 0x39
mov byte [esp + 0x1e], 0x61
mov byte [esp + 0x1f], 0x62
mov byte [esp + 0x20], 0x63
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], 0x65
mov byte [esp + 0x23], 0x66
pop edi
jle 0x44bb74
mov ecx, ebx
mov eax, dword [esp + 0x28]
movzx eax, byte [esi + eax]
mov edx, eax
shr edx, 4
mov dl, byte [esp + edx + 0x10]
and eax, 0xf
mov al, byte [esp + eax + 0x10]
mov byte [ecx], dl
inc ecx
mov byte [ecx], al
inc ecx
inc esi
cmp esi, ebp
jl 0x44bb51
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push eax
push ebx
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call sub.MFC71U.DLL_operator_new
add esp, 4
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045a4fd
add esp, 0x18
ret
Function at 0x44e800
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a3a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4d757c]
xor eax, esp
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
push esi
xor esi, esi
cmp eax, esi
jg 0x44e83f
jl 0x44e838
cmp ecx, esi
ja 0x44e83f
xor eax, eax
jmp 0x44e9a7
cmp eax, 2
jl 0x44e858
jg 0x44e84e
cmp ecx, 0x540be400
jb 0x44e858
mov eax, 1
jmp 0x44e9a7
cmp dword [ebx + 8], esi
jne 0x44e864
mov ecx, ebx
call fcn.0044e4f0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push ebp
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.0044e0d0
mov eax, dword [esp + 0xc]
push 0x4b7c4c
push eax
mov dword [esp + 0x60], esi
call dword [sym.imp.MSVCR71.dll__wfopen]
mov ebp, eax
add esp, 8
cmp ebp, esi
jne 0x44e8aa
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x44e9a6
lea ecx, [esp + 0x2c]
call fcn.004057b0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push 0x38
push ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [ebx + 0x14]
mov eax, dword [esi]
add esp, 0xc
cmp esi, eax
je 0x44e943
push edi
mov edi, dword [esi + 4]
push ebp
push 0x80
add edi, 8
push 1
push edi
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x80
jne 0x44e942
mov edx, dword [ebx + 0xc]
inc word [esp + 0x1c]
push eax
push edi
mov ecx, 0x4d8288
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], edx
call fcn.004015c0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cdq
add ecx, eax
mov eax, dword [ebx + 0x14]
adc edi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
mov esi, dword [esi + 4]
cmp esi, dword [eax]
jne 0x44e8e4
pop edi
movzx ecx, word [esp + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x44e98e
push 0
push 0
push ebp
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [sym.imp.MSVCR71.dll_fwrite]
push ebp
push 0x20
lea edx, [esp + 0x40]
push 1
push edx
call esi
add esp, 0x1c
cmp eax, 0x20
jne 0x44e98e
push ebp
push 0x18
lea eax, [esp + 0x1c]
push 1
push eax
call esi
add esp, 0x10
cmp eax, 0x18
jne 0x44e98e
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x10]
pop ebp
mov ecx, dword [esp + 0x4c]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
pop ebx
xor ecx, esp
call fcn.0045a4fd
add esp, 0x50
ret
Function at 0x450400
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 8
mov esi, ecx
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x450448
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x450380
push 0
mov dword [eax + 4], edx
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x45044f
xor eax, eax
pop esi
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x451c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ada8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4d757c]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, dword [ecx + 0x10]
mov eax, dword [esp + 0x20]
cmp eax, esi
mov dword [esp + 0x18], 0
jbe 0x451c5f
mov edx, dword [ecx + 0xc]
push edi
lea edi, [esp + 0x28]
push edi
sub eax, esi
push eax
add edx, esi
push edx
push ecx
call fcn.004516c0
pop edi
jmp 0x451c76
jae 0x451c76
mov edx, dword [ecx + 0xc]
add esi, edx
push esi
push ecx
add edx, eax
push edx
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004515b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 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 + 0x10]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.0045a4fd
add esp, 0x18
ret 0x30
Function at 0x456330
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bb20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00455340
lea eax, [esi + 4]
push eax
mov ecx, edi
call fcn.004552e0
push 0x15
lea ecx, [esi + 6]
push ecx
mov ecx, edi
call fcn.00455570
push 0x15
lea edx, [esi + 0x30]
push edx
mov ecx, edi
call fcn.00455570
lea eax, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.00455340
lea ecx, [esi + 0x60]
push ecx
mov ecx, edi
call fcn.00455280
lea edx, [esi + 0x62]
push edx
mov ecx, edi
call fcn.004552e0
push 0x41
lea eax, [esi + 0x64]
push eax
mov ecx, edi
call fcn.00455570
push 0x41
lea ecx, [esi + 0xe6]
push ecx
mov ecx, edi
call fcn.00455570
push 0x41
lea edx, [esi + 0x168]
push edx
mov ecx, edi
call fcn.00455570
push 0x21
lea eax, [esi + 0x1ea]
push eax
mov ecx, edi
call fcn.00455400
lea ecx, [esi + 0x20b]
push ecx
mov ecx, edi
call fcn.00455280
lea edx, [esi + 0x210]
push edx
mov ecx, edi
call fcn.00455390
lea eax, [esi + 0x218]
push eax
mov ecx, edi
call fcn.00455340
push 0x21
push 0x20
lea ecx, [esi + 0x21c]
push ecx
mov ecx, edi
call fcn.00455500
push 0x21
push 0x20
lea edx, [esi + 0x23d]
push edx
mov ecx, edi
call fcn.00455500
lea eax, [esi + 0x260]
push eax
mov ecx, edi
call fcn.00455390
push 7
lea ecx, [esi + 0x268]
push ecx
mov ecx, edi
call fcn.00455570
push 0x60
push 0x5f
add esi, 0x276
push esi
mov ecx, edi
call fcn.00455500
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 4