joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482090
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x44
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edx, dword [esi + 0x18]
mov edi, edx
mov ebx, dword [esi + 0x1c]
and edx, 0x3f
shld ebx, edi, 3
shl edi, 3
mov byte [esi + edx + 0x20], 0x80
inc edx
cmp edx, 0x38
je 0x482114
jbe 0x4820fc
cmp edx, 0x40
jae 0x4820e6
mov eax, 0x40
lea ecx, [esi + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.0043e790
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00480f70
add esp, 0x10
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x20]
add eax, edx
push 0
push eax
call fcn.0043e790
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
bswap ebx
bswap edi
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
call fcn.00480f70
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
pop edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
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 ebp
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x44
ret

Function at 0x4821a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x482410
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x4ca3a0], cl
inc ecx
cmp ecx, 0x100
jl 0x482412
push ebx
xor edx, edx
push esi
lea esp, [esp]
mov al, byte [edx + str.cw]
mov bl, 2
mov byte [edx*4 + 0x4cb0a1], al
mov cl, al
mov byte [edx*4 + 0x4cb0a0], al
xor ah, ah
mov byte [edx*4 + 0x4caca3], al
mov byte [edx*4 + 0x4caca0], al
mov byte [edx*4 + 0x4ca8a3], al
mov byte [edx*4 + 0x4ca8a2], al
mov byte [edx*4 + 0x4ca4a2], al
mov byte [edx*4 + 0x4ca4a1], al
mov ch, cl
test bl, 1
je 0x48247d
xor ah, cl
add cl, cl
test ch, ch
jns 0x482486
xor cl, 0x1b
shr bl, 1
jne 0x482474
mov byte [edx*4 + 0x4cb0a3], ah
mov cl, 3
mov byte [edx*4 + 0x4caca2], ah
xor bl, bl
mov byte [edx*4 + 0x4ca8a1], ah
mov byte [edx*4 + 0x4ca4a0], ah
lea ebx, [ebx]
mov ah, al
test cl, 1
je 0x4824b9
xor bl, al
add al, al
test ah, ah
jns 0x4824c1
xor al, 0x1b
shr cl, 1
jne 0x4824b0
mov cl, byte [edx + 0x4ca3a0]
xor ah, ah
mov byte [edx*4 + 0x4cb0a2], bl
mov al, cl
mov byte [edx*4 + 0x4caca1], bl
mov byte [edx*4 + 0x4ca8a0], bl
mov byte [edx*4 + 0x4ca4a3], bl
mov bl, 0xb
lea ecx, [ecx]
mov ch, al
test bl, 1
je 0x4824f9
xor ah, al
add al, al
test ch, ch
jns 0x482501
xor al, 0x1b
shr bl, 1
jne 0x4824f0
movzx esi, cl
mov al, cl
mov byte [edx*4 + 0x4cc0a2], ah
xor bl, bl
mov byte [edx*4 + 0x4cbca1], ah
mov byte [edx*4 + 0x4cb8a0], ah
mov byte [edx*4 + 0x4cb4a3], ah
mov byte [esi*4 + 0x4cd0a2], ah
mov byte [esi*4 + 0x4ccca1], ah
mov byte [esi*4 + 0x4cc8a0], ah
mov byte [esi*4 + 0x4cc4a3], ah
mov ah, 9
mov ch, al
test ah, 1
je 0x48254f
xor bl, al
add al, al
test ch, ch
jns 0x482557
xor al, 0x1b
shr ah, 1
jne 0x482546
mov byte [edx*4 + 0x4cc0a0], bl
mov ah, 0xd
mov byte [edx*4 + 0x4cbca3], bl
mov al, cl
mov byte [edx*4 + 0x4cb8a2], bl
mov byte [edx*4 + 0x4cb4a1], bl
mov byte [esi*4 + 0x4cd0a0], bl
mov byte [esi*4 + 0x4ccca3], bl
mov byte [esi*4 + 0x4cc8a2], bl
mov byte [esi*4 + 0x4cc4a1], bl
xor bl, bl
lea esp, [esp]
mov ch, al
test ah, 1
je 0x4825a9
xor bl, al
add al, al
test ch, ch
jns 0x4825b1
xor al, 0x1b
shr ah, 1
jne 0x4825a0
mov byte [edx*4 + 0x4cc0a1], bl
xor al, al
mov byte [edx*4 + 0x4cbca0], bl
mov byte [edx*4 + 0x4cb8a3], bl
mov byte [edx*4 + 0x4cb4a2], bl
mov byte [esi*4 + 0x4cd0a1], bl
mov byte [esi*4 + 0x4ccca0], bl
mov byte [esi*4 + 0x4cc8a3], bl
mov byte [esi*4 + 0x4cc4a2], bl
mov bl, 0xe
mov ah, cl
test bl, 1
je 0x4825fa
xor al, cl
add cl, cl
test ah, ah
jns 0x482603
xor cl, 0x1b
shr bl, 1
jne 0x4825f1
mov byte [edx*4 + 0x4cc0a3], al
mov byte [edx*4 + 0x4cbca2], al
mov byte [edx*4 + 0x4cb8a1], al
mov byte [edx*4 + 0x4cb4a0], al
inc edx
mov byte [esi*4 + 0x4cd0a3], al
mov byte [esi*4 + 0x4ccca2], al
mov byte [esi*4 + 0x4cc8a1], al
mov byte [esi*4 + 0x4cc4a0], al
cmp edx, 0x100
jl 0x482430
pop esi
pop ebx
ret
Function at 0x483910
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
push esi
mov esi, dword [esp + 0xc]
xor cl, cl
cmp esi, eax
jbe 0x48392c
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x483924
cmp cl, byte [edx]
jne 0x48396f
push esi
push edx
push 0xffffffffffffffff
call fcn.004706f0
add esp, 0xc
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4c504c], eax
jne 0x483952
cmp dword [ecx + 0x4c5048], esi
je 0x48395f
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x483942
pop esi
ret 0xc
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x4c5050]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
pop esi
ret 0xc

Function at 0x403280
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407c80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x407ca1
mov eax, 0xff
call fcn.00403280
xor byte [esi], al
inc esi
dec ebx
jne 0x407c91
pop esi
pop ebx
ret
Function at 0x4053e0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push esi
push edi
sub esp, 8
mov esi, eax
mov edi, edx
xor edx, edx
mov ecx, eax
inc eax
cmp byte [ecx], 0
je 0x4053f7
inc edx
jmp 0x4053ec
push 0
lea eax, [esp + 4]
push eax
push edx
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 4]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push 0xfffffffffffffff4
mov word [esp + 0x18], 0xa0d
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, edi
jmp 0x402390

Function at 0x409a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409a52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409a48
mov eax, 1
add ebx, ebx
jne 0x409a6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409a60
jne 0x409a7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a60
xor ecx, ecx
sub eax, 3
jb 0x409a90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409b02
mov ebp, eax
add ebx, ebx
jne 0x409a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409acc
inc ecx
add ebx, ebx
jne 0x409ab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409aad
jne 0x409ac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409aad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409aec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409add
jmp 0x409a4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409aec
add edi, ecx
jmp 0x409a4e
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409b54
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9cb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409b09
mov ecx, edi
jns 0x409b38
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9cbc]
or eax, eax
je 0x409b4e
mov dword [ebx], eax
add ebx, 4
jmp 0x409b26
call dword [esi + 0x9cb8]
mov ebp, dword [esi + 0x9cc0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x409b88
sub esp, 0xffffff80
jmp 0x407000

Function at 0x408954
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
push edi
pop edi
mov ebx, 0xc5da7e88
call fcn.00408977
inc edi
add edi, 1
xor dword [ecx], esi
or ebx, ebx
dec ebx
inc ecx
cmp ecx, edx
jne fcn.00408954
ret
Function at 0xd4267f
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xd5f044]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00d4d000
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xd42731
push edi
mov edi, 0xd5bd44
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xd426ca
sub eax, edx
sar eax, 1
je 0xd42730
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.00d5a0ac]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00d49761
push 0xd5bd60
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00d49cbb
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xd42730
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00d49fae
push dword [ebp - 0x78]
call fcn.00d4a042
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00d49752
add ebp, 0x198
leave
ret

Function at 0xd4274a
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xd5f044]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00d4d000
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xd42825
push edi
mov edi, 0xd5bc90
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xd42799
sub eax, edx
sar eax, 1
je 0xd42824
cmp dword [0xd6006c], 3
mov esi, 0x104
lea eax, [ebp - 0x74]
jne 0xd427d6
push esi
push eax
call dword [0xd5a028]
push 0xd5bd68
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00d49761
add esp, 0xc
jmp 0xd427de
push eax
push esi
call dword [fcn.00d5a0ac]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00d49761
push 0xd5bd60
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00d49cbb
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xd42824
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00d49fae
push dword [ebp - 0x78]
call fcn.00d4a042
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00d49752
add ebp, 0x198
leave
ret
Function at 0xd42ec1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0xd5f044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
xor esi, esi
call fcn.00d4d000
add esp, 0xc
test edi, edi
je 0xd42f87
and dword [ebp - 0x7c], esi
mov ecx, 0xd5bc40
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0xd42f0c
sub eax, esi
sar eax, 1
je 0xd42f30
push 0xd5bddc
push ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.00d49cbb
add esp, 0xc
jmp 0xd42f64
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [fcn.00d5a0ac]
push 0xd5bd44
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00d49761
push 0xd5bddc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00d49cbb
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], 0
je 0xd42f87
push dword [ebp - 0x7c]
push esi
push 0x200
push edi
call fcn.00d4a35b
push dword [ebp - 0x7c]
call fcn.00d4a042
add esp, 0x14
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00d49752
add ebp, 0x194
leave
ret

Function at 0xd42f9f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0xd5bd60
push dword [ebp + 8]
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00d49cbb
add esp, 0xc
test eax, eax
je 0xd42fc9
xor eax, eax
jmp 0xd4304c
push ebx
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.00d4a467
push dword [ebp - 4]
call fcn.00d4a689
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.00d4a467
lea eax, [esi + 0x32]
push eax
mov dword [ebp - 8], eax
call fcn.00d4a746
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.00d49fae
push dword [ebp - 4]
call fcn.00d4a042
push 0x32
lea ebx, [edi + esi]
call fcn.00d4304f
push 0xd5bddc
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00d49cbb
add esp, 0x44
pop esi
pop ebx
test eax, eax
jne 0xd42fc2
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.00d4a35b
push dword [ebp - 4]
call fcn.00d4a042
xor eax, eax
add esp, 0x14
inc eax
pop edi
leave
ret
Function at 0xd47aa8
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0xd47ab3
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0xd47b65
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xd5d308]
inc ecx
sub edi, 8
dec esi
jne 0xd47aca
pop ebx
test edi, edi
je 0xd47b7e
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xd5d308]
inc ecx
dec edi
jne 0xd47b69
pop esi
not eax
pop edi
ret

Function at 0xd47b83
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0xd5d308]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0xd5d308]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x405a74
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ebx, ebx
mov dword [0x40c68c], ebx
xor ebx, ebx
mov dword [0x40c688], ebx
mov dword [0x40c678], eax
mov dword [0x40c67c], edx
cmp dword [0x40c678], 0
je 0x405b5d
mov eax, dword [0x40c678]
mov dword [ecx], eax
mov edi, dword [0x40c678]
mov ax, word [edi]
not ax
cmp ax, 0x5a4d
je 0x405b5d
mov esi, dword [edi + 0x3c]
add esi, edi
push 0xf8
push esi
call fcn.00404fe0
test eax, eax
jne 0x405b5d
cmp dword [esi], 0x4550
jne 0x405b5d
mov eax, esi
call fcn.00405a5c
test al, al
jne 0x405b5d
mov ebx, esi
add ebx, 0xf8
mov ax, word [esi + 6]
cmp ax, 0x64
jae 0x405b5d
movzx eax, ax
dec eax
test eax, eax
jl 0x405b5d
inc eax
mov esi, eax
mov edx, 0x404f68
mov eax, ebx
mov ecx, 8
call fcn.004051bc
test eax, eax
jne 0x405b57
mov eax, dword [ebx + 0x14]
add eax, edi
mov dword [0x40c680], eax
mov eax, dword [0x40c680]
call fcn.00405a5c
test al, al
jne 0x405b5d
mov eax, dword [0x40c680]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x40c684], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x40c684]
mov dword [eax], edx
jmp 0x405b5d
add ebx, 0x28
dec esi
jne 0x405b0d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x403250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xff
mov word [ebp - 4], ax
mov dword [ebp - 8], 0
cmp dword [0x472024], 0xffffffff
je 0x4032cf
push 1
push 0x4764f0
mov ecx, dword [0x472024]
push ecx
call sub.vxlapi.dll__xlSetNotification_12
mov word [ebp - 4], ax
cmp dword [0x4764e8], 0
je 0x4032b0
lea edx, [ebp - 8]
push edx
push 0
push 0
push section..text
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4764f4], eax
jmp 0x4032cf
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4010d0
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4764f4], eax
movzx eax, word [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x403530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00401a20
mov dword [ebp - 4], eax
mov eax, dword [0x476720]
push eax
push str.check_ptr_stDiagExtdSess.pArrRes__0x___n
call fcn.00404730
add esp, 8
call fcn.00403500
mov ecx, dword [ebp + 8]
push ecx
push str.__print_txID:__d_n
call fcn.00404730
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x476508], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [0x476510], eax
mov dword [0x476514], ecx
mov dword [0x476500], 1
push 0
push 0
push 0
push 0x401210
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4764f8], eax
mov esp, ebp
pop ebp
ret
Function at 0x404850
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xbb67ae85
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x3c6ef372
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xa54ff53a
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x5be0cd19
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
pop ebp
ret

Function at 0x406f17
Capabilities:
Parse pe header

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

Function at 0x43febb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x472058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x469e28
push esi
call fcn.0044e617
pop ecx
pop ecx
test eax, eax
jne 0x43fee9
xor al, al
jmp 0x43ff66
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0043fafd
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x43ff23
push dword [ebp - 0x210]
call fcn.004444a3
xor al, al
jmp 0x43ff64
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43ff29
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x43ff49
push edx
call fcn.0043fdf2
pop ecx
test al, al
je 0x43ff14
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x43ff57
mov bl, 1
push dword [ebp - 0x210]
call fcn.004444a3
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040661b
leave
ret

Function at 0x4418d0
Capabilities:
Parse pe header

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

Function at 0x446234
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46b724
push 0x46b71c
push str.FlsAlloc
push 0x1f
call fcn.00445f02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x446268
push dword [ebp + 8]
mov ecx, esi
call dword [0x4651e0]
call esi
jmp 0x44626e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4