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

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x461123
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x46110c
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x461078
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x72f350]
test eax, eax
jne 0x46105f
mov eax, dword [esp + 0x28]
jmp 0x46106d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4610af
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x72f350]
test eax, eax
jne 0x46109a
mov eax, dword [esp + 0x28]
jmp 0x4610a8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4610d5
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4610ed
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x14]
test eax, eax
je 0x461108
nop
lea ecx, [0x72f200]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xadd
add esp, 0x24
ret
lea eax, [0x5b76d3]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x464450
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x72f186], 0
je 0x46446a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x464470
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x72f186], 0
je 0x46448b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback
Function at 0x465380
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46539a
mov ecx, 0x14
jmp 0x4653a3
shl ecx, 2
add ecx, 0xe10
mov dword [0x72f2ac], ecx
ret
Function at 0x4947a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49498a
sub esp, 0x48
mov eax, dword [0x6bed74]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00464d0e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.00464d0e
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x494877
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x494891
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x494908
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4948de
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x4948da
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x4948d3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4948e0
mov ebx, 0x1d
jmp 0x4948fe
mov ebp, eax
jmp 0x4948e0
mov ebp, eax
cmp ebp, 0xd
jae 0x49497d
lea eax, [ebp - 1]
lea edx, [0x6a6080]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x494973
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x494908
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x49493a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x494942
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x4a6060
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a6101
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4a60f7
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4a60f7
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x4a60f7
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x4a60f7
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x4a60f7
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x4a60f7
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x4a60f7
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x4a60f7
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x4a60f7
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x4a60f7
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x4a60f9
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x4ead40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4eaf57
sub esp, 0x74
lea edi, [esp + 0x48]
lea esi, [esp + 0x80]
call fcn.00464cdc
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4ead7e
mov dword [esi], eax
mov esi, dword [esp + 0x34]
lea eax, [esi + 1]
mov ecx, edx
mov edx, ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ecx
cmp eax, 5
jge 0x4eae3f
lea ebp, [esp + eax*8 + 0x48]
mov esi, dword [ebp]
test esi, esi
je 0x4eae3f
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
lea ecx, [ebx + 1]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
cmp edx, ebx
jb 0x4eadce
mov ebp, dword [esp + 0x3c]
jmp 0x4eae16
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x57c100]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, edx
mov edx, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov ecx, dword [0x72f350]
lea esi, [ebp + ebx*8 - 8]
test ecx, ecx
je 0x4ead71
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [esi]
mov dword [edi + 4], ecx
jmp 0x4ead71
mov dword [esp + 0x28], ebx
movzx eax, word [esp + 0x78]
cmp ax, 0x1d3
jae 0x4eae61
movzx ebp, ax
lea esi, [0x6c8e60]
lea ebp, [esi + ebp*8]
mov esi, dword [ebp + 4]
test esi, esi
jne 0x4eaed2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
movzx eax, ax
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x57c340]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x5a197f]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
jmp 0x4eaed5
mov eax, dword [ebp]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea ecx, [0x59e45a]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call sym.strings.Join
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
lea edx, [0x5e4cc8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x74
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_vendor_golang.org_x_arch_arm64_arm64asm.Inst.String
Function at 0x538d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x538eba
sub esp, 0x38
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00464828
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jbe 0x538eb2
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx + edx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x538e3e
lea eax, [0x581140]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [eax + 4], 0x25
lea ecx, [0x5b7cab]
mov dword [eax], ecx
lea ecx, [0x5e5250]
cmp dword [0x6bf350], ecx
jne 0x538dc2
mov edx, dword [0x6bf354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x538dc2
lea ecx, [0x5e5250]
mov eax, dword [esp + 0x34]
jmp 0x538e1d
lea eax, [0x587320]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x4c]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x5e5250]
mov dword [eax + 8], ecx
mov ecx, dword [0x72f350]
test ecx, ecx
jne 0x538e09
mov ecx, dword [esp + 0x34]
jmp 0x538e14
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5e5598]
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x54]
mov edx, eax
xor eax, eax
call fcn.00464828
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x38
ret
xchg ebp, eax
movzx esi, al
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov edi, edx
lea edx, [0x5baffc]
movzx edx, byte [edx + ebp]
dec edx
nop
mov ebp, edi
lea edi, [esp + 0x14]
call fcn.00464828
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edi, [esp + 0x54]
lea esi, [esp + 0x14]
call fcn.00464cf0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x38
ret
mov eax, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.makeReverseBitReader
Function at 0x567cf0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x567d6b
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x567d61
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x567d61
movzx ecx, word [eax + 6]
cmp word [edx + 6], cx
jne 0x567d61
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
cmp dword [eax + 8], ecx
sete cl
cmp dword [eax + 0xc], ebx
sete bl
and ebx, ecx
test bl, bl
je 0x567d61
mov ecx, dword [eax + 0x14]
cmp dword [edx + 0x14], ecx
jne 0x567d61
mov edx, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x567d63
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.cmd_internal_objfile.goobjReloc
Function at 0x4017a0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x28
test ecx, ecx
jne 0x4017d0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
add esp, 0x28
pop ebx
ret
mov dword [esp], edx
call sym._fileno
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
add esp, 0x28
pop ebx
ret
Function at 0x407fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [edx + 8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
jmp dbg.dump_disassembly
Function at 0x40d270
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
push edi
and eax, 0xf
push esi
push ebx
mov ebp, edx
sub esp, 0xc
cmp al, 5
je 0x40d285
call sym._jvp_string_ptr.isra.6.part.7
mov edi, dword [ebp + 8]
test edi, 1
jne 0x40d320
mov ebx, edi
mov edx, 0x432a9843
shr ebx, 1
mov eax, ebx
sar eax, 2
mov ecx, eax
lea esi, [ebp + eax*4 + 0x10]
neg ecx
test eax, eax
je 0x40d2d1
nop
imul eax, dword [esi + ecx*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, edx
rol eax, 0xd
add ecx, 1
lea edx, [eax + eax*4 - 0x19ab949c]
jne 0x40d2b0
mov eax, ebx
and eax, 3
cmp eax, 2
je 0x40d330
cmp eax, 3
je 0x40d360
cmp eax, 1
je 0x40d353
mov eax, ebx
or edi, 1
xor eax, edx
mov dword [ebp + 8], edi
mov ebx, eax
shr ebx, 0x10
xor eax, ebx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
mov dword [ebp + 4], eax
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 4]
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
movzx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [esi]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
jmp 0x40d2e9
xor ecx, ecx
jmp 0x40d33b
movzx ecx, byte [esi + 2]
shl ecx, 0x10
jmp 0x40d332

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp], ebx
call sym._jvp_object_get_slot.isra.17
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
movzx eax, byte [eax + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov edi, eax
and edi, 0xf
mov edx, edi
cmp dl, 5
jne 0x40e2c0
mov byte [esp + 0x30], al
mov edi, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x40], edi
add dword [ebx], 1
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x40]
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xc], eax
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x4cf
mov dword [esp + 4], 0x475f30
mov dword [esp], str.jv_get_kind_s___JV_KIND_STRING
mov byte [esp + 0x1f], al
call dbg._assert
movzx eax, byte [esp + 0x1f]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x30], al
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
lea edx, [edi - 6]
cmp dl, 1
jbe 0x40e291
mov ecx, edi
test cl, cl
jne 0x40e294
test ebx, ebx
jne 0x40e291
jmp 0x40e294
Function at 0x410750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x19], al
mov eax, edx
and eax, 0xf
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
cmp al, 7
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1a], dl
je 0x4107d7
mov dword [esp + 8], 0x44f
mov dword [esp + 4], 0x475f30
mov dword [esp], str.jv_get_kind_object___JV_KIND_OBJECT
call dbg._assert
movzx eax, byte [esp + 0x19]
and eax, 0xf
cmp al, 5
je 0x4107ff
mov dword [esp + 8], 0x450
mov dword [esp + 4], 0x475f30
mov dword [esp], str.jv_get_kind_key___JV_KIND_STRING
call dbg._assert
movzx eax, byte [esp + 0x19]
mov dword [esp + 4], esi
mov ecx, edi
mov edx, ebp
mov byte [esp], al
movzx eax, byte [esp + 0x1a]
call sym._jvp_object_read.isra.22
test eax, eax
je 0x4108f5
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1b], al
and eax, 0xf
lea ecx, [eax - 5]
cmp cl, 2
ja 0x4108e0
add dword [edx], 1
mov eax, dword [esp + 0x40]
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0x1a]
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call dbg.jv_free
movzx eax, byte [esp + 0x19]
mov dword [esp + 8], esi
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call dbg.jv_free
movzx eax, byte [esp + 0x1b]
mov byte [ebx], al
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test al, al
jne 0x410859
test edx, edx
jne 0x410856
jmp 0x410859
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x1b], 0
jmp 0x410874
Function at 0x41f0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
test ebx, ebx
jne 0x41f213
test eax, eax
mov edi, ecx
je 0x41f1f3
cmp edx, 0xffffffff
jne 0x41f122
mov dword [esp], esi
call sym._strlen
mov edx, eax
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call ecx
lea ebx, [eax + 1]
sub esp, 0x18
mov dword [esp + 4], 2
mov dword [esp], ebx
call dbg.jv_mem_calloc
test eax, eax
mov ebp, eax
je 0x41f20b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
mov dword [esp], 0xfde9
call ecx
sub esp, 0x18
mov ebx, eax
xor eax, eax
mov word [ebp + ebx*2], ax
mov dword [esp], edi
call sym._fileno
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
sub esp, 0x14
mov dword [esp + 0x60], ebp
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp sym._free
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._fwrite
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
lea eax, [esp + 0x30]
mov edx, dword [ebx]
mov dword [esp + 4], edx
mov edx, dword [ebx + 4]
mov dword [esp + 8], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0xc]
mov dword [esp], eax
mov dword [esp + 0x10], edx
call dbg.jv_string_append_buf
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret