joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d8ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d8be4
sub esp, 0x48
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
xor eax, eax
jmp 0x5d8ae9
test byte [edx], al
movzx esi, byte [eax + edx + 4]
xor esi, edi
xchg esi, ebx
mov byte [eax + edx + 4], bl
xchg esi, ebx
inc eax
cmp ebp, eax
jle 0x5d8afe
lea esi, [eax + 4]
movzx edi, byte [ebx + eax]
cmp esi, 0xc
jb 0x5d8ad7
jmp 0x5d8bd7
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], 0xc
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], ecx
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x5c]
xor edi, edi
jmp 0x5d8ba0
movzx edx, byte [edi + ebp + 4]
xor edx, ecx
mov byte [edi + ebp + 4], dl
inc edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
cmp ebx, edi
jle 0x5d8bb2
lea edx, [edi + 4]
movzx ecx, byte [edi + esi]
cmp edx, 0xc
jb 0x5d8b8c
jmp 0x5d8bcb
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x48
ret
mov eax, edx
mov ecx, 0xc
call sym.runtime.panicIndex
mov eax, esi
mov ecx, 0xc
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._xorNonceAEAD_.Seal
Function at 0x5d8bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d8d77
sub esp, 0x64
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
xor eax, eax
jmp 0x5d8c29
test byte [edx], al
movzx esi, byte [eax + edx + 4]
xor esi, edi
xchg esi, ebx
mov byte [eax + edx + 4], bl
xchg esi, ebx
inc eax
cmp ebp, eax
jle 0x5d8c3e
lea esi, [eax + 4]
movzx edi, byte [ebx + eax]
cmp esi, 0xc
jb 0x5d8c17
jmp 0x5d8d6a
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], 0xc
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
jmp 0x5d8d18
movzx ecx, byte [ebp + edi + 4]
xor ecx, edx
mov byte [ebp + edi + 4], cl
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
cmp esi, ebp
jle 0x5d8d33
lea ecx, [ebp + 4]
mov ebx, dword [esp + 0x78]
movzx edx, byte [ebp + ebx]
cmp ecx, 0xc
jb 0x5d8cf6
jmp 0x5d8d5e
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xac], eax
add esp, 0x64
ret
mov eax, ecx
mov ecx, 0xc
call sym.runtime.panicIndex
mov eax, esi
mov ecx, 0xc
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._xorNonceAEAD_.Open
Function at 0x5da9f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5daad2
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5daa41
mov edx, dword [esp + 0x18]
movzx ebx, byte [ecx + edx - 1]
movzx ebp, bl
mov esi, ebp
sub ebp, ecx
cmp ecx, 0x100
jge 0x5daa2b
mov eax, ecx
jmp 0x5daa32
mov eax, ecx
mov ecx, 0x100
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
sar ebp, 0x1f
xor edi, edi
jmp 0x5daa84
mov dword [esp + 0x24], 0
mov byte [esp + 0x28], 0
add esp, 0x14
ret
xchg esi, ebx
not ebx
xchg esi, ebx
sar esi, 0x1f
movzx eax, byte [eax + edx - 1]
mov ecx, esi
and esi, ebx
and eax, ecx
xor esi, eax
xchg esi, ebx
not ebx
xchg esi, ebx
inc edi
movzx eax, byte [esp + 0xb]
and eax, esi
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x1c]
cmp ecx, edi
jle 0x5daa9f
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
sub eax, edi
lea ecx, [eax - 1]
sub esi, edi
mov ebp, dword [esp + 0x1c]
cmp ebp, ecx
ja 0x5daa52
jmp 0x5daac8
mov eax, ebp
shl ebp, 4
and eax, ebp
mov ecx, eax
shl eax, 2
and eax, ecx
mov ecx, eax
shl eax, 1
and eax, ecx
sar al, 7
and ebx, eax
movzx ecx, bl
inc ecx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x28], al
add esp, 0x14
ret
mov eax, ecx
mov ecx, ebp
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.extractPadding
Function at 0x5e3220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e33f9
sub esp, 0x6c
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00471ce7
lea edi, [esp + 8]
call fcn.00471ce7
mov ecx, dword [esp + 0x70]
test byte [ecx], al
lea edx, [ecx + 0x14]
mov dword [esp], edx
call sym.sync_atomic.LoadUint32
mov ecx, dword [esp + 4]
test ecx, ecx
setne cl
mov byte [esp + 0xa], cl
mov ecx, dword [esp + 0x70]
movzx edx, word [ecx + 0x28]
mov word [esp + 8], dx
mov edx, dword [ecx + 0xcc]
mov ebx, dword [ecx + 0xd0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
movzx edx, byte [ecx + 0x35]
mov byte [esp + 0xb], dl
movzx edx, byte [ecx + 0x36]
mov byte [esp + 0x68], dl
movzx edx, word [ecx + 0x3a]
mov word [esp + 0x6a], dx
mov byte [esp + 0x18], 1
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
movzx edx, word [ecx + 0x38]
mov word [esp + 0xc], dx
mov edx, dword [ecx + 0x54]
mov ebx, dword [ecx + 0x58]
mov ebp, dword [ecx + 0x5c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edx, dword [ecx + 0x6c]
mov ebx, dword [ecx + 0x70]
mov ebp, dword [ecx + 0x74]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov edx, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x40]
mov ebp, dword [ecx + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
movzx edx, byte [ecx + 0x35]
test dl, dl
je 0x5e3323
movzx eax, byte [ecx + 0x34]
test al, al
je 0x5e336c
cmp word [ecx + 0x28], 0x304
je 0x5e336c
movzx eax, byte [ecx + 0xa4]
test al, al
je 0x5e3352
lea eax, [ecx + 0xb1]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
jmp 0x5e336c
lea eax, [ecx + 0xbd]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x5e3385
lea eax, [0x6f094c]
mov dword [esp + 0x64], eax
jmp 0x5e33dd
cmp word [ecx + 0x28], 0x304
je 0x5e33d3
movzx eax, byte [ecx + 0x34]
test al, al
jne 0x5e33d3
lea eax, [0x69f880]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls._Conn_.connectionStateLocked.func1]
mov dword [eax], ecx
mov ecx, dword [0x8ef900]
test ecx, ecx
jne 0x5e33bf
mov ecx, dword [esp + 0x70]
jmp 0x5e33ca
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x64], eax
jmp 0x5e33dd
mov eax, dword [ecx + 0x84]
mov dword [esp + 0x64], eax
movzx eax, byte [ecx + 0x94]
mov byte [esp + 0x60], al
lea edi, [esp + 0x74]
lea esi, [esp + 8]
call fcn.00472116
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.connectionStateLocked
Function at 0x608970
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x608a75
sub esp, 0x84
nop
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00471ce8
nop
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
jmp 0x608a25
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
lea ebp, [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_sha1._digest_.Write
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
jg 0x6089eb
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.crypto_sha1._digest_.Sum
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x84
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.sha1Hash
Function at 0x608a80
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x608cb8
sub esp, 0xfc
lea eax, [0x6954a0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0x24
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf8], eax
nop
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00471ce9
nop
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0x100]
mov ecx, eax
mov edx, dword [esp + 0x104]
jmp 0x608b82
mov dword [esp + 0x90], edx
mov dword [esp + 0xf4], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_md5._digest_.Write
mov eax, dword [esp + 0xf4]
add eax, 0xc
mov ecx, dword [esp + 0x90]
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x100]
test edx, edx
jg 0x608b36
lea edi, [esp + 0x34]
lea esi, [esp + 0x94]
call fcn.0047212a
lea eax, [esp + 0x34]
mov dword [esp], eax
call sym.crypto_md5._digest_.checkSum
lea edi, [esp + 0x20]
lea esi, [esp + 4]
call fcn.004721e8
mov dword [esp], 0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
lea eax, [0x6954a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
mov eax, dword [esp + 0x30]
cmp eax, 0x24
jl 0x608c16
mov eax, 0x24
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
cmp ecx, edx
je 0x608c38
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call sym.crypto_tls.sha1Hash
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jl 0x608c6b
mov eax, 0x14
mov ecx, dword [esp + 0xf8]
lea edx, [ecx + 0x10]
mov ebx, dword [esp + 0xc]
cmp ebx, edx
je 0x608c94
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], 0x24
mov dword [esp + 0x114], 0x24
add esp, 0xfc
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.md5SHA1Hash
Function at 0x60cd40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x60cee8
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x60cd6c
movzx ecx, byte [esp + 0x80]
jmp 0x60cd79
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x60cdb1
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x60cecf
cmp cl, 0xe4
je 0x60cd90
cmp ax, 0x303
jmp 0x60cdb5
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x60ce43
cmp cl, 0xe3
jne 0x60ce0d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0047218e
call sym.crypto_tls.finishedHash.Sum
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x695420]
mov dword [esp], eax
lea eax, [0x741d00]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.finishedHash.hashForClientCertificate
Function at 0x613ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x613ecc
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov ebx, 1
jmp 0x613d1d
mov ebp, dword [esp + 0x5c]
lea ecx, [ebp + 1]
cmp dl, 0x2d
sete bl
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x613ec0
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x18], bl
movzx ebp, byte [edx + ecx]
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
lea esi, [ebp - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov byte [esp + 0x1b], cl
mov eax, 1
shr eax, cl
lea edi, [ebp - 0x60]
mov ecx, edi
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x64], ebx
neg ecx
mov byte [esp + 0x1a], cl
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x60], ebx
add ebp, 0xffffffc0
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and edx, esi
movzx esi, byte [esp + 0x1b]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and eax, esi
or eax, edx
and eax, 0x3ff6cfa
cmp cl, 0x20
sbb edx, edx
and edx, ebx
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
mov ebp, dword [esp + 0x64]
and ebp, ebx
movzx ebx, byte [esp + 0x1a]
cmp bl, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x60]
and esi, ebx
or ebp, esi
and ebp, 0x57ffffff
or ebp, eax
test ebp, ebp
setne al
test edx, 0xc7fffffe
setne dl
or eax, edx
test al, al
je 0x613eac
movzx eax, byte [esp + 0x18]
test al, al
je 0x613e01
movzx edx, byte [esp + 0x19]
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x613e14
test al, al
jne 0x613d08
jmp 0x613e06
movzx edx, byte [esp + 0x19]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x613d08
jmp 0x613e60
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.net_textproto.CanonicalMIMEHeaderKey
Function at 0x61c930
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61c9ad
sub esp, 8
lea eax, [0x699400]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
xor ecx, ecx
jmp 0x61c95f
mov dword [eax + edx*4], ecx
lea ecx, [edx + 1]
cmp ecx, 0x100
jge 0x61c96d
mov edx, ecx
xor ebx, ebx
jmp 0x61c992
mov ecx, dword [0x8ef900]
test ecx, ecx
je 0x61c987
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [0x8cf480]
mov dword [edi + 4], ecx
mov dword [0x8cf480], eax
add esp, 8
ret
inc ebx
cmp ebx, 8
jge 0x61c959
test ecx, 1
je 0x61c9a9
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x61c991
shr ecx, 1
jmp 0x61c991
call sym.runtime.morestack_noctxt
jmp sym.hash_crc32.init
Function at 0x424065
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1b]
mov byte [ebp - 0x1c], bl
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call fcn.00413952
lea edi, str.OCAPYKOMPHUJFXVJ
sub edi, 0x400000
mov dword [ebp - 8], edi
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00417848
add esp, 0x10
mov edi, eax
push ebx
push 0x20
push 3
push ebx
push 2
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
mov esi, eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x1c]
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x400000
mov esi, edi
add edi, 0x3c
mov edi, dword [edi]
add edi, esi
add edi, 0x58
sub edi, esi
mov dword [ebp - 0xc], edi
push ebx
push 0x20
push 3
push ebx
push 2
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
push dword [ebp - 0xc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x1c]
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x58d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x58d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x5b6074
push ecx
mov edi, eax
call fcn.005a1198
mov esi, eax
add esp, 8
test esi, esi
jne 0x58d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005a102e
push esi
call fcn.005a0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x590850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x5908ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x5bb720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5908ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.005a11e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x5908ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x5bb720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x59092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.005a2082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x590957
mov word [eax], si
add eax, 2
push eax
call fcn.005a2030
add esp, 4
jmp 0x590959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5908ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5908b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x590ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret