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

Disassembly:
push 0xffffffffffffffff
push 0x464adc
mov eax, dword fs:[0]
push eax
mov eax, 0x3f0c
mov dword fs:[0], esp
call fcn.00450c50
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 [0x46e148]
push 0x100
mov dword [esp + 0x3f28], 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 0x41b97d
lea eax, [esp + 0x18]
push eax
call fcn.00422050
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
add esp, 4
push eax
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00422240
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004222e0
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41ba26
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41b9a8
mov esi, dword [esp + 0x3f2c]
push 0x46f7fe
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41baab
lea edx, [esp + 0x18]
push edx
call fcn.00422050
mov eax, dword [ebp + 8]
push 0x46f7e8
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 + 0xa4]
push 1
push eax
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ba01
push esi
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00422240
add esp, 0xc
cmp esi, 0x3e80
je 0x41b9d0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004222e0
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
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]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ba50
sub eax, edx
cmp eax, 1
jne 0x41ba70
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 [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
inc esi
cmp esi, 0x20
jl 0x41ba31
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]
mov esi, dword [esp + 0x3f2c]
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 + 0x3f1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3f18
ret 4
Function at 0x41bae0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x464b27
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00450c50
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call dword [0x46e148]
mov esi, 1
push 0x100
mov dword [esp + 0x3f00], esi
call sub.MFC71.DLL_operator_new
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ebp
call fcn.004226b0
cmp dword [edi + 0x14], esi
mov ebx, 2
mov byte [esp + 0x3efc], bl
jne 0x41bb7e
lea ecx, [esp + 0x1c]
call fcn.00422420
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push eax
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x24]
call fcn.00422450
push 0x10
push ebp
lea ecx, [esp + 0x24]
call fcn.00422600
cmp dword [edi + 0x14], ebx
jne 0x41bc1d
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x41bbaa
mov esi, dword [esp + 0x3f04]
push 0x46f7fe
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41bca3
lea ecx, [esp + 0x1c]
call fcn.00422420
mov eax, dword [edi + 8]
push 0x46f7e8
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
add esp, 8
mov ebp, eax
lea ecx, [ecx]
push ebp
push 0x3e80
lea edx, [esp + 0x7c]
push 1
push edx
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bbf7
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.00422450
cmp esi, 0x3e80
je 0x41bbd0
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
add esp, 4
push 0x10
push ecx
lea ecx, [esp + 0x24]
call fcn.00422600
mov ebp, dword [esp + 0x10]
lea ebx, [edi + 0x1c]
mov edi, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41bc30
movzx eax, byte [esi + ebp]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call edi
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bc48
sub eax, edx
cmp eax, 1
jne 0x41bc68
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 [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
inc esi
cmp esi, 0x10
jl 0x41bc30
push ebp
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
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 + 0x1c]
mov byte [esp + 0x3efc], 1
mov dword [esp + 0x18], 1
call fcn.004226f0
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 0x41bcf0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x464b4c
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee0
mov dword fs:[0], esp
call fcn.00450c50
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 [0x46e148]
push 0x100
mov dword [esp + 0x3efc], 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 0x41bd7d
lea eax, [esp + 0x18]
push eax
call fcn.00422780
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
add esp, 4
push eax
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00422e00
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00422ec0
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41be20
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41bda8
mov esi, dword [esp + 0x3f00]
push 0x46f7fe
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41bea3
lea edx, [esp + 0x18]
push edx
call fcn.00422780
mov eax, dword [ebp + 8]
push 0x46f7e8
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 + 0x78]
push 1
push eax
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bdfb
push esi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00422e00
add esp, 0xc
cmp esi, 0x3e80
je 0x41bdd0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00422ec0
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41be30
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 0x41be48
sub eax, edx
cmp eax, 1
jne 0x41be68
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 [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
inc esi
cmp esi, 0x10
jl 0x41be30
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]
mov esi, dword [esp + 0x3f00]
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 + 0x3ef0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3eec
ret 4
Function at 0x41c0e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x464b8c
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00450c50
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 [0x46e148]
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 0x41c16d
lea eax, [esp + 0x18]
push eax
call fcn.00424200
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.00424240
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004242d0
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c210
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c198
mov esi, dword [esp + 0x3f04]
push 0x46f7fe
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c293
lea edx, [esp + 0x18]
push edx
call fcn.00424200
mov eax, dword [ebp + 8]
push 0x46f7e8
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 0x41c1eb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
call fcn.00424240
add esp, 0xc
cmp esi, 0x3e80
je 0x41c1c0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004242d0
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c220
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 0x41c238
sub eax, edx
cmp eax, 1
jne 0x41c258
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 [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
inc esi
cmp esi, 0x14
jl 0x41c220
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]
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 0x41c2c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x464bac
mov eax, dword fs:[0]
push eax
mov eax, 0x3f64
mov dword fs:[0], esp
call fcn.00450c50
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 [0x46e148]
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 0x41c361
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004283a0
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.00428450
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00428480
add esp, 0x14
cmp dword [ebx + 0x14], 2
jne 0x41c41a
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c38c
mov esi, dword [esp + 0x3f84]
push 0x46f7fe
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c49d
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004283a0
mov eax, dword [ebx + 8]
push 0x46f7e8
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
mov edi, eax
jmp 0x41c3c0
push edi
push 0x3e80
lea ecx, [esp + 0xfc]
push 1
push ecx
call ebp
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c3f1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.00428450
add esp, 0xc
cmp esi, 0x3e80
je 0x41c3c0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00428480
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x41c472
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 0x41c440
sub eax, edx
cmp eax, 1
jne 0x41c45f
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 [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
inc esi
cmp esi, edi
jl 0x41c420
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]
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 0x41d410
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 0x41d592
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x41d44a
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x41d45f
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 0x41d5ab
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 0x41d552
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.WAVE
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x41d4bd
push 0x472918
push edi
push eax
call ebp
mov esi, eax
test esi, esi
je 0x41d5ab
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d5ab
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x41d5ab
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41d5ab
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 0x41d520
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.0041cb10
mov esi, eax
test esi, esi
jge 0x41d577
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.0041cc90
test eax, eax
jl 0x41d5eb
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 0x41d5ba
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.0041cfc0
mov esi, eax
test esi, esi
jge 0x41d5e4
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.0041cc90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x420a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464cbe
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], 0x472970
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.004205d0
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.004205d0
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 0x422450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
push ebp
mov ebp, ecx
je 0x4225fb
push ebx
push esi
push edi
mov esi, dword [ebp + 0x54]
mov eax, 0x10
sub eax, esi
cmp eax, edx
jb 0x422472
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 0x4225f0
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 0x4224e0
xor cl, cl
lea esi, [ebp + 5]
jmp 0x422580
mov eax, esi
mov edx, 8
jmp 0x422590
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 0x422590
add cl, bl
inc ebx
cmp ebx, 0x12
jl 0x422580
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x422462
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422780
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 0x423af0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x800
push ebx
push ebp
push 0x46f7e8
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, eax
xor ebx, ebx
add esp, 8
cmp ebp, ebx
jne 0x423b1e
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 0x423b70
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.004238f0
add esp, 0x1c
cmp esi, 0x800
jge 0x423b70
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
push edi
call fcn.004239f0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x800
ret
Function at 0x424200
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