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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, ecx
call fcn.004182d5
mov eax, dword [ebx + 0x1af68]
lea esi, [ebx + 0x1af64]
dec eax
lea ecx, [ebx + 0x10]
lea edi, [ebx + 0x1af60]
mov dword [ebp - 4], ecx
cmp dword [esi], eax
jb 0x4183f7
push esi
push dword [edi]
push dword [ebx]
call dword [ecx]
lea eax, [ebx + 0x1af64]
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4183fd
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov ecx, dword [esi]
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov byte [ecx + eax], dl
mov edx, dword [esi]
mov eax, dword [ebp + 8]
inc edx
movzx ecx, ax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
shr ecx, 8
mov dword [esi], edx
mov byte [edx + eax], cl
mov ecx, dword [esi]
mov eax, dword [ebx + 0x1af68]
inc ecx
dec eax
mov dword [esi], ecx
cmp ecx, eax
jb 0x418443
mov eax, dword [ebp - 4]
push esi
push dword [edi]
push dword [ebx]
call dword [eax]
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [esi]
mov eax, dword [edi]
mov dl, byte [ebp + 8]
not dl
mov byte [ecx + eax], dl
mov ecx, dword [esi]
mov edx, dword [ebp - 0x14]
inc ecx
mov eax, dword [edi]
not edx
shr edx, 8
mov dword [esi], ecx
mov byte [ecx + eax], dl
lea ecx, [ebx + 0x1af6c]
inc dword [esi]
add dword [ecx], 0x20
cmp dword [ebx + 0x1af54], 0
mov edx, dword [esi]
mov dword [ebp - 0x14], ecx
je 0x41849c
push esi
push dword [edi]
mov edi, dword [ebp - 4]
push dword [ebx]
call dword [edi]
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
mov dword [esi], eax
push dword [ebx]
call dword [edi]
mov ecx, dword [ebp - 0x14]
add esp, 0x18
mov edx, dword [ebp + 8]
jmp 0x4184fe
mov ecx, dword [ebp + 8]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x1af68]
jbe 0x4184df
push 0xc
pop ecx
mov esi, 0x43de94
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, 0x32
jl 0x4184bb
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [ebx + 0x6afa4], eax
jmp 0x4184f8
mov eax, dword [edi]
push ecx
push dword [ebp - 0xc]
add eax, edx
push eax
call fcn.0041c8c0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
add dword [eax], edx
lea ecx, [ebx + 0x1af6c]
pop edi
shl edx, 3
add dword [ecx], edx
pop esi
pop ebx
leave
ret
Function at 0x418508
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, 0x43de78
mov dword [ebp - 8], edx
lea edi, [ebp - 0x18]
mov byte [ebp - 1], 1
mov ebx, ecx
lea eax, [edx - 1]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp eax, 7
jbe 0x418535
mov byte [ebp - 1], cl
mov esi, ecx
xor edx, edx
mov eax, esi
push 0x37
pop edi
div edi
add dl, 0x32
xor byte [ebp + esi - 0x18], dl
inc esi
cmp esi, 0xf
jl 0x418537
cmp byte [ebp - 1], cl
jne 0x41855b
lea eax, [ebp - 0x18]
mov dword [ebx + 0x6afa4], eax
mov dword [ebx + 0x6af78], ecx
cmp dword [ebx + 0x6af70], ecx
jne 0x41857d
mov dword [ebx + 0x6af78], 1
mov dword [ebx + 0x6af70], 0x10000
push 0x1fffc
push ecx
lea eax, [ebx + 0x4af70]
mov dword [ebx + 0x6af6c], ecx
push eax
call fcn.0041d020
mov ecx, dword [ebp - 8]
add esp, 0xc
movzx eax, word [ecx*8 + 0x43beea]
mov dword [ebx + 0x6af98], eax
movzx eax, word [ecx*8 + 0x43bee8]
mov dword [ebx + 0x6af9c], eax
movzx eax, word [ecx*8 + 0x43beec]
push 2
mov dword [ebx + 0x6afa0], eax
movzx eax, word [ecx*8 + 0x43beee]
pop edi
mov dword [ebx + 0x6af94], eax
cmp ecx, edi
jg 0x4185e3
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x4185ee
cmp ecx, 8
jl 0x4185ee
mov eax, dword [ebp + 8]
or word [eax], di
push 0x10000
lea eax, [ebx + 0x1af70]
xor esi, esi
push eax
push ebx
mov dword [ebx + 0x6af84], esi
mov dword [ebx + 0x6af74], esi
call dword [ebx + 0xc]
add esp, 0xc
mov dword [ebx + 0x6af90], eax
test eax, eax
je 0x41865a
cmp eax, 0xffffffff
je 0x41865a
mov dword [ebx + 0x6af8c], esi
cmp eax, 0x106
jae 0x418632
mov ecx, ebx
call fcn.004187d9
mov dword [ebx + 0x6af7c], esi
mov ecx, esi
movzx eax, byte [ebx + esi + 0x1af70]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc esi
mov dword [ebx + 0x6af7c], ecx
cmp esi, edi
jb 0x41863a
jmp 0x41866a
mov dword [ebx + 0x6af8c], 1
mov dword [ebx + 0x6af90], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x418b09
cmp eax, 3
jb 0x418989
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4189c6
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x4189c6
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4189b0
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.0041866f
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x418a95
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00417f52
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x418a64
cmp ecx, 3
jb 0x418a64
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x418a08
jmp 0x418ab1
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x418abd
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00417f52
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x418af3
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x418ad6
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x418ad8
mov ecx, ebx
sub edx, eax
push ebx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00417d63
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x418b06
mov ecx, esi
call fcn.004187d9
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x418932
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x418b29
lea ebx, [esi + 0x1af70]
add ebx, ecx
mov eax, dword [esi + 0x6af84]
mov edx, ebx
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00417d63
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4197c6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4197d1
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41988d
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
sub edi, 1
jne 0x4197e6
pop edi
test esi, esi
je 0x4198a9
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
inc edx
sub esi, 1
jne 0x419891
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4198b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x43b9a8]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b9a8]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x419914
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x419920
sub edx, esi
lea esi, [edx + ecx]
jmp 0x419934
cmp byte [esi], 0x2e
je 0x419946
dec esi
cmp esi, ecx
ja 0x41992e
jne 0x419946
cmp byte [esi], 0x2e
je 0x419946
xor al, al
jmp 0x419b1b
mov ax, word [0x43de64]
push ebx
push edi
mov word [ebp - 8], ax
xor edi, edi
mov al, byte [0x43de66]
mov ecx, edi
push 0x32
mov byte [ebp - 6], al
mov dword [ebp - 0x10], 0x37
pop ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 3
jl 0x419968
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43de5c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43de60]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x4199a1
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43dec8]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43decc]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x4199da
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43de68]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43de6c]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x419a13
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43de70]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43de74]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x419a4c
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43de2c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43de30]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x419a85
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
cmp byte [0x43de93], 0
mov eax, dword [0x43de90]
mov dword [ebp - 8], eax
je 0x419ace
mov ecx, edi
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 4
jl 0x419abb
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042129f
pop ecx
pop ecx
test eax, eax
je 0x419b17
mov eax, dword [0x43de88]
mov dword [ebp - 0x10], eax
mov al, byte [0x43de8c]
push 0x37
mov byte [ebp - 0xc], al
pop ecx
xor edx, edx
mov eax, edi
div ecx
add dl, bl
xor byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x419af1
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0042129f
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x419b19
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
Function at 0x419b1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x48]
push 5
pop ecx
mov eax, dword [ebp + 8]
mov esi, str.tZXPbU_nToDMK__
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x20], edx
push 0x37
mov dword [ebp - 0x1c], eax
movsb byte es:[edi], byte [esi]
mov esi, ecx
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x32
xor byte [ebp + esi - 0x48], dl
inc esi
cmp esi, 0x15
jl 0x419b57
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x30]
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xd
jl 0x419b79
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x12]
and eax, 0xf
pop edi
lea ecx, [ecx - 0x3c]
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 0xe]
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0xc]
mov word [ebx], cx
mov ecx, dword [ebp - 0xa]
and ecx, 0x3f
shl eax, 6
or ecx, eax
mov eax, dword [ebp - 8]
add eax, eax
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0x20]
pop esi
pop ebx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b28d
leave
ret
Function at 0x419c62
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x419ce3
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x419c9d
cmp dword [esi + 0x40], edi
jae 0x419c9d
push ecx
call fcn.0041b662
and dword [esi + 0x3c], 0
pop ecx
jmp 0x419ca1
test eax, eax
jne 0x419cb1
lea eax, [edi + edi]
push eax
call fcn.0041b667
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push eax
call fcn.0041c8c0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x419ce0
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov dl, byte [edx + ebx]
call fcn.004198f3
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea eax, [esi + 0x30]
cmp ebx, edi
jb 0x419cc5
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x419d12
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x419cfe
mov dword [esi + 0x14], 0x30000
jmp 0x419d34
push edi
add ecx, edx
push ebx
push ecx
call fcn.0041c8c0
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x419d36
mov eax, dword [esi + 4]
test eax, eax
je 0x419d2d
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
jmp 0x419d36
mov dword [esi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b28d
leave
ret 8
Function at 0x419d9e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.uV_yYTYUnRQX_
lea edi, [ebp - 0x44]
push 0x37
mov ebx, ecx
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xd
jl 0x419dc4
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x34]
push 0x37
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0xd
jl 0x419de8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
pop ecx
mov esi, str.aJGASZlPWhRxV__
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push 0x37
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0x15
jl 0x419e26
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x54]
push 0x37
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 0xd
jl 0x419e4a
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x24]
mov esi, eax
test edx, edx
je 0x419f3c
test esi, esi
je 0x419f3c
mov ecx, dword [ebp + 8]
xor eax, eax
and dword [ebx + 0x8c], 0
mov dword [ebx + 0x7c], eax
mov byte [ebx + 0x80], al
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], eax
test ecx, ecx
je 0x419f35
test eax, eax
je 0x419f35
mov dword [ebx + 0x70], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebx + 0x4c], 0x80000000
mov byte [ebx + 0x6c], 1
call edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
push dword [ebp - 8]
lea edx, [ebp - 0x24]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00419b1e
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.0042eea0
movzx ecx, word [ebp - 0x20]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
movzx eax, word [ebp - 0x24]
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x5c], edx
xor eax, eax
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], ecx
jmp 0x419f41
mov eax, 0x10000
jmp 0x419f41
mov eax, 0x40000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b28d
leave
ret 8
Function at 0x419f67
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x419fc9
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x41a001
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push ebx
call fcn.0041c8c0
mov ecx, dword [edi + 0x78]
mov edx, ebx
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.004197c6
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x41a003
cmp dword [edi + 0x7c], 0
je 0x419ffa
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a001
mov esi, dword [ebp - 8]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.004197c6
pop ecx
jmp 0x419fc2
mov dword [edi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b28d
leave
ret 8
Function at 0x41c057
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41c096
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c096
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c096
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41c096
cmp dword [ecx + 0x74], 0xe
jbe 0x41c096
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x423189
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437ab4
push 0x437aac
push str.FlsAlloc
push 0x1f
call fcn.00423008
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4231bd
push dword [ebp + 8]
mov ecx, esi
call dword [0x4351b4]
call esi
jmp 0x4231c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423207
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437ac4
push 0x437abc
push str.FlsGetValue
push 0x21
call fcn.00423008
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42323e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4351b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x423246
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437acc
push 0x437ac4
push str.FlsSetValue
push 0x22
call fcn.00423008
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423280
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4351b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4270ab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x427148
push ebx
push esi
call fcn.00427074
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00427008
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4270f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x427147
push edi
push eax
call fcn.00422dc5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x427115
call fcn.00422d8b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x427146
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00427008
add esp, 0x20
test eax, eax
jne 0x427134
push edi
call fcn.00422d8b
jmp 0x42713c
push ebx
call fcn.00422d8b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42ed50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ed7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ed7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret