joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ec90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x42ed43
cmp ecx, dword [esi + 0xd8]
jge 0x42ed43
mov eax, dword [esi + 0xa4]
push ebx
push ebp
mov ebp, dword [esi + 0xa0]
push edi
mov edi, dword [esi + 0xac]
add edi, eax
mov eax, dword [esi + 0xa8]
add eax, ebp
imul eax, dword [esi + 0xd4]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x18], ebx
sub eax, edx
xor ebp, ebp
mov ebx, edi
mov dword [esp + 0x10], eax
imul ebx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ecx
xor eax, eax
jmp 0x42ed00
mov ecx, dword [esi + 0xe8]
push 0xcc0020
push ebx
push 0
lea ebp, [eax + edi]
push ecx
mov edx, ebp
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0xd8]
inc ecx
add ebx, edi
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov eax, ebp
jl 0x42ed00
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret 4

Function at 0x42ec93
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x42ed43
cmp ecx, dword [esi + 0xd8]
jge 0x42ed43
mov eax, dword [esi + 0xa4]
push ebx
push ebp
mov ebp, dword [esi + 0xa0]
push edi
mov edi, dword [esi + 0xac]
add edi, eax
mov eax, dword [esi + 0xa8]
add eax, ebp
imul eax, dword [esi + 0xd4]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x18], ebx
sub eax, edx
xor ebp, ebp
mov ebx, edi
mov dword [esp + 0x10], eax
imul ebx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ecx
xor eax, eax
jmp 0x42ed00
mov ecx, dword [esi + 0xe8]
push 0xcc0020
push ebx
push 0
lea ebp, [eax + edi]
push ecx
mov edx, ebp
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0xd8]
inc ecx
add ebx, edi
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov eax, ebp
jl 0x42ed00
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret 4
Function at 0x43cea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4d757c]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x198], eax
lea eax, [ebx + 0x6c]
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov edi, ebx
mov ecx, 0x18
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax + 4]
add ebx, 0x60
push ecx
mov ecx, ebx
mov dword [esp + 0x1b0], 0
call fcn.0043ae90
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], 0
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
xor edx, edx
mov dword [esp + 0x79], edx
mov dword [esp + 0x7d], edx
mov dword [esp + 0x81], edx
mov dword [esp + 0x85], edx
xor eax, eax
mov byte [esp + 0x90], dl
mov ecx, 0x40
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push edx
push edx
stosw word es:[edi], ax
push 0x104
stosb byte es:[edi], al
lea eax, [esp + 0x9c]
push eax
push 0xffffffffffffffff
push ecx
push edx
push 0x3a8
mov byte [esp + 0x98], 0
mov dword [esp + 0xa9], edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x90]
push 0x4b7c80
push edx
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
jne 0x43cfb7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x43d053
mov dword [esp + 0x10], 0
nop
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push 8
lea ecx, [esp + 0x20]
push 1
push ecx
call esi
add esp, 0x10
cmp eax, 8
jb 0x43d039
push edi
push 0x14
lea edx, [esp + 0x80]
push 1
push edx
call esi
add esp, 0x10
cmp eax, 0x14
jl 0x43d039
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.0043cd10
mov edi, eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov ecx, 0x16
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
jl 0x43cfc0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 4
Function at 0x43e170
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x498ce2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x4ae4c0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 8]
push eax
mov ecx, 0x4d8288
mov dword [esp + 0x18], 0
call fcn.004022e0
mov ecx, dword [eax]
push str.dataCommonConfig.ini
push ecx
lea edx, [esp + 0xc]
push 0x4ae7ec
push edx
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 4]
push eax
push 0
push str.DefaultRoomType
push str.ChatRoom
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
dec eax
je 0x43e216
sub eax, 4
je 0x43e216
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43e2f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498d34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x4d757c]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x234], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x43e346
push 0x4ae4c0
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
jmp 0x43e46d
mov eax, dword [ebp + 0xc]
cmp eax, 1
mov dword [esp + 0x1c], eax
je 0x43e357
cmp eax, 6
jne 0x43e37d
mov ecx, esi
call fcn.0043e170
dec eax
je 0x43e375
sub eax, 2
je 0x43e375
sub eax, 2
jne 0x43e37d
mov dword [esp + 0x1c], 6
jmp 0x43e37d
mov dword [esp + 0x1c], 1
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4ae4c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x248], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4ae4c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov word [esp + 0x20], di
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push 0x4af308
push edx
mov byte [esp + 0x250], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [esi]
push 0x4b7cf4
push eax
lea ecx, [esp + 0x28]
push 0x4ae7ec
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
push edx
push 0x104
lea eax, [esp + 0x28]
push eax
push 0x4ae4c0
push str.ConfPath
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x4ae7ec
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 8
Function at 0x43e4a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x4d757c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x234], eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
mov dword [esp + 0x1c], esi
jne 0x43e4fa
push 0x4ae4c0
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
jmp 0x43e61e
mov esi, dword [ebp + 0xc]
cmp esi, 1
je 0x43e507
cmp esi, 6
jne 0x43e527
mov ecx, ebx
call fcn.0043e170
dec eax
je 0x43e522
sub eax, 2
je 0x43e522
sub eax, 2
jne 0x43e527
mov esi, 6
jmp 0x43e527
mov esi, 1
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4ae4c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x248], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4ae4c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov word [esp + 0x20], di
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov byte [esp + 0x24c], 2
call fcn.0043e2f0
push esi
lea edx, [esp + 0x10]
push 0x4af308
push edx
mov byte [esp + 0x250], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x4ae4c0
push str.Path
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4ae7ec
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov esi, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
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::CSimpleStringT]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 8
Function at 0x43e650
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x498d89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x43e687
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
push esi
mov esi, dword [esp + 0x1c]
cmp esi, 1
je 0x43e696
cmp esi, 6
jne 0x43e6b6
mov ecx, edi
call fcn.0043e170
dec eax
je 0x43e6b1
sub eax, 2
je 0x43e6b1
sub eax, 2
jne 0x43e6b6
mov esi, 6
jmp 0x43e6b6
mov esi, 1
push 0x4ae4c0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push esi
lea ecx, [esp + 0x20]
push 0x4af308
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
push esi
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.0043e2f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 0x4b7d60
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x43e730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x4d757c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x234], eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
mov dword [esp + 0x1c], esi
jne 0x43e78a
push 0x4ae4c0
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
jmp 0x43e8b2
mov esi, dword [ebp + 0xc]
cmp esi, 1
je 0x43e797
cmp esi, 6
jne 0x43e7b7
mov ecx, ebx
call fcn.0043e170
dec eax
je 0x43e7b2
sub eax, 2
je 0x43e7b2
sub eax, 2
jne 0x43e7b7
mov esi, 6
jmp 0x43e7b7
mov esi, 1
mov word [esp + 0x20], di
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
push 0x4ae4c0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x24c], 0
call fcn.0043e4a0
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov byte [esp + 0x24c], 1
call fcn.0043e2f0
push 0x4ae4c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x248], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push esi
lea eax, [esp + 0x10]
push 0x4af308
push eax
mov byte [esp + 0x250], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x28]
push edx
push 0x4ae4c0
push str.RunPlug
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4ae7ec
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov esi, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
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::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 8
Function at 0x43fdc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0xc]
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x2c]
cdq
mov edi, eax
mov eax, dword [esp + 0x30]
cdq
xor ebx, ebx
or ebx, eax
lea eax, [esp + 0x14]
or edi, edx
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
call fcn.0043f100
mov ecx, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x2c], eax
je 0x43fe37
cmp edi, dword [eax + 0x14]
jl 0x43fe37
jg 0x43fe31
cmp ebx, dword [eax + 0x10]
jb 0x43fe37
lea eax, [esp + 0x2c]
jmp 0x43fe3f
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x30]
mov eax, dword [eax]
cmp eax, ecx
je 0x43fe67
mov ecx, dword [esp + 0x34]
cmp ecx, 3
ja case.default.0x43fe4e
jmp dword [ecx*4 + 0x43feb4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x1c], ecx
jmp case.default.0x43fe4e
mov edx, dword [esp + 0x38]
mov dword [eax + 0x18], edx
jmp case.default.0x43fe4e
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, 3
mov ebx, edi
ja case.default.0x43fe74
jmp dword [eax*4 + 0x43fec4]
mov edi, dword [esp + 0x38]
jmp case.default.0x43fe74
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0043fc90
mov dword [eax], ebx
mov dword [eax + 4], edi
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10

Function at 0x442910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x499368
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.00441ea0
mov ebx, dword [eax]
cmp ebx, dword [edi + 0x10]
je 0x4429c6
mov eax, dword [ebx + 0x14]
cmp eax, ebp
jge 0x442974
mov ebp, eax
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x44299b
lea ecx, [ecx]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.00442910
mov esi, dword [esi]
cmp esi, dword [ebx + 0x1c]
jne 0x442980
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 0x443870
Capabilities:
Create directory
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4994c5
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
test esi, esi
push edi
mov edi, ecx
jg 0x4438a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push esi
mov ecx, edi
call fcn.00442800
test eax, eax
jne 0x443a19
push ebx
push ebp
lea ebp, [edi + 0x24]
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4ae4c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x4d8288
mov byte [esp + 0x30], 1
call fcn.004022e0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str._sDownloads
push edx
mov byte [esp + 0x38], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x443939
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4d8288
mov byte [esp + 0x30], 3
call fcn.004022e0
mov ebx, eax
push esi
mov byte [esp + 0x30], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x1c]
push str._sDownloads_d__ld.ini
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4ae4c0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push esi
lea eax, [esp + 0x1c]
push 0x4af308
push eax
mov byte [esp + 0x38], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
push str.PlugID
push str.UPDATE
call fcn.00409eb0
add esp, 0x1c
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00443670
push esi
mov ecx, edi
mov dword [eax], esi
call fcn.00443780
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::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4442f0
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