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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 4
mov dword [ebp - 0x208], edi
movzx ebx, byte [edx + edi + 0x30734]
mov ecx, ebx
mov esi, ebx
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], 1
sub edi, esi
mov dword [ebp - 0x214], ecx
test ecx, ecx
je 0x4d2a73
jmp 0x4d2a26
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub ecx, ebx
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b66]
mov eax, edi
and eax, 1
mov ebx, eax
neg ebx
shr ecx, 4
sar ebx, 4
and ebx, 0x7f
xor ecx, ebx
mov ecx, dword [edx + ecx*4 + 0x30f34]
add dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x210]
add ecx, ecx
or ecx, eax
shr edi, 1
dec dword [ebp - 0x214]
mov dword [ebp - 0x210], ecx
jne 0x4d2a20
mov edi, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + edi*4 - 0x204], eax
inc edi
mov dword [ebp - 0x208], edi
cmp edi, 0x80
jb 0x4d29e1
lea esi, [ebp - 0x204]
sub esi, edx
lea ecx, [edx + 0x32968]
lea ebx, [edx + 0x31dd0]
sub esi, 0x31dc8
lea edi, [edx + 0x319c8]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 4
jmp 0x4d2ae0
xor ecx, ecx
mov dword [ebp - 0x214], ecx
cmp dword [edx + 0x88], ecx
jbe 0x4d2b50
mov eax, ecx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x4d2b38
lea esp, [esp]
mov ebx, dword [ebp - 0x208]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebx, 4
xor ebx, eax
add esi, dword [edx + ebx*4 + 0x30f34]
mov eax, ecx
cmp eax, 1
jne 0x4d2b00
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov dword [edi + ecx*4], esi
inc ecx
mov dword [ebp - 0x214], ecx
cmp ecx, dword [edx + 0x88]
jb 0x4d2af0
mov esi, dword [ebp - 0x210]
mov eax, 0xe
cmp dword [edx + 0x88], eax
jbe 0x4d2b76
lea ecx, [ecx]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x88]
jb 0x4d2b60
mov eax, dword [edi]
mov dword [ebx - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 4], ecx
mov eax, 4
lea ecx, [ebx + 8]
jmp 0x4d2ba0
movzx ebx, byte [edx + eax + 0x30734]
mov ebx, dword [edi + ebx*4]
add ebx, dword [esi + ecx]
inc eax
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x80
jb 0x4d2ba0
mov ebx, dword [ebp - 0x20c]
sub dword [ebp - 0x208], 0xffffff80
add ebx, 0x200
sub esi, 0x200
add edi, 0x100
dec dword [ebp - 0x218]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
jne 0x4d2ae0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x80], 0
pop ebx
call fcn.00503edf
mov esp, ebp
pop ebp
ret
Function at 0x4d4640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], edx
mov byte [eax + 0x1f], dl
mov dword [eax + 0x24], edx
mov dword [eax + 0x30], 0x20
mov dword [eax + 0x48], 4
mov word [eax + 0x1d], 1
lea esi, [eax + 0x60]
lea esp, [esp]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x4d4670
pop esi
pop ebp
ret

Function at 0x4d5d3e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0050bd69
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004d5ce7
add esp, 0x1c
leave
ret

Function at 0x4d6070
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
lea ebx, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
xor esi, esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp + 8], eax
test eax, eax
je 0x4d60a5
mov edi, dword [edx]
mov dword [ecx + esi*4 + 0x10], edi
inc esi
add edx, 4
cmp esi, eax
jb 0x4d6097
cmp esi, ebx
jae 0x4d6192
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4 + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x4d6121
movzx eax, byte [eax + 0x531ee0]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
mov ebx, edi
shr ebx, 0x10
shr edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 8]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x4d6178
cmp dword [ebp + 8], 6
jbe 0x4d6178
cmp edx, 4
jne 0x4d6178
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [ebp - 4], eax
cmp esi, ebx
jb 0x4d60b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4d7236
lea eax, [esi + 8]
push eax
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4d7236
push esi
push 0x4d71c1
push esi
call fcn.004d5d3e
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x4d735a
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4d736d
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [eax]
je 0x4d7394
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4d7394
push 2
pop eax
pop esi
ret
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4d73a5
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp edx, dword [eax + 4]
je 0x4d73c8
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
je 0x4d738f
and dword [esi + 0x34], 0
and dword [esi + 0x38], 0
lea eax, [esi + 0x3c]
push eax
call fcn.004d5dd0
pop ecx
test eax, eax
je 0x4d73e2
push 0xc
jmp 0x4d7391
add esi, 0x40
push esi
call fcn.004d5dd0
neg eax
pop ecx
sbb eax, eax
and eax, 0xc
pop esi
ret

Function at 0x4d78a5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
xor eax, eax
cmp esi, 8
jb 0x4d78c6
mov edx, esi
shr edx, 3
push edi
mov edi, dword [ecx + 4]
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
sub esi, 8
dec edx
jne 0x4d78b5
pop edi
cmp esi, 4
jb 0x4d78d0
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x4d78e1
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x4d78ef
movzx edx, byte [ecx]
shl edx, 8
xor eax, edx
inc ecx
test esi, esi
pop esi
je 0x4d78f9
movzx ecx, byte [ecx]
xor eax, ecx
ret
Function at 0x4dd4e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x200
jb 0x4dd53f
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4dd53f
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x4dd53f
lea edx, [eax + 0x200]
cmp edx, dword [ebp + 8]
ja 0x4dd53f
test al, 7
jne 0x4dd53f
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4dd53f
movzx ecx, word [eax + 4]
sub ecx, 0x14c
je 0x4dd558
sub ecx, 0x74
je 0x4dd551
dec ecx
dec ecx
je 0x4dd551
dec ecx
dec ecx
je 0x4dd54a
sub ecx, 0x3c
je 0x4dd543
sub ecx, 0x8464
je 0x4dd558
xor eax, eax
pop ebp
ret
mov ecx, 0x3030401
jmp 0x4dd55d
mov ecx, 0x3030701
jmp 0x4dd55d
mov ecx, 0x3030501
jmp 0x4dd55d
mov ecx, 0x3030103
mov edx, 0x400
cmp word [eax + 0x14], dx
ja 0x4dd53f
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
je 0x4dd57a
cmp eax, 0x20b
jne 0x4dd53f
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
inc eax
pop ebp
ret

Function at 0x4e1680
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
pop ebp
ret
Function at 0x4e2060
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov eax, edi
and eax, 3
xor ebx, ebx
shr edi, 2
xor edx, edx
cmp eax, ebx
je 0x4e2083
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x4e20bd
lea ecx, [ecx]
and edi, 0xf
jne 0x4e20b3
push esi
lea ecx, [esi + 0x20]
push ecx
push esi
call fcn.004e16c0
add esp, 0xc
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x4e20a0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
push esi
lea edx, [esi + 0x20]
add eax, eax
push edx
add eax, eax
push esi
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], eax
call fcn.004e16c0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
mov edx, dword [esi + eax*4]
bswap edx
mov dword [ecx], edx
inc eax
add ecx, 4
cmp eax, 5
jb 0x4e20e6
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebx
pop ebp
ret

Function at 0x4e21d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
cmp edi, 0xe
je 0x4e220d
nop
and edi, 0xf
jne 0x4e2203
push esi
lea eax, [esi + 0x20]
push eax
push esi
call fcn.004e16c0
add esp, 0xc
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x4e21f0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
mov dword [esi + 0x58], ecx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esi + 0x20]
push edx
shl eax, 5
push esi
mov dword [esi + 0x5c], eax
call fcn.004e16c0
add esp, 0xc
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebx
pop ebp
ret
Function at 0x4e2260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov edi, ecx
call fcn.00509940
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp esi, 0x40
jbe 0x4e22ad
push edi
call fcn.004e1680
push esi
push ebx
push edi
call fcn.004e1f30
lea ecx, [ebp - 0x44]
push ecx
push edi
call fcn.004e2060
add esp, 0x18
jmp 0x4e22bf
test esi, esi
je 0x4e22bf
push esi
lea edx, [ebp - 0x44]
push ebx
push edx
call fcn.00509040
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x4e22c1
push edi
call fcn.004e1680
push 0x40
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.004e1f30
add esp, 0x10
xor eax, eax
xor byte [ebp + eax - 0x44], 0x6a
inc eax
cmp eax, 0x40
jb 0x4e22e3
add edi, 0x60
push edi
call fcn.004e1680
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push edi
call fcn.004e1f30
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503edf
mov esp, ebp
pop ebp
ret 8

Function at 0x4e2390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp esi, 0x40
jbe 0x4e2434
lea eax, [ebp - 0xb8]
push eax
call fcn.004e1680
push esi
lea ecx, [ebp - 0xb8]
push edi
push ecx
call fcn.004e1f30
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.004e2060
add esp, 0x18
xor eax, eax
lea ebx, [ebx]
mov ecx, dword [ebp + eax - 0x18]
bswap ecx
mov dword [ebp + eax - 0x58], ecx
add eax, 4
cmp eax, 0x14
jb 0x4e2420
jmp 0x4e246e
xor eax, eax
test esi, esi
je 0x4e246e
lea ebx, [ebx]
mov ebx, eax
and ebx, 3
mov ecx, 3
sub ecx, ebx
movzx ebx, byte [edi + eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, eax
shl ebx, cl
shr edx, 2
lea edx, [ebp + edx*4 - 0x58]
inc eax
or dword [edx], ebx
cmp eax, esi
jb 0x4e2440
mov ebx, dword [ebp - 0xbc]
xor eax, eax
xor dword [ebp + eax*4 - 0x58], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4e2470
push ebx
call fcn.004e1680
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.004e2180
add esp, 0x10
xor eax, eax
jmp 0x4e24a0
xor dword [ebp + eax*4 - 0x58], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4e24a0
lea esi, [ebx + 0x60]
push esi
call fcn.004e1680
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push esi
call fcn.004e2180
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503edf
mov esp, ebp
pop ebp
ret 8
Function at 0x4e2540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
lea eax, [ebp - 0x44]
mov edi, ecx
push eax
push edi
call fcn.004e2130
push 5
lea ecx, [ebp - 0x84]
push ecx
lea ebx, [edi + 0x60]
push ebx
call fcn.004e2130
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0xc]
add esp, 0x18
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x4e25f0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x44]
push edx
push edi
call fcn.004e16c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x84]
push ecx
push ebx
call fcn.004e16c0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
xor dword [esi], edx
xor dword [esi + 4], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
xor dword [esi + 8], ecx
xor dword [esi + 0xc], edx
xor dword [esi + 0x10], eax
add esp, 0x18
dec dword [ebp - 0x88]
jne 0x4e25a6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503edf
mov esp, ebp
pop ebp
ret 8

Function at 0x4e4b81
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
push ebx
xor ebx, ebx
mov word [esi], ax
cmp byte [edi + 1], bl
je 0x4e4bf4
mov al, byte [edi + 2]
mov byte [ebp - 1], al
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.004b0dbb
movzx eax, byte [edi + 4]
push eax
mov ecx, esi
call fcn.004e4b62
mov eax, dword [edi + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x74], eax
mov al, byte [edi + 3]
mov byte [esi + 0x78], al
jmp 0x4e4bfe
mov ecx, esi
call fcn.004c9109
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x40], ecx
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x44], eax
mov byte [esi + 5], bl
mov dword [esi + 0x38], 0x3f
cmp byte [ebp - 1], bl
jne 0x4e4c2a
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x24], bl
je 0x4e4c2a
or word [esi], 1
jmp 0x4e4c50
mov eax, 0xfffe
and word [esi], ax
cmp byte [ebp - 1], bl
je 0x4e4c50
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
pop ebx
leave
ret
Function at 0x4e4c53
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
cmp dword [eax], 0
jne 0x4e4c69
push eax
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4e4c7c
lea eax, [esi + 0xc]
cmp dword [eax], 0
je 0x4e4c75
xor eax, eax
pop esi
ret
push eax
call fcn.004d5dd0
pop ecx
pop esi
ret
Function at 0x4e5c7f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
mov ebx, edx
test eax, eax
je 0x4e5ca4
mov ecx, dword [eax]
push 3
push dword [edi + 8]
push 1
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4e5e29
cmp byte [edi + 1], 0
je 0x4e5dad
mov al, byte [esi]
shr al, 3
test al, 1
je 0x4e5cc1
mov eax, 0x80004001
jmp 0x4e5e29
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x60]
xor edx, edx
add ecx, dword [eax + 0x38]
adc edx, dword [eax + 0x3c]
mov eax, dword [ebx + 0x10]
add ecx, dword [ebx + 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
adc edx, dword [ebx + 0x44]
mov dword [ebp - 0xc], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], edx
call fcn.004b0dbb
movzx eax, byte [edi + 4]
push eax
mov ecx, esi
call fcn.004e4b62
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x74], eax
mov al, byte [edi + 3]
lea ecx, [esi + 0x48]
mov byte [esi + 0x78], al
call fcn.004e5aeb
lea ecx, [esi + 0x2c]
call fcn.004e5aeb
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x44], eax
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x2c]
call fcn.004b37b2
movzx eax, al
push eax
push dword [esi + 0x14]
mov ecx, edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x24]
call fcn.004ece24
push esi
mov ecx, edi
call fcn.004ed09a
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x80]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e4f21
add esp, 0xc
test eax, eax
jne 0x4e5e29
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
mov ecx, dword [ebp - 0xc]
adc dword [eax + 4], ecx
jmp 0x4e5e27
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add ecx, dword [ebx + 0x40]
push dword [ebp + 0x10]
adc eax, dword [ebx + 0x44]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
movzx eax, word [ebx]
shr ax, 3
xor ecx, ecx
xor edi, edi
and eax, 1
shl eax, 4
add eax, dword [ebx + 0x60]
adc ecx, edi
add eax, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
adc ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0xc], ecx
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e4f21
add esp, 0xc
test eax, eax
jne 0x4e5e29
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
add dword [eax], ecx
push edx
push ecx
adc dword [eax + 4], edx
mov ecx, edi
call fcn.004ecdb9
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x4e81f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
jne 0x4e8297
lea eax, [esi + 0x30]
push eax
call fcn.004d5e32
add esp, 4
test eax, eax
je 0x4e8213
mov eax, 0xc
pop ebp
ret
lea ecx, [esi + 0x14]
push ecx
mov dword [esi + 0x28], 1
call fcn.004d5dd0
add esp, 4
test eax, eax
jne 0x4e820c
lea edx, [esi + 0x18]
push edx
call fcn.004d5dd0
add esp, 4
test eax, eax
jne 0x4e820c
lea eax, [esi + 0x1c]
push eax
call fcn.004d5dd0
add esp, 4
test eax, eax
jne 0x4e820c
push edi
lea ecx, [esi + 0x20]
push edi
push ecx
call fcn.004d5de4
add esp, 0xc
test eax, eax
jne 0x4e820c
push edi
push eax
lea edx, [esi + 0x24]
push edx
call fcn.004d5de4
add esp, 0xc
test eax, eax
jne 0x4e820c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [esi + 0x10]
push edx
mov dword [esi + 4], 1
call fcn.004d5d3e
add esp, 0xc
test eax, eax
jne 0x4e820c
mov dword [esi], 1
xor eax, eax
pop ebp
ret
Function at 0x4eafd9
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x4eaff0
push ebx
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4eb032
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x4eb004
push edi
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4eb031
push ebx
call fcn.004d5da4
push edi
call fcn.004d5da4
lea eax, [esi + 0xc]
cmp dword [eax], 0
pop ecx
pop ecx
mov byte [esi + 0x10], 0
je 0x4eb022
xor eax, eax
jmp 0x4eb031
push esi
push 0x4eaf9b
push eax
call fcn.004d5d3e
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4ec63c
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push esi
call fcn.004d5dd0
pop ecx
test eax, eax
jne 0x4ec666
push eax
lea eax, [esi + 4]
push eax
call fcn.004d5dbb
pop ecx
pop ecx
test eax, eax
jne 0x4ec666
push eax
add esi, 8
push esi
call fcn.004d5dbb
pop ecx
pop ecx
pop esi
ret
Function at 0x4ee79c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x4ee80e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [esi + 4], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push edi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [eax - 1]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.004b1187
mov ecx, dword [ebp - 4]
mov eax, 0x103
cmp eax, edi
sbb eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.00503edf
leave
ret

Function at 0x4eecf5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4eed08
or eax, eax
pop ebp
ret