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

Disassembly:
sub esp, 0x310
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x41beac
xor eax, eax
pop esi
add esp, 0x310
ret 4
lea eax, [esp + 0x110]
lea edx, [esi + 0x13c]
mov ecx, eax
push edi
mov edi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x41bed2
mov byte [eax], cl
inc eax
dec edi
jne 0x41bec3
jmp 0x41bed6
test edi, edi
jne 0x41bed7
dec eax
mov edi, dword [esp + 0x31c]
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [eax], 0
call fcn.0041b600
mov al, byte [esp + 0x10]
test al, al
je 0x41bf02
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041bad0
push ebx
push edi
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.0041b550
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x41bf47
mov ebx, dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 1
jne 0x41bf40
add eax, 8
push eax
lea edx, [esp + 0x220]
push edx
call ebx
add esp, 8
test eax, eax
je 0x41bf47
mov edi, dword [edi]
cmp edi, dword [esi + 0xc]
jne 0x41bf22
cmp edi, dword [esi + 0xc]
jne 0x41bf5a
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x118]
mov edx, dword [esi + 4]
push ebp
push 0
add ecx, 0x114
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [edi + 8]
mov ebx, dword [eax + 0x108]
push ebx
call sub.MFC71.DLL_operator_new
mov ecx, dword [esi + 4]
push ecx
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.MSVCR71.dll_fread]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10c]
push eax
mov dword [esp + 0x38], eax
call sub.MFC71.DLL_operator_new
add esp, 0x24
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00463660
test eax, eax
push ebp
je 0x41bfe3
call sub.MFC71.DLL_operator_delete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC71.DLL_operator_delete
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
call sub.MFC71.DLL_operator_delete
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov edi, dword [edi + 8]
add esp, 4
add edi, 8
mov edx, 0x100
lea eax, [esi + 0x1c]
mov cl, byte [edi]
test cl, cl
je 0x41c013
mov byte [eax], cl
inc eax
inc edi
dec edx
jne 0x41c002
xor ecx, ecx
jmp 0x41c019
xor ecx, ecx
cmp edx, ecx
jne 0x41c01a
dec eax
mov edx, dword [esp + 0x10]
mov byte [eax], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x120], eax
mov dword [esi + 0x134], eax
mov al, byte [esp + 0x18]
test al, al
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ecx
mov dword [esi + 0x128], ecx
mov dword [esi + 0x130], edx
mov dword [esi + 0x138], ecx
je 0x41c066
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.0041bad0
pop ebp
pop ebx
pop edi
lea eax, [esi + 0x14]
pop esi
add esp, 0x310
ret 4
Function at 0x41c120
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476c5c
mov eax, dword fs:[0]
push eax
mov eax, 0x3f0c
mov dword fs:[0], esp
call fcn.00462d10
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 [0x47f138]
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 0x41c1ad
lea eax, [esp + 0x18]
push eax
call fcn.00422880
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.00422a70
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00422b10
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c256
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c1d8
mov esi, dword [esp + 0x3f2c]
push 0x4807da
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c2db
lea edx, [esp + 0x18]
push edx
call fcn.00422880
mov eax, dword [ebp + 8]
push 0x4807c4
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 0x41c231
push esi
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00422a70
add esp, 0xc
cmp esi, 0x3e80
je 0x41c200
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00422b10
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 0x41c280
sub eax, edx
cmp eax, 1
jne 0x41c2a0
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 [0x47f378]
inc esi
cmp esi, 0x20
jl 0x41c261
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 + 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 0x41c310
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476ca7
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00462d10
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call dword [0x47f138]
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.00422ee0
cmp dword [edi + 0x14], esi
mov ebx, 2
mov byte [esp + 0x3efc], bl
jne 0x41c3ae
lea ecx, [esp + 0x1c]
call fcn.00422c50
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.00422c80
push 0x10
push ebp
lea ecx, [esp + 0x24]
call fcn.00422e30
cmp dword [edi + 0x14], ebx
jne 0x41c44d
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x41c3da
mov esi, dword [esp + 0x3f04]
push 0x4807da
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c4d3
lea ecx, [esp + 0x1c]
call fcn.00422c50
mov eax, dword [edi + 8]
push 0x4807c4
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 0x41c427
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.00422c80
cmp esi, 0x3e80
je 0x41c400
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.00422e30
mov ebp, dword [esp + 0x10]
lea ebx, [edi + 0x1c]
mov edi, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c460
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 0x41c478
sub eax, edx
cmp eax, 1
jne 0x41c498
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 [0x47f378]
inc esi
cmp esi, 0x10
jl 0x41c460
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_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 + 0x1c]
mov byte [esp + 0x3efc], 1
mov dword [esp + 0x18], 1
call fcn.00422f20
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 0x41c520
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476ccc
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee0
mov dword fs:[0], esp
call fcn.00462d10
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 [0x47f138]
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 0x41c5ad
lea eax, [esp + 0x18]
push eax
call fcn.00422fb0
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.00423630
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004236f0
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41c650
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c5d8
mov esi, dword [esp + 0x3f00]
push 0x4807da
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41c6d3
lea edx, [esp + 0x18]
push edx
call fcn.00422fb0
mov eax, dword [ebp + 8]
push 0x4807c4
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 0x41c62b
push esi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00423630
add esp, 0xc
cmp esi, 0x3e80
je 0x41c600
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004236f0
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41c660
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 0x41c678
sub eax, edx
cmp eax, 1
jne 0x41c698
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 [0x47f378]
inc esi
cmp esi, 0x10
jl 0x41c660
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 + 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 0x41c910
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d0c
mov eax, dword fs:[0]
push eax
mov eax, 0x3ee4
mov dword fs:[0], esp
call fcn.00462d10
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 [0x47f138]
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 0x41c99d
lea eax, [esp + 0x18]
push eax
call fcn.00424a30
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.00424a70
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00424b00
add esp, 0x14
cmp dword [ebp + 0x14], 2
jne 0x41ca40
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], esi
jne 0x41c9c8
mov esi, dword [esp + 0x3f04]
push 0x4807da
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41cac3
lea edx, [esp + 0x18]
push edx
call fcn.00424a30
mov eax, dword [ebp + 8]
push 0x4807c4
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 0x41ca1b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
call fcn.00424a70
add esp, 0xc
cmp esi, 0x3e80
je 0x41c9f0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00424b00
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ebx, [ebp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll__itoa]
xor esi, esi
jmp 0x41ca50
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 0x41ca68
sub eax, edx
cmp eax, 1
jne 0x41ca88
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 [0x47f378]
inc esi
cmp esi, 0x14
jl 0x41ca50
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 0x41caf0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d2c
mov eax, dword fs:[0]
push eax
mov eax, 0x3f64
mov dword fs:[0], esp
call fcn.00462d10
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 [0x47f138]
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 0x41cb91
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00428bd0
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.00428c80
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00428cb0
add esp, 0x14
cmp dword [ebx + 0x14], 2
jne 0x41cc4a
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], esi
jne 0x41cbbc
mov esi, dword [esp + 0x3f84]
push 0x4807da
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x41cccd
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00428bd0
mov eax, dword [ebx + 8]
push 0x4807c4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
mov edi, eax
jmp 0x41cbf0
push edi
push 0x3e80
lea ecx, [esp + 0xfc]
push 1
push ecx
call ebp
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cc21
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.00428c80
add esp, 0xc
cmp esi, 0x3e80
je 0x41cbf0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00428cb0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x41cca2
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 0x41cc70
sub eax, edx
cmp eax, 1
jne 0x41cc8f
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 [0x47f378]
inc esi
cmp esi, edi
jl 0x41cc50
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 0x41dc40
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 0x41ddc2
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x41dc7a
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x41dc8f
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 0x41dddb
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 0x41dd82
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.WAVE
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x41dced
push 0x483b24
push edi
push eax
call ebp
mov esi, eax
test esi, esi
je 0x41dddb
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41dddb
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x41dddb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41dddb
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 0x41dd50
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.0041d340
mov esi, eax
test esi, esi
jge 0x41dda7
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.0041d4c0
test eax, eax
jl 0x41de1b
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 0x41ddea
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.0041d7f0
mov esi, eax
test esi, esi
jge 0x41de14
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.0041d4c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x4212b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476e3e
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], 0x483b80
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.00420e00
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.00420e00
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 0x422c80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
push ebp
mov ebp, ecx
je 0x422e2b
push ebx
push esi
push edi
mov esi, dword [ebp + 0x54]
mov eax, 0x10
sub eax, esi
cmp eax, edx
jb 0x422ca2
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 0x422e20
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 0x422d10
xor cl, cl
lea esi, [ebp + 5]
jmp 0x422db0
mov eax, esi
mov edx, 8
jmp 0x422dc0
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 0x422dc0
add cl, bl
inc ebx
cmp ebx, 0x12
jl 0x422db0
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x422c92
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422fb0
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