joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4349f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x434a5e
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x434a5e
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x434a7e
cmp esi, eax
jne 0x434a52
mov eax, dword [ebx + 4]
push 0xc
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
call fcn.00494794
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x434a90
jmp 0x434b49
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ecx + 4]
mov dword [ecx], edi
test edx, edx
je 0x434a9e
mov eax, dword [ebp - 4]
mov dword [edx], eax
lea eax, [ecx + 8]
test eax, eax
je 0x434aad
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov eax, 0x15555554
sub eax, dword [ebx + 8]
cmp eax, 1
jb 0x434b4e
inc dword [ebx + 8]
mov dword [edi + 4], ecx
mov eax, dword [edx]
mov dword [eax], ecx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x434af4
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x434b0e
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x434b30
cmp eax, esi
jne 0x434b16
mov dword [ecx], edi
jmp 0x434b30
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x434b30
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0044cda0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0049a721
push str.list_T__too_long
call fcn.00493569
int3
Function at 0x43c830
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
call fcn.00441d00
test al, al
jne 0x43c853
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x34], 0
mov ecx, 0x1000002
push ebx
push 0
push 0
mov eax, 2
lea ebx, [esi + 0x30]
cmovne eax, ecx
mov ecx, esi
push 0
push eax
push 0
call fcn.004581a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
mov ecx, ebx
call fcn.0042ad50
mov eax, dword [ebx]
test eax, eax
je 0x43c892
cmp eax, 0xffffffff
jne 0x43c8ba
cmp byte [esi + 0x26], 0
je 0x43c8ba
push str.false
push 0x28
push str.d:webapps_b_build_slave_repo_build_src_base_filesmemory_mapped_file_win.cc
lea ecx, [ebp - 0xc4]
call fcn.00422710
lea ecx, [ebp - 0xc4]
call fcn.00422910
mov eax, dword [ebx]
test eax, eax
je 0x43ca32
cmp eax, 0xffffffff
je 0x43ca32
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x4c2018
mov ecx, edi
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.0043ca90
test al, al
je 0x43c96a
mov ecx, esi
call fcn.00441c80
mov edi, edx
mov ebx, eax
test edi, edi
jl 0x43c91a
jg 0x43c91a
test ebx, ebx
je 0x43c91a
test edi, edi
jl 0x43c942
jg 0x43c91a
cmp ebx, 0x7fffffff
jbe 0x43c942
cmp byte [esi + 0x26], 0
je 0x43c942
push str.false
push 0x37
push str.d:webapps_b_build_slave_repo_build_src_base_filesmemory_mapped_file_win.cc
lea ecx, [ebp - 0xc4]
call fcn.00422710
lea ecx, [ebp - 0xc4]
call fcn.00422910
mov eax, ebx
add eax, 0xffffffff
adc edi, 0xffffffff
test edi, edi
ja 0x43ca27
jb 0x43c95f
cmp eax, 0x7ffffffe
ja 0x43ca27
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], ebx
lea ebx, [esi + 0x30]
jmp 0x43c9cd
lea eax, [ebp - 4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0xc], xmm0
push eax
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x14], xmm0
push eax
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call fcn.0043cac0
mov eax, dword [ebp - 4]
add esp, 0x1c
cdq
add eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
adc edx, dword [edi + 0xc]
cmp dword [ebp - 8], 0
jl 0x43ca27
mov ecx, dword [ebp - 0xc]
jg 0x43c9b2
test ecx, ecx
jb 0x43ca27
test edx, edx
jl 0x43ca27
jg 0x43c9be
test eax, eax
jb 0x43ca27
test edx, edx
ja 0x43ca27
jb 0x43c9c7
cmp eax, 0xffffffff
ja 0x43ca27
mov eax, dword [edi + 8]
mov dword [esi + 0x2c], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push ecx
push eax
push 4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x43ca0d
cmp byte [esi + 0x26], al
je 0x43ca0d
push str.false
push 0x5c
push str.d:webapps_b_build_slave_repo_build_src_base_filesmemory_mapped_file_win.cc
lea ecx, [ebp - 0xc4]
call fcn.00422710
lea ecx, [ebp - 0xc4]
call fcn.00422910
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x43ca27
mov eax, dword [ebp - 4]
pop edi
add eax, ecx
mov dword [esi + 0x28], eax
mov al, 1
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44c680
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x44c6ee
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x44c6ee
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x44c70e
cmp esi, eax
jne 0x44c6e2
mov eax, dword [ebx + 4]
push 0x18
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
call fcn.00494794
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x44c720
jmp 0x44c7dd
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ecx + 4]
mov dword [ecx], edi
test edx, edx
je 0x44c72e
mov eax, dword [ebp - 4]
mov dword [edx], eax
lea eax, [ecx + 8]
test eax, eax
je 0x44c741
mov edx, dword [ebp + 0xc]
movups xmm0, xmmword [edx]
lea edx, [ecx + 4]
movups xmmword [eax], xmm0
mov eax, 0xaaaaaa9
sub eax, dword [ebx + 8]
cmp eax, 1
jb 0x44c7e2
inc dword [ebx + 8]
mov dword [edi + 4], ecx
mov eax, dword [edx]
mov dword [eax], ecx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x44c788
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x44c7a2
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x44c7c4
cmp eax, esi
jne 0x44c7aa
mov dword [ecx], edi
jmp 0x44c7c4
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x44c7c4
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0044cda0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0049a721
push str.list_T__too_long
call fcn.00493569
int3
Function at 0x404f20
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1024
call fcn.00414290
mov eax, dword [0x44e5dc]
mov ecx, dword [0x44d1b8]
shr eax, 3
test eax, eax
jbe 0x404fd9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x44e5dc], 0x959
jne 0x404fbf
lea eax, [esp + 0x18]
push eax
push 0x40341c
call esi
push 0
lea ecx, [esp + 0x438]
push ecx
push 0
push 0
push 0
push 0
call edi
push 0x403430
push 0
lea edx, [esp + 0x3c]
push edx
push 0x40345c
push 0x403474
call ebx
push 0
lea eax, [esp + 0x838]
push eax
push 0
push 0x403498
push 0
push 0
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00404d60
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x404f64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
Function at 0x409a16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4163d4]
jne 0x409a20
repz ret
jmp fcn.0040f71c

Function at 0x413b3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ddc3
and dword [ebp - 4], 0
cmp dword [0x42dab4], 0
mov ebx, eax
jne 0x413bec
push 0x403374
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413c9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403368
push edi
call esi
test eax, eax
je 0x413c9d
push eax
call fcn.0040dd51
mov dword [esp], 0x403358
push edi
mov dword [0x42dab4], eax
call esi
push eax
call fcn.0040dd51
mov dword [esp], 0x403344
push edi
mov dword [0x42dab8], eax
call esi
push eax
call fcn.0040dd51
mov dword [esp], 0x403328
push edi
mov dword [0x42dabc], eax
call esi
push eax
call fcn.0040dd51
pop ecx
mov dword [0x42dac4], eax
test eax, eax
je 0x413bec
push 0x403310
push edi
call esi
push eax
call fcn.0040dd51
pop ecx
mov dword [0x42dac0], eax
mov eax, dword [0x42dac0]
cmp eax, ebx
je 0x413c44
cmp dword [0x42dac4], ebx
je 0x413c44
push eax
call fcn.0040ddcc
push dword [0x42dac4]
mov esi, eax
call fcn.0040ddcc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c44
test edi, edi
je 0x413c44
call esi
test eax, eax
je 0x413c3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c3b
test byte [ebp - 0xc], 1
jne 0x413c44
or dword [ebp + 0x10], 0x200000
jmp 0x413c7d
mov eax, dword [0x42dab8]
cmp eax, ebx
je 0x413c7d
push eax
call fcn.0040ddcc
pop ecx
test eax, eax
je 0x413c7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413c7d
mov eax, dword [0x42dabc]
cmp eax, ebx
je 0x413c7d
push eax
call fcn.0040ddcc
pop ecx
test eax, eax
je 0x413c7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42dab4]
call fcn.0040ddcc
pop ecx
test eax, eax
je 0x413c9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413c9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40702f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40a028
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4010f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40705f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40a034
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4011a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40708f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40a03c
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x405d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407c9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40accc
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x405d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407ccf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40acdc
push ecx
push 8
push 1
push 4
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x406860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407d1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40ae58
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x406950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407d4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40ae74
push ecx
push 8
push 1
push 5
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x406a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407d7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40ae80
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00406aac
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401bd7
pop dword [ebp - 0x30]
mov eax, 0xf3902e48
sub eax, 0xf3501271
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x30f1793b
add dword [ebp - 0x40], 0x1d60cc10
mov dword [ebp - 0x3c], 0xd31c499a
add dword [ebp - 0x3c], 0x5f1702ab
mov dword [ebp - 0x38], 0x683985c7
add dword [ebp - 0x38], 0xe412be67
mov dword [ebp - 0x34], 0xb24f3133
add dword [ebp - 0x34], 0x4db0cecd
lea eax, [ebp - 0x40]
push eax
mov eax, 0xb8fcf6c7
sub eax, 0xb8bc8667
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xaf7235f4
add dword [ebp - 0x40], 0xc5003362
mov dword [ebp - 0x3c], 0x8b04d8d9
add dword [ebp - 0x3c], 0xb667889c
mov dword [ebp - 0x38], 0x5b888eb
sub dword [ebp - 0x38], 0xa2491c7f
mov dword [ebp - 0x34], 0x82db82fe
sub dword [ebp - 0x34], 0x82db82fe
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xc9504211
add eax, 0x36f02eef
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x382a7
push 0
call eax
mov ecx, 0x9fcd733b
add ecx, 0x6032db22
mov ebx, eax
mov edx, 0x3ffb989c
add edx, 0xc0456764
add edx, dword [ebp - 0x30]
mov edi, 0xf792876f
mov dword [ebp - 0x10], 0x35109d9b
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 0x18], 0x5caee057
mov dword [ebx], esi
add dword [ebp - 0x24], 0xd11775e
add ebx, 0x4d13cae2
sub ebx, 0x4d13cade
add edx, 0x5d00f9e8
add edx, 0xa2ff061c
loop 0x401cf3
add eax, 0xbccab10
add eax, 0xf4348137
mov ebx, eax
add eax, 0x592d7ca2
add eax, 0xa6d28363
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x402c00
pop dword [ebp - 0x18]
mov eax, 0x402c00
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3259b6cf
add dword [ebp - 0x28], 0x1bf88e7c
mov dword [ebp - 0x24], 0x11459828
add dword [ebp - 0x24], 0x20edb41d
mov dword [ebp - 0x20], 0x4a2c53b
add dword [ebp - 0x20], 0x47a97ef3
mov dword [ebp - 0x1c], 0x6d8d4460
add dword [ebp - 0x1c], 0x9272bba0
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xee50d199
add dword [ebp - 0x28], 0x862197bd
mov dword [ebp - 0x24], 0x605d95bd
add dword [ebp - 0x24], 0xe10ecbb8
mov dword [ebp - 0x20], 0x6f014d43
sub dword [ebp - 0x20], 0xb91e0d7
mov dword [ebp - 0x1c], 0x8f584d6e
sub dword [ebp - 0x1c], 0x8f584d6e
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b1ce
push 0
call eax
mov ecx, 0x622a5783
sub ecx, 0x6229fdd1
xor esi, esi
add esi, eax
mov edx, 0xa097bd99
sub edx, 0xa056ad99
add edx, dword [ebp - 0x18]
mov edi, 0x68db8038
sub edi, 0xced5df20
xor dword [ebp - 0x10], 0xa21df633
mov ebx, dword [edx]
xor dword [ebp - 0xc], esi
sub ebx, edi
add dword [ebp - 4], edi
mov dword [esi], ebx
add dword [ebp - 0xc], 0x97fa2df1
add esi, 0x31ccfa14
add esi, 0xce3305f0
add edx, 0xe50124aa
sub edx, 0xe50124a6
loop 0x402d15
add eax, 0x1599b
mov ebx, eax
add eax, 0x7eb2efa2
sub eax, 0x7eb2ef9d
mov ecx, 0x82aa4fbc
sub ecx, 0x826a4fbc
add ecx, dword [ebp - 0x18]
call ebx
leave
ret