joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004adac0
add esp, 8
add esi, 0x20
push esi
mov edi, eax
mov dword [esp + 0x2c], 0
call fcn.004cc780
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x4d09f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
call fcn.004cc870
add esi, 0x20
push esi
mov edi, eax
mov dword [esp + 0x2c], 0
call fcn.004cc780
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4d0a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004adb20
add esp, 8
add esi, 0x20
push esi
mov edi, eax
mov dword [esp + 0x2c], 0
call fcn.004cc780
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x4d0b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004adb80
add esp, 8
add esi, 0x20
push esi
mov edi, eax
mov dword [esp + 0x2c], 0
call fcn.004cc780
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x4d0cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
call fcn.004cf5c0
add esi, 0x20
push esi
mov edi, eax
mov dword [esp + 0x2c], 0
call fcn.004cc780
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4d2220
Capabilities:
Hash data using sha256

Disassembly:
push 0xffffffffffffffff
push 0x5fb1d7
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004b4250
lea eax, [ebx + 0x60]
push eax
mov dword [esp + 0x1c], 2
call fcn.004b48f0
mov byte [esp + 0x18], 3
mov edi, dword [ebx + 0xac]
mov ecx, 8
mov esi, 0x6dd694
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x4d2870
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xffffffffffffffff
push 0x5eed29
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
call fcn.004d2b00
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4d28e4
push 0x6db7fc
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x5c], 0
call fcn.004d2670
push 0x703c54
lea edx, [esp + 0x24]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret 8

Function at 0x4d2f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1d2d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0xc]
mov dword [esi + 4], vtable.CryptoPP::AbstractRing_class_CryptoPP::PolynomialMod2_::MultiplicativeGroupT.0
lea ecx, [edi + 0xc]
push eax
mov dword [esi + 8], esi
mov dword [esi], vtable.CryptoPP::QuotientRing_class_CryptoPP::EuclideanDomainOf_class_CryptoPP::PolynomialMod2__.0
call fcn.004d3010
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
push ecx
mov dword [esp + 0x1c], 0
call fcn.004d3740
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4d2fa0
Capabilities:
Access peb ldr_data

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 ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
call fcn.004ae1e0
add esi, 0xc
push esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004d3080
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4d3cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x600aba
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ecx, ecx
lea esi, [esp + 0xc]
call fcn.004bc280
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0x10], vtable.CryptoPP::DERGeneralEncoder.1.0
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push edi
mov edi, esi
call fcn.004d3c70
call fcn.004bdfa0
mov ecx, esi
push ecx
mov dword [esp + 0x4c], 0xffffffff
call fcn.004bdf10
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005e038a
add esp, 0x40
ret 8
Function at 0x4d4030
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5f54c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
mov esi, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp esi, edi
je 0x4d4098
lea eax, [ecx + esi*4 - 4]
cmp dword [eax], edi
jne 0x4d4083
dec esi
sub eax, 4
cmp esi, edi
jne 0x4d4075
jmp 0x4d4098
cmp esi, edi
je 0x4d4098
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
mov edi, eax
shl esi, 5
add edi, esi
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
test esi, esi
je 0x4d40c1
lea eax, [ecx + esi*4 - 4]
lea ebx, [ebx]
cmp dword [eax], 0
jne 0x4d41b3
dec esi
sub eax, 4
test esi, esi
jne 0x4d40b0
xor eax, eax
push 0
lea ecx, [eax + edi]
push ebx
call fcn.004d36a0
mov dword [esp + 0x20], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], 1
test esi, esi
je 0x4d4101
lea eax, [ecx + esi*4 - 4]
lea esp, [esp]
cmp dword [eax], 0
jne 0x4d41cf
dec esi
sub eax, 4
test esi, esi
jne 0x4d40f0
xor eax, eax
lea ebp, [eax - 1]
test ebp, ebp
jl 0x4d419b
mov edx, dword [ebx + 4]
test edx, edx
je 0x4d4150
mov ecx, dword [ebx + 8]
xor edi, edi
test edx, edx
je 0x4d4150
mov edi, edi
mov eax, dword [ecx]
lea esi, [eax + eax]
or esi, edi
dec edx
mov dword [ecx], esi
shr eax, 0x1f
add ecx, 4
mov edi, eax
test edx, edx
jne 0x4d4120
test edi, edi
je 0x4d4150
mov eax, dword [ebx + 4]
lea esi, [eax + 1]
push ebx
call fcn.004d6410
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [eax + ecx*4 - 4], edi
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 4]
mov eax, ebp
shr eax, 5
cmp eax, ecx
jae 0x4d4192
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
mov ecx, ebp
and ecx, 0x1f
shr eax, cl
and eax, 1
je 0x4d4192
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 8]
test edx, edx
jbe 0x4d4192
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
sub edx, 1
jne 0x4d4185
sub ebp, 1
jns 0x4d410e
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
test esi, esi
je 0x4d40c1
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
shl esi, 5
add eax, esi
jmp 0x4d40c3
test esi, esi
je 0x4d4101
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
shl esi, 5
add eax, esi
jmp 0x4d4103
Function at 0x4d4290
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebx + 4]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x3c]
test ecx, ecx
jbe 0x4d42bd
mov edx, dword [ebx + 8]
lea esp, [esp]
cmp dword [edx], 0
jne 0x4d42d6
inc eax
add edx, 4
cmp eax, ecx
jb 0x4d42b0
lea eax, [esp + 0xc]
push eax
call fcn.004d2c30
push 0x703c90
lea ecx, [esp + 0x10]
push ecx
call sub.MSVCR90.dll__CxxThrowException
push esi
push edi
mov eax, ebx
call fcn.004d2cb0
lea esi, [eax + 0x20]
shr esi, 5
mov edi, ebp
mov dword [esp + 0x10], eax
call fcn.004d6da0
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
add edx, edx
add edx, edx
push edx
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [esp + 0x58]
add esp, 0xc
mov eax, edi
call fcn.004d3e20
mov esi, eax
mov eax, ebx
call fcn.004d3e20
cmp esi, eax
jb 0x4d435a
mov eax, ebx
call fcn.004d3e20
mov esi, 0x20
sub esi, eax
mov eax, edi
call fcn.004d3e20
mov edi, dword [esp + 0x48]
add esi, eax
shr esi, 5
call fcn.004d6da0
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call sub.MSVCR90.dll_memset
mov edi, dword [esp + 0x58]
jmp 0x4d439c
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
test eax, eax
je 0x4d4388
add eax, eax
add eax, eax
push eax
push 0
push esi
call sub.MSVCR90.dll_memset
push esi
call dword [sym.imp.MSVCR90.dll_free]
push 0
call fcn.004b4f50
add esp, 0x14
xor esi, esi
push 0
push 0
push esi
mov dword [ebx + 8], esi
mov dword [ebx + 4], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, edi
call fcn.004d2cb0
mov ebx, eax
test ebx, ebx
jl 0x4d444b
push ebp
call fcn.004d45c0
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp + 8]
mov edi, ebx
shr edi, 5
cmp edi, dword [eax + 4]
jae 0x4d43d9
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
mov ecx, ebx
and ecx, 0x1f
shr eax, cl
and eax, 1
jmp 0x4d43db
xor eax, eax
or dword [edx], eax
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.004d2cf0
test eax, eax
je 0x4d4442
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + 4]
push ebp
call fcn.004d64a0
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
test edx, edx
jbe 0x4d441d
sub ecx, eax
lea esp, [esp]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
sub edx, 1
jne 0x4d4410
mov edx, dword [esp + 0x48]
lea esi, [edi + 1]
push edx
call fcn.004d64a0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
lea eax, [ecx + edi*4]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
or dword [eax], edx
sub ebx, 1
jns 0x4d43b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x4d4480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fb131
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 + 0x2c]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.004d3640
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.004d3640
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x14]
push esi
push edx
mov dword [esp + 0x18], 1
call fcn.004d4290
add esp, 0x10
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 0xc

Function at 0x4d4520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fb0f1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov ecx, esi
mov dword [esp + 0xc], ebx
call fcn.004d3640
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.004d3640
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x34], 1
call fcn.004d4290
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.004ae1e0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x4d46c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5493
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.004d6630
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], 1
mov edx, dword [eax]
mov edx, dword [edx + 0x64]
push ecx
mov ecx, eax
call edx
push eax
push esi
call fcn.004d3740
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 1
mov byte [esp + 0x3c], 0
call fcn.004d3080
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4d4750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x600a90
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
test esi, esi
je 0x4d47a1
lea eax, [ecx + esi*4 - 4]
lea esp, [esp]
cmp dword [eax], 0
jne 0x4d4857
dec esi
sub eax, 4
test esi, esi
jne 0x4d4790
xor eax, eax
lea esi, [eax - 1]
test esi, esi
jle 0x4d497e
push 2
lea eax, [esp + 0x28]
push eax
mov ecx, 0x20
call fcn.004d36a0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x70], 0
call fcn.004d3740
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
mov byte [esp + 0x68], 1
mov dword [esp + 0x70], 1
mov dword [esp + 0x14], eax
jl 0x4d4928
lea eax, [esp + 0x3c]
push eax
lea esi, [esp + 0x1c]
call fcn.004d41f0
mov ecx, eax
mov eax, ebp
lea esi, [esp + 0x30]
mov byte [esp + 0x68], 2
call fcn.004d2e40
mov edi, eax
mov byte [esp + 0x68], 3
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, ecx
cmp eax, esi
je 0x4d487c
lea edx, [eax*4]
push edx
push 0
push ecx
call sub.MSVCR90.dll_memset
push ebx
call dword [sym.imp.MSVCR90.dll_free]
push esi
call fcn.004b4f50
add esp, 0x14
test esi, esi
jne 0x4d4873
xor eax, eax
jmp 0x4d487a
test esi, esi
je 0x4d47a1
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
shl esi, 5
add eax, esi
jmp 0x4d47a3
mov eax, esi
call fcn.004b45b0
mov ecx, eax
lea eax, [esi*4]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov edx, dword [edi + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 2
call fcn.004ae1e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 1
call fcn.004ae1e0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
call fcn.004d2de0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x78], 4
call fcn.004d46c0
add esp, 0x10
mov esi, eax
mov byte [esp + 0x68], 5
call fcn.004d6ea0
push eax
push esi
call fcn.004d4610
test al, al
lea ecx, [esp + 0x48]
sete bl
mov byte [esp + 0x68], 4
call fcn.004ae1e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], 1
call fcn.004ae1e0
test bl, bl
jne 0x4d495f
mov eax, dword [esp + 0x70]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
jle 0x4d47f7
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.004ae1e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.004ae1e0
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.004ae1e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.004ae1e0
xor al, al
jmp 0x4d4949
Function at 0x4d4990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5454
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
mov esi, ecx
mov edi, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
call fcn.004d6630
push esi
push edi
mov ecx, eax
mov dword [esp + 0x40], 0
call fcn.004d6bd0
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x3c], 2
call fcn.004d3080
mov dword [edi], vtable.CryptoPP::GF2NP.0
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
test esi, esi
je 0x4d4a0d
lea eax, [ecx + esi*4 - 4]
lea esp, [esp]
cmp dword [eax], 0
jne 0x4d4a29
dec esi
sub eax, 4
test esi, esi
jne 0x4d4a00
xor eax, eax
dec eax
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
test esi, esi
je 0x4d4a0d
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
shl esi, 5
add eax, esi
jmp 0x4d4a0f

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

Disassembly:
push 0xffffffffffffffff
push 0x5fb030
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push eax
push edi
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.004d3940
add esp, 0x10
push esi
mov ecx, eax
mov dword [esp + 0x24], 0
call fcn.004d4990
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.004ae1e0
mov ecx, dword [esi + 0x3c]
push 0
lea edx, [esi + 0x48]
push edx
mov dword [esi], vtable.CryptoPP::GF2NT.0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], edi
call fcn.004d36a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 0xc
Function at 0x4d57e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5f5418
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x18]
jb 0x4d5827
lea eax, [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebx + 0x3c]
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], ebp
call fcn.004d36a0
mov dword [esp + 0x30], 0
mov eax, dword [ebx + 0x3c]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub eax, 1
mov dword [esp + 0x14], eax
js 0x4d593e
mov ecx, dword [ebx + 0x3c]
dec ecx
mov eax, ecx
shr eax, 5
cmp eax, edx
jae 0x4d58bd
mov eax, dword [edi + eax*4]
and ecx, 0x1f
shr eax, cl
and eax, 1
je 0x4d58bd
xor esi, esi
xor ecx, ecx
test edx, edx
jbe 0x4d58a1
mov edi, edi
mov eax, dword [edi + ecx*4]
lea ebp, [eax + eax]
or ebp, esi
mov dword [edi + ecx*4], ebp
shr eax, 0x1f
inc ecx
mov esi, eax
cmp ecx, edx
jb 0x4d5880
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov esi, dword [ebx + 0x38]
xor eax, eax
mov ecx, edi
test edx, edx
jbe 0x4d58e6
lea esp, [esp]
mov edi, dword [esi + eax*4]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, edx
jb 0x4d58b0
jmp 0x4d58de
xor esi, esi
xor ecx, ecx
test edx, edx
jbe 0x4d58e6
mov eax, dword [edi + ecx*4]
lea ebp, [eax + eax]
or ebp, esi
mov dword [edi + ecx*4], ebp
shr eax, 0x1f
inc ecx
mov esi, eax
cmp ecx, edx
jb 0x4d58c5
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
shr eax, 5
cmp eax, ecx
jae 0x4d5933
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + eax*4]
and ecx, 0x1f
shr eax, cl
and eax, 1
je 0x4d5933
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 8]
xor eax, eax
mov ecx, edi
test ebp, ebp
jbe 0x4d5933
jmp 0x4d5920
mov edx, dword [esi + eax*4]
xor dword [ecx + eax*4], edx
inc eax
cmp eax, ebp
jb 0x4d5920
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub dword [esp + 0x14], 1
jns 0x4d585c
mov ecx, dword [ebx + 0x3c]
and ecx, 0x1f
je 0x4d5965
mov esi, dword [edi + edx*4 - 4]
cmp ecx, 0x20
jae 0x4d595b
mov eax, 1
shl eax, cl
dec eax
and eax, esi
jmp 0x4d595d
mov eax, esi
mov dword [edi + edx*4 - 4], eax
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x50]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x1c]
lea esi, [ebx + 0x48]
mov dword [esp + 0x30], 0xffffffff
call fcn.004ae1e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8