joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x4807d3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.0047c320
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x480805
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x480800
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x480920
jmp 0x48082a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x480834
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x48088b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x480870
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5a5cf0]
cmp cl, byte [ebx + 0x5a5cf0]
jne 0x48086d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x480850
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x5a5cf0]
movzx eax, byte [eax + 0x5a5cf0]
sub eax, ecx
jne 0x4808ed
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x4808cd
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x4808c6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4808a5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x4808cf
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00466580
add esp, 8
test eax, eax
je 0x480941
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x480900
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x480827
cmp dword [ebp - 0x24], 0
je 0x480920
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
call fcn.00480000
add esp, 0x14
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x4807d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x4808ed
Function at 0x481b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor eax, eax
test dword [edx + 0x18], 0x4000000
mov dword [ebp - 4], eax
je 0x481c79
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x481b96
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x481b8c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x481b7c
or eax, 0xffffffff
jmp 0x481b83
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x481b70
mov edi, dword [edi + 4]
test edi, edi
jne 0x481b60
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x481ba5
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x481bc2
cmp byte [esi], 0
je 0x481bb6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x481bb0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x481c07
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x481c01
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x481be0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x481c09
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00466580
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x481c73
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x481c73
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.004818f0
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x481c6c
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
jle 0x481c6c
mov edx, dword [eax + 4]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x481c5c
or eax, 0xffffffff
jmp 0x481c63
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x481c50
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x481c22
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x489970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x489a28
cmp byte [edi], 0
mov eax, edi
je 0x4899a6
nop
inc eax
cmp byte [eax], 0
jne 0x4899a0
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1a8], 0
lea ecx, [ebx + 0x19c]
mov esi, eax
je 0x489a01
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x4899f1
jmp 0x4899d0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4899d0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x19c]
lea ecx, [ebx + 0x19c]
jmp 0x489a03
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.00466580
add esp, 8
test eax, eax
je 0x489a1e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x489a2b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x489a2b
mov eax, dword [ebx + 8]
test eax, eax
je 0x489a3d
movzx ecx, byte [esi + 0x5a6570]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x489a5c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x489990
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
push edi
mov edi, eax
mov dword [ebp - 4], 0
jne 0x499583
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4996d8
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x4995bc
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.0055e010
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], ecx
push esi
lea ecx, [ecx]
test edi, edi
je 0x4996d4
mov esi, dword [edi + 0x14]
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x18]
ja 0x4996c7
test byte [edi + 0x18], 0x20
jne 0x4996c7
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [esi - 1]
push 0
push ecx
call fcn.0055e010
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp esi, 1
jne 0x499660
mov esi, dword [edi + 0x10]
movzx ecx, byte [esi + 0x64]
movzx edx, byte [esi + 0x65]
movzx eax, byte [esi + 0x66]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x67]
mov esi, dword [edi + 4]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
inc ecx
mov byte [esi + 0x1b], cl
mov eax, ecx
mov edx, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
shr edx, 0x10
mov byte [esi + 0x19], dl
mov ebx, ecx
shr ebx, 8
mov byte [esi + 0x1a], bl
mov esi, dword [edi + 4]
mov byte [esi + 0x5e], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], dl
mov byte [esi + 0x5f], cl
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x60], 0x23e22d00
push dword [ebp - 0xc]
mov eax, dword [edi + 4]
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp esi, 1
jne 0x4996a8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x70], edx
cmp esi, dword [ebx + 0x20]
jbe 0x4996b0
mov dword [ebx + 0x20], esi
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x58]
mov ebx, esi
call fcn.0048ef00
mov ebx, dword [ebp + 8]
add esp, 4
cmp dword [ebp - 4], 0
mov edi, dword [edi + 0xc]
je 0x4995c0
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d41a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5885df
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x4d4284
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
push 8
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x4d4260
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call fcn.0055b5ba
push 0x5cc520
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call fcn.0055b802
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.0055b5ba
push 0x5cc520
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.0055b802
int3
Function at 0x4d93d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x30], edi
test ebx, ebx
jne 0x4d9418
push ebx
push ebx
push ebx
push 2
call fcn.004e47e0
xor al, al
jmp 0x4d95b2
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x4d9431
nop
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x54]
push 1
call edx
test esi, esi
jne 0x4d9420
xor ecx, ecx
push 2
or eax, 0xffffffff
push ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
push ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
call fcn.0055e5e4
push ebx
call fcn.0055e4f5
xor esi, esi
push esi
push esi
push ebx
mov edi, eax
call fcn.0055e5e4
add esp, 0x1c
cmp edi, esi
jg 0x4d9478
mov ecx, dword [ebp - 0x30]
push esi
push esi
push esi
push 0xd
call fcn.004e47e0
xor al, al
jmp 0x4d95b2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], esi
cmp edi, 0xf
je 0x4d94af
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.004014a0
test al, al
je 0x4d94af
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x4d94ac
lea eax, [ebp - 0x2c]
mov byte [eax], 0
lea eax, [edi + 1]
push eax
call fcn.00523abd
push ebx
mov esi, eax
push 1
push edi
push esi
mov dword [ebp - 0x34], esi
mov byte [esi], 0
call fcn.0055e344
add esp, 0x14
cmp eax, 1
je 0x4d9504
push esi
call fcn.0055be68
mov ecx, dword [ebp - 0x30]
add esp, 4
push 0
push 0
push 0
push 2
call fcn.004e47e0
cmp dword [ebp - 0x18], 0x10
jb 0x4d94fd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
xor al, al
jmp 0x4d95b2
mov ebx, dword [ebp - 0x34]
mov byte [ebx + edi], 0
cmp byte [ebx], 0
mov eax, esi
je 0x4d9563
mov cl, byte [esi]
cmp cl, 0xa
jne 0x4d952d
mov edx, esi
sub edx, eax
inc edx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404540
inc esi
mov eax, esi
jmp 0x4d955e
cmp cl, 0xd
jne 0x4d955d
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x4d9544
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404540
push 0xa
push 1
lea ecx, [ebp - 0x2c]
call fcn.004043a0
cmp byte [esi + 1], 0xa
jne 0x4d9528
add esi, 2
mov eax, esi
jmp 0x4d955e
inc esi
cmp byte [esi], 0
jne 0x4d9512
sub esi, eax
je 0x4d9571
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404540
push ebx
call fcn.0055be68
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 0x10
jae 0x4d9586
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x30]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push ecx
push 0
push eax
mov ecx, esi
call edx
cmp byte [esi + 0x58], 0
lea ecx, [ebp - 0x2c]
je 0x4d95ab
call fcn.0054b8f0
xor al, al
jmp 0x4d95b2
call fcn.0054b8f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret 8
Function at 0x4e8580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x4e8676
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4e860e
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004e80e0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4e85d3
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4e873e
call 0x4e8623
pop edx
lea ecx, [edx + 0x15d]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x4e86da
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004e8210
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4e868a
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4e873e
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004e8210
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4e8739
jmp 0x4e873e
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4e9b60
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0055bc50
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x4e9f60
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0055d190
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4e9fc5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4e9fc5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0055c1b0
add eax, 0x40
push eax
call fcn.005601bd
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055bc32
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00560095
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4ea054
call fcn.004e9e10
test eax, eax
jle 0x4ea054
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055bc32
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055bc32
add esp, 0x108
ret
Function at 0x4f8e70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
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
pop ebp
ret 4

Function at 0x4f9c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c233
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.00405a60
mov edi, dword [ebp - 0x88]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
jb 0x4f9cd5
cmp eax, ebx
je 0x4f9d1e
add esi, esi
push esi
lea ecx, [ebp - 0x88]
call fcn.00405a60
mov edi, dword [ebp - 0x88]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
jae 0x4f9cb1
mov esi, dword [ebp - 0x78]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401e40
cmp edi, ebx
je 0x4f9d00
push edi
call fcn.0055ae44
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
push 1
push str.mailru::path::tmp
push str.Path.cpp
push 0x19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x74]
call fcn.004053a0
push 0x5ccbe8
lea edx, [ebp - 0x74]
push edx
call fcn.0055b802
int3
Function at 0x4fa220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c3bf
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ebx
cmp dword [ebp + 0xc], ebx
je 0x4fa285
mov dword [esi + 0xc], 0x59c868
mov dword [esi + 0x4c], vtable.boost::exception.0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0xffffffff
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], 1
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004021f0
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 1
call fcn.004fa070
add esp, 0x14
mov edi, 0x10
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], edi
jb 0x4fa2bf
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
jmp 0x4fa2c2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.0055b5ba
cmp dword [ebp - 0x18], edi
jb 0x4fa2de
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x4fa2fc
mov edx, dword [ebp - 0x48]
push edx
call fcn.0055ae44
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.mailru::exception.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0xc], vtable.mailru::exception.1.0
mov eax, 7
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
xor edx, edx
mov word [esi + 0x14], dx
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret 8