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

Disassembly:
mov ecx, dword [0x5cdb40]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4bb68e
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x10]
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x94], ebx
mov ebp, dword [edx + 8]
mov dword [esp + 0x30], ebp
mov esi, dword [edx + 0xc]
mov dword [esp + 0x58], esi
mov edi, dword [edx + 0x10]
mov dword [esp + 0x3c], edi
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x34], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x4bb669
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.strings.ToLower
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
cmp ecx, 5
jl 0x4bb321
lea edx, [ecx - 5]
cmp ecx, edx
jb 0x4bb686
lea edx, [ecx + eax - 5]
mov dword [esp], edx
lea edx, [0x4daefd]
mov dword [esp + 4], edx
mov dword [esp + 8], 5
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x54]
jmp 0x4bb323
xor edx, edx
test dl, dl
je 0x4bb669
mov ecx, dword [esp + 0x98]
inc dword [ecx]
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00468e8a
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov dword [esp], edx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x4c7ce0]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x4c7ce0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
cvtsi2sd xmm0, ecx
mov ecx, dword [esp + 0x30]
cvtsi2sd xmm1, ecx
divsd xmm0, xmm1
movsd xmm1, qword [0x5019e4]
mulsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convT64
mov ecx, dword [esp + 8]
lea edx, [0x4c7e60]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [0x58f0ec]
lea edx, [0x501e74]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x4dc9de]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xf
lea ecx, [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call sym.fmt.Fprintf
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
call sym.path_filepath.Dir
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.path_filepath.Rel
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.os.Stat
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [0x58f230]
mov ebp, dword [0x58f234]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.os.underlyingErrorIs
movzx ecx, byte [esp + 0x10]
test cl, cl
je 0x4bb515
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1ff
call sym.os.MkdirAll
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [0x4daefd]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
lea eax, [0x4dadcd]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], 1
call sym.sync._WaitGroup_.Add
mov eax, dword [0x58f0e0]
mov dword [esp], eax
lea eax, [0x500f54]
mov dword [esp + 4], eax
call sym.runtime.chansend1
lea eax, [0x4cda80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.convertHeicToJpg.func1.gowrap1]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5cdbe8]
test ecx, ecx
jne 0x4bb632
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x94]
jmp 0x4bb651
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov edx, dword [esp + 0x48]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x94]
mov dword [edi + 8], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], ebx
mov dword [esp], eax
call sym.runtime.newproc
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x9c
ret
mov eax, edx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack
jmp sym.main.convertHeicToJpg.func1