joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d66b0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fafc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
call fcn.004d2de0
add esp, 4
mov ebx, eax
mov dword [esp + 0x24], 0
lea edi, [esi + 0x18]
mov esi, dword [ebx + 4]
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 8]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ae1e0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x4d6750
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 4]
push ebx
call fcn.004d64a0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 8]
test edx, edx
jbe 0x4d6780
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
sub edx, 1
jne 0x4d6773
pop edi
pop esi
mov eax, ebx
pop ebx
ret 8

Function at 0x4d68c0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fafc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x10]
call fcn.004d2e00
mov ebx, eax
mov dword [esp + 0x24], 0
mov esi, dword [ebx + 4]
add edi, 0x18
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 8]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ae1e0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x4d6a90
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fafc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x10]
call fcn.004d2e20
mov ebx, eax
mov dword [esp + 0x24], 0
mov esi, dword [ebx + 4]
add edi, 0x18
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 8]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ae1e0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4d6b20
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fafc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x10]
call fcn.004d2e40
mov ebx, eax
mov dword [esp + 0x24], 0
mov esi, dword [ebx + 4]
add edi, 0x18
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 8]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ae1e0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x4d6bd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ec23d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea eax, [esi + 0xc]
mov dword [esi + 4], vtable.CryptoPP::AbstractRing_class_CryptoPP::PolynomialMod2_::MultiplicativeGroupT.0
push eax
mov dword [esi + 8], esi
mov dword [esi], vtable.CryptoPP::QuotientRing_class_CryptoPP::EuclideanDomainOf_class_CryptoPP::PolynomialMod2__.0
call fcn.004d3010
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esi + 0x30]
push edx
mov dword [esp + 0x18], 0
call fcn.004d3740
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x4d7720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605b04
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.004bfd60
push 2
push esi
mov ecx, eax
mov dword [esp + 0x38], 1
call fcn.004ad790
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.004ad880
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x4d77a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605b04
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.004d7720
push 1
push esi
mov ecx, eax
mov dword [esp + 0x38], 1
call fcn.004ad790
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.004ad880
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x4d9ab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6059e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.004cc2c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x1c], 1
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x4db310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f5249
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.004d3640
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x1c], 1
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4dd440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f520a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
call fcn.004b3c80
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], 0
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, esi
call edx
mov edx, dword [edi + 0xc]
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov esi, eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0xffffffff
call fcn.004ae410
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8

Function at 0x4dd510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f51da
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
push edi
call fcn.004ae240
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x1c], 1
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4df880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60a85e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.004e21c0
mov dword [esp + 0x54], 1
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004e22a0
mov edx, dword [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x6c]
mov ecx, esi
call fcn.004dfaf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, eax
cmp ecx, eax
jbe 0x4df918
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov ebx, ecx
cmp ecx, eax
jbe 0x4df928
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push edi
push ebp
push ebx
push ecx
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004e4590
add esp, 0x18
mov byte [esp + 0x54], 2
mov edx, dword [esi]
mov edi, dword [esp + 0x5c]
push eax
mov eax, dword [edx + 8]
push edi
mov ecx, esi
call eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x58], 1
call fcn.004ae410
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x58], 0
call fcn.004e2220
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4df9a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60a85e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.004e21c0
mov edi, dword [esp + 0x68]
mov dword [esp + 0x54], 1
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x44]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004e22a0
mov edx, dword [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x6c]
mov ecx, esi
call fcn.004dfaf0
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.004dfaf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, eax
cmp ecx, eax
jbe 0x4dfa69
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov ebx, ecx
cmp ecx, eax
jbe 0x4dfa79
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push edi
push ebp
push ebx
push eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004e4590
add esp, 0x18
mov byte [esp + 0x54], 2
mov edx, dword [esi]
mov edi, dword [esp + 0x5c]
push eax
mov eax, dword [edx + 8]
push edi
mov ecx, esi
call eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x58], 1
call fcn.004ae410
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x58], 0
call fcn.004e2220
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14

Function at 0x4e1030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60a60a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 8]
push eax
call fcn.004ae240
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
lea edx, [esi + 0x18]
mov dword [esp + 0x34], 0
call fcn.004e72c0
test al, al
jne 0x4e1087
call fcn.004bd1a0
mov eax, dword [esi - 4]
mov eax, dword [eax + 0xc]
lea ecx, [esi - 4]
lea edx, [esp + 8]
push edx
call eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x30], 0xffffffff
call fcn.004ae410
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc
Function at 0x4e1630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605912
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
push ecx
mov dword [esp + 0xc], esp
mov dword [esp + 0xc], esp
call fcn.004e3f90
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.004cc2c0
push eax
mov eax, dword [esp + 0x38]
push eax
push esi
mov byte [esp + 0x34], 1
call fcn.004e2600
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8

Function at 0x4e17b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fadc4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
push ecx
mov dword [esp + 0xc], esp
mov dword [esp + 0xc], esp
push esi
call fcn.004f2b60
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0
call fcn.004ae240
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push esi
mov byte [esp + 0x3c], 1
call fcn.004e2a20
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x34], 0
call fcn.004ae410
mov dword [esp + 0x30], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8

Function at 0x4e1e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f51a2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push ecx
mov dword [esp + 0xc], esp
mov dword [esp + 0xc], esp
call fcn.004e3f90
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.004d3640
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
mov byte [esp + 0x2c], 1
call fcn.004e3290
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004ae1e0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 8
Function at 0x4e6500
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x60815b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x30]
lea ebp, [esi + esi + 2]
cmp ebp, ebx
mov dword [esp + 0x18], esi
jge 0x4e667b
mov ebx, dword [esp + 0x2c]
lea eax, [ebp + ebp*2]
shl eax, 4
add eax, ebx
lea edx, [eax - 0x14]
add eax, 0x1c
mov edi, 1
cmp dword [eax + 0x10], edi
je 0x4e656e
cmp dword [edx + 0x10], edi
je 0x4e6580
call fcn.004cf320
jmp 0x4e657a
cmp dword [edx + 0x10], edi
jne 0x4e657e
call fcn.004cf320
neg eax
test eax, eax
jge 0x4e6580
sub ebp, edi
lea edi, [ebp + ebp*2]
shl edi, 4
mov cl, byte [edi + ebx]
lea esi, [esi + esi*2]
add edi, ebx
shl esi, 4
add esi, ebx
mov byte [esi], cl
mov ebx, dword [edi + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x4e65dc
lea edx, [eax*4]
push edx
push 0
push ecx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCR90.dll_free]
push ebx
call fcn.004b4f50
add esp, 0x14
test ebx, ebx
jne 0x4e65d3
xor eax, eax
jmp 0x4e65da
mov eax, ebx
call fcn.004b45b0
mov ecx, eax
lea eax, [ebx*4]
push eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], ebx
mov edx, dword [edi + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov ebx, dword [edi + 0x14]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
add esp, 0x10
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x4e663c
add eax, eax
add eax, eax
push eax
push 0
push ecx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
push ebx
call fcn.004b4f50
add esp, 0x14
test ebx, ebx
jne 0x4e6633
xor eax, eax
jmp 0x4e663a
mov eax, ebx
call fcn.004b45b0
mov ecx, eax
lea eax, [ebx*4]
push eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ebx
mov edx, dword [edi + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
add esi, 0x1c
add edi, 0x1c
push esi
call fcn.004cc780
mov esi, ebp
lea ebp, [ebp + ebp + 2]
cmp ebp, dword [esp + 0x30]
jl 0x4e6545
mov ebx, dword [esp + 0x30]
cmp ebp, ebx
mov ebp, dword [esp + 0x2c]
jne 0x4e66a9
lea eax, [ebx + ebx*2]
shl eax, 4
lea esi, [esi + esi*2]
lea edi, [eax + ebp - 0x30]
shl esi, 4
push edi
add esi, ebp
push esi
call fcn.004ae600
add esi, 0x1c
add edi, 0x1c
push esi
call fcn.004cc780
lea esi, [ebx - 1]
sub esp, 0x30
mov edi, esp
mov dword [esp + 0x60], esp
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x48], edi
call fcn.004b3c80
lea ecx, [esp + 0x80]
push ecx
add edi, 0x1c
mov byte [esp + 0x58], 1
call fcn.004cc3a0
mov edx, dword [esp + 0x48]
push edx
mov byte [esp + 0x58], 3
push ebp
mov ecx, esi
mov byte [esp + 0x5c], 0
call fcn.004e67d0
add esp, 0x38
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 4
call fcn.004ad940
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ae410
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4e9fd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ecx, edi
shr ecx, 2
xor ebx, ebx
test ecx, ecx
jbe 0x4ea002
mov eax, edx
sub esi, edx
mov ebx, ecx
push ebp
jmp 0x4e9ff0
mov ebp, dword [esi + eax]
xor dword [eax], ebp
add eax, 4
sub ecx, 1
jne 0x4e9ff0
mov esi, dword [esp + 0x14]
pop ebp
lea eax, [ebx*4]
sub edi, eax
je 0x4ea02b
add edx, eax
add esi, eax
test edi, edi
jbe 0x4ea02b
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea ecx, [ecx]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x4ea020
pop edi
pop esi
pop ebx
ret
Function at 0x4f4460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f19d2
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1c]
push 0x24
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x4f44a6
push eax
call fcn.004f41f0
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, esi
call sub.mfc90u.dll_CMenu::Attach
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 8]
call fcn.004f4fa0
mov eax, ebx
call fcn.004f70d0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4f44f9
lea esp, [esp]
lea ecx, [esp + 0x1c]
call fcn.004f70e0
push esi
push eax
mov ecx, edi
call fcn.004f4890
cmp dword [esp + 0x1c], 0
jne 0x4f44e0
test esi, esi
je 0x4f4500
mov esi, dword [esi + 4]
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x14], 1
call fcn.004221b0
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push esi
push 0x10
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004740c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x4f60d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f4ddd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.VMenuToolbarRep.0
mov dword [esp + 0x14], 7
call fcn.004f61a0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0xac]
call fcn.004740c0
mov byte [esp + 0x14], 5
lea eax, [esi + 0x98]
call fcn.004f56d0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x68]
call fcn.00475600
mov byte [esp + 0x14], 3
lea eax, [esi + 0x4c]
call fcn.004f67b0
mov byte [esp + 0x14], 2
lea eax, [esi + 0x30]
call fcn.004f66c0
mov byte [esp + 0x14], 1
lea eax, [esi + 0x14]
call fcn.004f6570
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.004740c0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 8]
call fcn.004740c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4fba20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x600103
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
or edi, 0xffffffff
mov eax, str.ButtonBar
lea esi, [esp + 0x10]
call fcn.004728e0
mov dword [esp + 0x38], 0
call fcn.00428860
mov ecx, eax
lea edi, [esp + 0x1c]
call fcn.00486580
mov byte [esp + 0x38], 1
mov eax, esi
call fcn.004221b0
mov ecx, eax
mov eax, edi
call fcn.0048d610
push eax
mov eax, ecx
lea esi, [esp + 0x18]
call fcn.0047b2d0
mov byte [esp + 0x38], 2
push 0x54
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 3
test eax, eax
je 0x4fbac4
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
push ecx
push eax
call fcn.004fbda0
mov esi, eax
jmp 0x4fbac6
xor esi, esi
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x14]
call fcn.0047b2f0
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x1c]
call fcn.004866e0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004740c0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4