joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c750
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476a0c
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00462a40
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call dword [0x47e138]
push 0x100
mov dword [esp + 0x3f00], esi
call sub.MFC71.DLL_operator_new
mov edi, eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x41c7dd
lea eax, [esp + 0x18]
push eax
call fcn.00424870
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
add esp, 4
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call fcn.004248b0
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00424940
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c880
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c808
mov esi, dword [esp + 0x3f04]
push 0x47f7ba
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c903
lea edx, [esp + 0x18]
push edx
call fcn.00424870
mov eax, dword [ebp + 8]
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0xc
mov edi, eax
lea esp, [esp]
push edi
push 0x3e80
lea eax, [esp + 0x7c]
push 1
push eax
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c85b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
call fcn.004248b0
add esp, 0xc
cmp esi, 0x3e80
je 0x41c830
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00424940
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c890
movzx eax, byte [esi + edi]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call ebp
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c8a8
sub eax, edx
cmp eax, 1
jne 0x41c8c8
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], 0
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call dword [0x47e378]
inc esi
cmp esi, 0x14
jl 0x41c890
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov esi, dword [esp + 0x3f04]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3ef4]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ef0
ret 4
Function at 0x41c930
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476a2c
mov eax, dword fs:[0]
push eax
mov eax, 0x3f64
mov dword fs:[0], esp
call fcn.00462a40
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call dword [0x47e138]
push 0x100
mov dword [esp + 0x3f80], esi
call sub.MFC71.DLL_operator_new
mov ecx, dword [ebx + 0x18]
mov ebp, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [ebx + 0x14]
sar edi, 3
add esp, 4
cmp eax, 1
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edi
jne 0x41c9d1
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00428a10
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
add esp, 8
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call fcn.00428ac0
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00428af0
add esp, 0x14
cmp dword [ebx + 0x14], 2
jne 0x41ca8a
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c9fc
mov esi, dword [esp + 0x3f84]
push 0x47f7ba
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41cb0d
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00428a10
mov eax, dword [ebx + 8]
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
mov edi, eax
jmp 0x41ca30
push edi
push 0x3e80
lea ecx, [esp + 0xfc]
push 1
push ecx
call ebp
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ca61
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.00428ac0
add esp, 0xc
cmp esi, 0x3e80
je 0x41ca30
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00428af0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x41cae2
movzx ecx, byte [esi + ebp]
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCR71.dll__itoa]
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cab0
sub eax, edx
cmp eax, 1
jne 0x41cacf
mov dl, byte [esp + 0x10]
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], cl
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x1c]
call dword [0x47e378]
inc esi
cmp esi, edi
jl 0x41ca90
push ebp
call sub.MFC71.DLL_operator_delete
add esp, 4
add ebx, 0x1c
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov esi, dword [esp + 0x3f84]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3f74]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3f70
ret 4
Function at 0x41da80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x48
cmp eax, 1
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], 0
jne 0x41dc02
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x41daba
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x41dacf
push eax
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [ebx], 0
mov esi, dword [sym.imp.WINMM.dll_mmioOpenA]
push 0
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x41dc1b
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
push 0x10000
push 0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
jne 0x41dbc2
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.WAVE
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x41db2d
push 0x482aa0
push edi
push eax
call ebp
mov esi, eax
test esi, esi
je 0x41dc1b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41dc1b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x41dc1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41dc1b
push ebp
call sub.MFC71.DLL_operator_new
mov dword [ebx + 0x90], eax
mov edi, eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
mov ecx, 0x48
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x41db90
mov ecx, dword [ebx + 0x90]
push 0x10000
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x20], 0x204d454d
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [ebx + 4], eax
mov ecx, ebx
call fcn.0041d180
mov esi, eax
test esi, esi
jge 0x41dbe7
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.0041d300
test eax, eax
jl 0x41dc5b
mov ecx, dword [ebx + 0xc]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x30], ecx
pop ebx
add esp, 0x48
ret 0xc
mov edx, dword [esp + 0x5c]
push 0x11002
push 0
push edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
test eax, eax
mov dword [ebx + 4], eax
jne 0x41dc2a
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [esp + 0x60]
push eax
mov ecx, ebx
call fcn.0041d630
mov esi, eax
test esi, esi
jge 0x41dc54
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, ebx
call fcn.0041d300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x4210f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476b3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x482afc
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.00420c40
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.00420c40
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x422ac0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
push ebp
mov ebp, ecx
je 0x422c6b
push ebx
push esi
push edi
mov esi, dword [ebp + 0x54]
mov eax, 0x10
sub eax, esi
cmp eax, edx
jb 0x422ae2
mov eax, edx
mov edi, dword [ebp + 0x54]
mov esi, dword [esp + 0x14]
mov ecx, eax
mov ebx, ecx
shr ecx, 2
lea edi, [edi + ebp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x54]
mov edi, dword [esp + 0x14]
add ebx, eax
mov ecx, ebx
add edi, eax
sub edx, eax
cmp ecx, 0x10
mov dword [ebp + 0x54], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jne 0x422c60
lea eax, [ebp + 0x44]
mov edx, dword [eax]
lea ecx, [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
xor ebx, ebx
mov dword [ecx + 0xc], eax
mov cl, byte [ebp + 0x43]
mov dword [ebp + 0x54], ebx
lea eax, [ebp + 4]
mov esi, 4
lea esp, [esp]
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
movzx ecx, cl
mov byte [eax + 0x20], dl
movzx edx, byte [eax + 0x40]
xor edx, ecx
mov dl, byte [edx + str._.C]
mov cl, byte [eax + 0x30]
xor cl, dl
mov dl, byte [eax + 1]
mov byte [eax + 0x30], cl
mov cl, byte [eax + 0x11]
xor cl, dl
movzx edx, byte [eax + 0x41]
mov byte [eax + 0x21], cl
movzx ecx, byte [eax + 0x30]
xor edx, ecx
mov dl, byte [edx + str._.C]
mov cl, byte [eax + 0x31]
xor cl, dl
mov dl, byte [eax + 2]
mov byte [eax + 0x31], cl
mov cl, byte [eax + 0x12]
xor cl, dl
movzx edx, byte [eax + 0x42]
mov byte [eax + 0x22], cl
movzx ecx, byte [eax + 0x31]
xor edx, ecx
mov dl, byte [edx + str._.C]
mov cl, byte [eax + 0x32]
xor cl, dl
mov dl, byte [eax + 3]
mov byte [eax + 0x32], cl
mov cl, byte [eax + 0x13]
xor cl, dl
movzx edx, byte [eax + 0x43]
mov byte [eax + 0x23], cl
movzx ecx, byte [eax + 0x32]
xor edx, ecx
mov cl, byte [eax + 0x33]
mov dl, byte [edx + str._.C]
xor cl, dl
mov byte [eax + 0x33], cl
add eax, 4
dec esi
jne 0x422b50
xor cl, cl
lea esi, [ebp + 5]
jmp 0x422bf0
mov eax, esi
mov edx, 8
jmp 0x422c00
movzx ecx, cl
mov cl, byte [ecx + str._.C]
xor byte [eax - 1], cl
movzx ecx, byte [eax - 1]
mov cl, byte [ecx + str._.C]
xor byte [eax], cl
movzx ecx, byte [eax]
mov cl, byte [ecx + str._.C]
xor byte [eax + 1], cl
movzx ecx, byte [eax + 1]
mov cl, byte [ecx + str._.C]
xor byte [eax + 2], cl
movzx ecx, byte [eax + 2]
mov cl, byte [ecx + str._.C]
xor byte [eax + 3], cl
movzx ecx, byte [eax + 3]
mov cl, byte [ecx + str._.C]
xor byte [eax + 4], cl
mov cl, byte [eax + 4]
add eax, 6
dec edx
jne 0x422c00
add cl, bl
inc ebx
cmp ebx, 0x12
jl 0x422bf0
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x422ad2
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422df0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x424160
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x800
push ebx
push ebp
push 0x47f7a4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, eax
xor ebx, ebx
add esp, 8
cmp ebp, ebx
jne 0x42418e
pop ebp
xor eax, eax
pop ebx
add esp, 0x800
ret
mov eax, dword [esp + 0x810]
mov ecx, eax
imul ecx, ecx, 0xb
add ecx, 0x67452301
push esi
push edi
mov edi, dword [esp + 0x81c]
mov dword [edi + 8], ecx
mov edx, eax
mov ecx, eax
imul edx, edx, 0x47
imul eax, eax, 0x61
imul ecx, ecx, 0x25
sub edx, 0x10325477
sub ecx, 0x67452302
add eax, 0x10325476
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
jmp 0x4241e0
push ebp
push 0x800
lea edx, [esp + 0x18]
push 1
push edx
call dword [sym.imp.MSVCR71.dll_fread]
mov esi, eax
push esi
lea eax, [esp + 0x24]
push eax
push edi
add ebx, esi
call fcn.00423f60
add esp, 0x1c
cmp esi, 0x800
jge 0x4241e0
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
push edi
call fcn.00424060
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x800
ret
Function at 0x424870
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x428a10
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x100
push esi
push edi
mov edx, eax
ja 0x428a62
je 0x428a38
cmp eax, 0x20
je 0x428a3d
cmp eax, 0x30
je 0x428a89
cmp eax, 0x40
je 0x428a7d
pop edi
mov eax, 1
pop esi
ret
mov edx, 0x20
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 8
mov esi, 0x482c68
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [eax + 0xd0], edx
xor eax, eax
pop esi
ret
cmp eax, 0x180
je 0x428a84
cmp eax, 0x200
je 0x428a78
pop edi
mov eax, 1
pop esi
ret
mov edx, 0x40
mov esi, 0x483188
jmp 0x428a8e
mov edx, 0x30
mov esi, 0x482f08
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
lea edi, [eax + 0x10]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [eax + 0xd0], edx
xor eax, eax
pop esi
ret

Function at 0x428b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov dword [edx], 0xffffffff
mov cl, byte [esi]
test cl, cl
je 0x428b9b
push edi
mov eax, dword [edx]
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov ecx, dword [edi*4 + 0x4c36b0]
shr eax, 8
xor eax, ecx
inc esi
mov dword [edx], eax
mov cl, byte [esi]
test cl, cl
jne 0x428b76
pop edi
mov eax, dword [edx]
not eax
mov dword [edx], eax
xor eax, eax
pop esi
ret

Function at 0x42b030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476b79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 4
push 0
push str..mtf
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
jne 0x42b0a0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
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 + 0x1c]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x42c920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476b79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0xb1e540
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x48]
inc edx
push eax
lea ecx, [esp + 0xc]
mov dword [esi + 0x44], edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
push ecx
mov ecx, 0xb1e6b0
mov dword [esp + 0x30], 0
call fcn.0042c5e0
lea ecx, [esp + 8]
mov dword [eax], esi
mov dword [esp + 0x2c], 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_]
push 0xb1e540
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x433e00
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fseek]
push esi
mov esi, dword [esp + 0x18]
push edi
push 2
push 0
push esi
mov edi, ecx
call ebx
push esi
call dword [sym.imp.MSVCR71.dll_ftell]
push 0
push 0
push esi
mov dword [esp + 0x30], eax
call ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
call ebx
push esi
push 1
lea ecx, [esp + 0x50]
push 4
push ecx
call ebx
push esi
push 1
lea edx, [esp + 0x54]
push 4
push edx
call ebx
mov eax, dword [esp + 0x58]
add esp, 0x4c
cmp eax, 0x100
jne 0x433edd
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0xc]
cmp edx, ecx
jne 0x433edd
push eax
mov dword [edi + 4], eax
call sub.MFC71.DLL_operator_new
mov edx, dword [esp + 0x20]
push esi
push edx
push 1
push eax
mov dword [edi], eax
call ebx
mov ecx, dword [esp + 0x30]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x433ed2
lea ecx, [ecx]
mov ecx, dword [edi]
mov dl, byte [ecx + eax]
add ecx, eax
add dl, 3
mov byte [ecx], dl
mov edx, dword [edi]
mov bl, byte [edx + eax]
lea ecx, [edx + eax]
xor bl, 0x47
mov byte [ecx], bl
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
jl 0x433eb0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xc
ret 4
Function at 0x437480
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x477269
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x40]
push edi
push ecx
push ebx
call fcn.00437300
mov esi, eax
cmp esi, 0xffffffff
jne 0x4374b5
mov esi, dword [ebx + 0x14]
mov eax, esi
sub eax, edi
push eax
push edi
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 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 + 0x28]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc